PDA

View Full Version : Detect entry ala add/remove vs. setup.exe



dgbach
10-30-2003, 04:27 PM
Does anyone know how to detect if the uninstall has been entered as a result of running the remove from Add/Remove programs vs. rerunning the install? That is, not visually, but by checking a property or calling some MSI/IS function?

I already have the do not call OnUIMaintBegin from Add/Remove turned on and that works fine. But, I'd like to call it then decide which message to display.

(standard project)

Thanks
-db