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
- :
- A need for silent uninstall
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
‎Nov 30, 2008
02:30 PM
A need for silent uninstall
Installscript project.
I'm trying to do a major upgrade.
I change the GUID and then do a search for the previous GUID and do an
UninstallApplication (see code below).
RegDBGetUninstCmdLine ( Old_GUID, svUninstCmdLine );
svUninstCmdLine = svUninstCmdLine + " /SMS /s";
nResult = UninstallApplication(Old_GUID,"",LAAW_OPTION_HIDDEN | LAAW_OPTION_SHOW_HOURGLASS | LAAW_OPTION_WAIT);
I want to do this silently but I get the dialogbox that asks
"Do you want to completely remove the selected application and all of its features?"
I checked and it is not coming from OnUninstall or OnMaintUIBefore.
How do I prevent this dialog from coming up?
I'm trying to do a major upgrade.
I change the GUID and then do a search for the previous GUID and do an
UninstallApplication (see code below).
RegDBGetUninstCmdLine ( Old_GUID, svUninstCmdLine );
svUninstCmdLine = svUninstCmdLine + " /SMS /s";
nResult = UninstallApplication(Old_GUID,"",LAAW_OPTION_HIDDEN | LAAW_OPTION_SHOW_HOURGLASS | LAAW_OPTION_WAIT);
I want to do this silently but I get the dialogbox that asks
"Do you want to completely remove the selected application and all of its features?"
I checked and it is not coming from OnUninstall or OnMaintUIBefore.
How do I prevent this dialog from coming up?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2009
09:58 AM
I'm having this same issue. Have you been able to figure out a solution?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2009
10:59 AM
I carpet bomb everything but I do it in code.
I delete the following:
- shortcuts
- directories that the code was installed in
- registry entries that I created for this installation
- registry entry that contains the inventory for the control panel add/remove
- specific Installshield folder for my GUID under Program Files\InstallShield Installation Information
Scorched earth policy brought to you by brianthegood
I delete the following:
- shortcuts
- directories that the code was installed in
- registry entries that I created for this installation
- registry entry that contains the inventory for the control panel add/remove
- specific Installshield folder for my GUID under Program Files\InstallShield Installation Information
Scorched earth policy brought to you by brianthegood
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 24, 2009
10:44 PM
The message comes from
nResult = MessageBox( SdLoadString( IFX_MAINTUI_MSG ), MB_YESNO )
in the OnMaintUIBefore
🙂
MOrris
nResult = MessageBox( SdLoadString( IFX_MAINTUI_MSG ), MB_YESNO )
in the OnMaintUIBefore
🙂
MOrris
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)