PDA

View Full Version : How to stop maintenance UI coming up when setup is clicked for the second time.



cd_sagar
04-30-2004, 01:09 AM
Hi,

Can anybody tell me how to stop maintenance UI coming up when setup is clicked for the second time.

My requirement is something like this,

I should allow user to install the setup n number of times. so I do not want to show him the maintenance UI which is a feature of 7.0. It should always start from the welcome dialog.

When the user tries to uninstall from control pannel. It should bring up uninstall dialog.

Is there anyway to know in OnMainUIBefore whether it has initiating has occured from from setup or control pannel?

Please help.

Thanks,
Daya

wernerf
04-30-2004, 09:52 AM
Go to "General Information" and set "Enable Maintenance" to "No". This will change the behaviour of the setup program, now when clicking on "remove/change" within ARP (Add/Remove programs) it will go into uninstall mode immediately. See "Developer Help" for more details. I did not yet use this setting, so I can't say whether it works.

HTH