Hello Mateusz,
I am not quite sure I fully understand your scenario here.
However, if what you want to achieve here is to detect whether the uninstlal is done from Control Panel, here is how you can proceed:
- go to
"Product Details" page
- check the
"Override Windows Instlaler programs list entry" option
- go to
"Table Editor" page
-
"Registry" table
- modify the
"UninstallString" so that you set a property when the Uninstall String is used, e.g.:
Code: Select all
[AI_UNINSTALLER] /x [ProductCode] AI_UNINSTALLER_CTP=1 UNINSTALL_CP="true"
You can then use
"UNINSTLAL_CP" property to detect whether the uninstall was done from Control Panel.
Hope this helps!
Best regards,
Catalin