This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Upgrade: execute action before RemoveExistingProducts
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2010
12:21 PM
Upgrade: execute action before RemoveExistingProducts
I am developping a msi which has to upgrade from version 1.1 to 2.0. But I need to do some actions reinstalling the old version - modify some registry keys in HKEY_LOCAL_MACHINE and unregister some DLLs. I am putting an immediate action, which does these routines.
If I run the installer with a non-admin user, the Immediate action cannot modify registry keys or unregister DLLs. Only actions in system context can do that.
Immediate actions in system context are not supported.
I have to puct the actions in that order:
.....
InstallInitialize
MyCustomAction
RemoveExistingProducts
......
MyCustomAction is the action, which does these system routines. But it's not allowed to put system context action before RemoveExistingProducts
I have to
If I run the installer with a non-admin user, the Immediate action cannot modify registry keys or unregister DLLs. Only actions in system context can do that.
Immediate actions in system context are not supported.
I have to puct the actions in that order:
.....
InstallInitialize
MyCustomAction
RemoveExistingProducts
......
MyCustomAction is the action, which does these system routines. But it's not allowed to put system context action before RemoveExistingProducts
I have to
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2010
03:03 AM
I think that only Deferred Execution Custom Action can be set between InstallValidate and InstallFinalize.
Immediate Execution Custom Action must be set before InstallValidate or after InstallFinalize.
Immediate Execution Custom Action must be set before InstallValidate or after InstallFinalize.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 19, 2010
11:13 AM
^ Yes, I know that very well. But I want top put my custom action between InstallInitialize and RemoveExistingProducts.
Also I need to enable my custom action to have system privilegies.
Thanks in advance
Also I need to enable my custom action to have system privilegies.
Thanks in advance