[Incident]: Some users report they are unable to access the case portal. Please see this community notice for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
brianthegood
Level 6

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?
Labels (1)
0 Kudos
3 Replies
CRCInfoSys
Level 4

I'm having this same issue. Have you been able to figure out a solution?
0 Kudos
brianthegood
Level 6

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
0 Kudos
morrischou
Level 3

The message comes from
nResult = MessageBox( SdLoadString( IFX_MAINTUI_MSG ), MB_YESNO )
in the OnMaintUIBefore


🙂
MOrris
0 Kudos