View Full Version : Question about OnUninstall and OnMaintUIBefore

03-09-2005, 05:08 AM
Hi, All,

I immigrate my project from InstallShield Develop V7.04 to InstallShield 10.5 Premier, and find a problem.

if (Enable Maintenance == Yes)
Reinstall --> OnMaintUIBefore
Change/Remove --> OnMaintUIBefore
Reintall --> OnUninstall
Change/Remove --> OnUninstall

Enable Maintenance means Setting the Enable Maintenance Mode.
Reinstall means install the setup package twice.
Change/Remove means click my installation in Add or Remove Programs to remove my program.

How can I make this into reality, which is when I Reinstall my program, the OnMaintUIBefore function will be called, and when I do Change/Remove, it will call OnUninstall.

I don't know what is the difference between 7.04 and 10.5, my old project in 7.04 is Okay, and the Enable Maintenance value is NO.