Per-user installation for Wise captured installation causes file reinstallation

S

Sam Cannell

Hi all,

I've been trying with little success to repackage Adobe Pagemaker 7 as an
MSI using SetupCapture in Wise Package Studio.

After installing the package that WPS generates, it will work for the user
the package was installed by, but when trying to run it as a different user
it installs the registry values under HKCU and then requests the original
MSI to reinstall files as well. From what I've been able to glean from the
event log and by watching filemon, the following is happening.

* User tries to start Pagemaker from the shortcut
* Msiexec sees that the keypath for the CurrentUser component is missing,
and reinstalls the missing registry keys.
* Msiexec continues on to reinstall the rest of Feature3 (Pm70.exe)
* Application starts

If I move the CurrentUser component into its own feature, it puts no
registry information at all into HKCU, as the shortcut is an advertised
shortcut for Feature3.

From searching on Google, I've found that msiexec only performs repairs at
the feature level, and will not reinstall individual components. I'm
assuming this is what I'm experiencing. Surely what I'm seeing above isn't
the intended behaviour?

If any of you could shed any light on this, it would be most appreciated. :)

Regards,

Sam
 
S

Stefan Krueger [MVP]

I wonder how the original installation handles this? I don't think it will
create the missing HKCU entries, so either the application can work without
them (create them on first run, which would be a clean solution), or they
should go to another place (HKLM instead of HKCU). In the latter case you
would have to correct your capture.

--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top