PDA

View Full Version : Function that adds registry for Add/Remove programs



cd_sagar
06-22-2004, 09:57 AM
Hi,

I am trying to remove Maintenance mode. I am facing a problem, when its gone into maintenance mode, Its not writting the registry to add \ Remove program (Uninstall) registry.

The information in Install_[Product_Key].

Can some body tell me which is the function that adds all this information to registry under uninstallation?

Thanks.
Daya

huntant
06-22-2004, 03:31 PM
Are you just trying to turn the option off in Add/Remove Programs to prevent the user from running the install in maintenance mode? If so, then all you need to do is set the ARPNOMODIFY property.



Anthony

cd_sagar
06-22-2004, 11:23 PM
No !

While running installation setup for the first time after the event OnFirstUIAfter, installshield will call MaintenanceStart() internally to write the uninstallation key InstallShield_[Product_Key].

According to the documentation MaintenanceStart () gets called internally.

But in Maintenance mode, it (MaintenanceStart ) is not getting called and the uninstallation information is not getting created in the registry.

I tried calling this explicitly, but its not working.

~Daya