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
- :
- Immediate Execution Custom Action question
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
Apr 29, 2008
10:49 PM
Immediate Execution Custom Action question
All,
I have just upgraded my InstallShield 10.5 Basic MSI package to InstallShield 2008 and have found problem running the install package on Windows Vista.
Towards the end of the InstallUISequence I have an immediate execution custom action that calls several nested MSI packages. The reason I use this method is:
1. I cannot call the nested MSIs using my existing InstallShield Script code from the InstallExecuteSequence due the fact that only one MSI execute sequence can be running at an one time
2. The MSI nested install custom action is not right for my package as the nested MSIs still need to exist on the system as separate packages in their own right
Now, when I run my InstallShield 10.5 Basic MSI package on Windows Vista the nested MSIs install fine. However with the InstallShield 2008 package they fail and the errors in the nested MSIs state they need administrator privlidges. I assume that this is due to the change from IS 10.5 to IS 2008 that all custom actions run with their own instance of the IS Script engine and that on windows vista these instances are running in the user context and not in the system or administrator context.
Therefore does anybody know how to make the Immediate Execution custom actions run in the system or administrator context or another way of solving this issue?
Thanks
Simon
I have just upgraded my InstallShield 10.5 Basic MSI package to InstallShield 2008 and have found problem running the install package on Windows Vista.
Towards the end of the InstallUISequence I have an immediate execution custom action that calls several nested MSI packages. The reason I use this method is:
1. I cannot call the nested MSIs using my existing InstallShield Script code from the InstallExecuteSequence due the fact that only one MSI execute sequence can be running at an one time
2. The MSI nested install custom action is not right for my package as the nested MSIs still need to exist on the system as separate packages in their own right
Now, when I run my InstallShield 10.5 Basic MSI package on Windows Vista the nested MSIs install fine. However with the InstallShield 2008 package they fail and the errors in the nested MSIs state they need administrator privlidges. I assume that this is due to the change from IS 10.5 to IS 2008 that all custom actions run with their own instance of the IS Script engine and that on windows vista these instances are running in the user context and not in the system or administrator context.
Therefore does anybody know how to make the Immediate Execution custom actions run in the system or administrator context or another way of solving this issue?
Thanks
Simon
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 30, 2008
09:38 AM
It would probably be best to refactor these MSIs into prerequisites, but you might also look into setting the release option "Required Execution Level" to Administrator.