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: Silent uninstall of a running app fails
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jul 02, 2008
05:18 PM
Silent uninstall of a running app fails
I have an application that is installed in either the silent or full interface modes. When I uninstall in full interface I can stop the app with a Custom Action, but when I try to do a silent uninstall the uninstall fails. It appears that it does not even get started beyond writing about 15 lines to a verbose log file. (There is something about no mutex started.) Am I just stopped from doing a full silent install and doing some sort of partial user interface, or do I needed to run my Kill program before the silent uninstall in a batch file?:D
(1) Reply
Jul 03, 2008
11:39 AM
jepwga wrote:
I have an application that is installed in either the silent or full interface modes. When I uninstall in full interface I can stop the app with a Custom Action, but when I try to do a silent uninstall the uninstall fails. It appears that it does not even get started beyond writing about 15 lines to a verbose log file. (There is something about no mutex started.) Am I just stopped from doing a full silent install and doing some sort of partial user interface, or do I needed to run my Kill program before the silent uninstall in a batch file?:D
Well if you install the application in the silent mode the "Install Execute Sequence" will be called and therefore the Custom Action which stops the Application shoud also inserted there with the correct condition to ensure, that the App(Process) will be stopped before you uninstall the program
(see example attached)
if this dosen't work you have to create a Custom Action which calls the kill app utility to kill the process before uninstalling the whole program