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 Action not waiting for completion
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 28, 2009
11:53 AM
Custom Action not waiting for completion
I have a custom action that needs to call uninstaller.exe of an application before I install my installation. The application that will be uninstalled is not an msi package. The uninstall of the application can take a minute or two. I want my Custom Action wait for the uninstall to finish and then execute the next action. However, it is not waiting for the completion. Even after my application installation finishes, it takes another 5 or so secs for the uninstaller of the other application.
So how can I force my CA to wait? Thanks!
So how can I force my CA to wait? Thanks!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
02:33 PM
This article, http://kb.acresso.com/selfservice/viewContent.do?externalID=Q105105, is targeting to my problem, however, I cant find a Wait for Action property.
It is correct that my CA doesnt have a window.
I'd appreciate any pointers!
It is correct that my CA doesnt have a window.
I'd appreciate any pointers!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
02:42 PM
What can happen many times with these types of installers is that the bootstrap that you reference uninstaller.exe then calls something else to finish the uninstall, but MSI is only monitoring the process uninstaller.exe. This is demonstrated by point 3 in that article referenced. In this event you will likely need to write your own custom action that is in a loop and waits until a certain condition is met. Probably the best way would be to use something like process explorer to manually find out what process is really finishing the uninstall then monitor that process at run time of the install to completion in your C.A.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2009
04:58 PM
Hmm that's it.. There was another exe inherited from the exe that I executed. So after I execute that I now check if the inherited exe is finished in another Custom Action.
Thanks for the help!
Thanks for the help!
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)