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
- :
- Re: Custom Actions Order
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
Mar 25, 2008
07:57 AM
Custom Actions Order
Hello,
I created a VB Script custom action and added it to the execution sequence right after the Install Files standard action.
The reason is that I want to register some DLL file using regsvcs.exe.
This never happened.
When I debugged the sequence, I saw that right after InstallInitialize it jumped directly to ISComponentServiceCosting and afterwards directly to my custom action and then to the InstallFinalize action!
Only then, it resumed ProcessComponents, UnpublishComponents, etc. until it reached Install files action.
Why???
What do I have to do in order to activate my custom action only after the Install files standard action?
I use DEV Studio 9, Basic MSI Project. I know it is not the right forum but there is no such a forum... 😄
Thanks, Dushkin.
I created a VB Script custom action and added it to the execution sequence right after the Install Files standard action.
The reason is that I want to register some DLL file using regsvcs.exe.
This never happened.
When I debugged the sequence, I saw that right after InstallInitialize it jumped directly to ISComponentServiceCosting and afterwards directly to my custom action and then to the InstallFinalize action!
Only then, it resumed ProcessComponents, UnpublishComponents, etc. until it reached Install files action.
Why???
What do I have to do in order to activate my custom action only after the Install files standard action?
I use DEV Studio 9, Basic MSI Project. I know it is not the right forum but there is no such a forum... 😄
Thanks, Dushkin.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 25, 2008
06:25 PM
If you want actions to run after system changes have taken place (files installed, and that sort of thing), you'll want the action to be scheduled for "deferred execution".
(I believe the DevStudio 9 MSI forum is here.)
(I believe the DevStudio 9 MSI forum is here.)