cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sammathew
Level 4

Uninstall through Control Panel

Hi All,

I am using InstallShield 2008 and its a pure InstallScript project.During

Uninstalling the product through CONTROL PANEL " OnMaintUIBefore() " is

called, but I want " OnUninstall() " to be called during the Uninstallation.

Can any one help me and allso provide me some code so that it would be

helpfull for me.

My Advance Thanks !
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

Perhaps hide the Change button with ADDREMOVE_HIDE_CHANGE_OPTION? Or perhaps add -uninst to UNINSTALL_STRING?
0 Kudos
sammathew
Level 4

HI RobertDickau,

Thanks for your reply.

I tried using "-Uninst" its work fine when I uninstall through the StartMenu

but when I Uninstall through the Control Panel still the "OnMaintUIBefore" is

been called.It would be great if you could help me.

My Advance Thanks!
0 Kudos
sammathew
Level 4

HI RobertDickau,

Thanks for your reply.

I tried using "-uninst" to UNINSTALL_STRING its work fine when I uninstall

through the StartMenu but when I Uninstall through the CONTROL PANEL still

the "OnMaintUIBefore()" is been called.It would be great if you could help me.

My Advance Thanks!
0 Kudos