Hi
We know there are two ways to uninstall:
1. From Add/Remove control panel
2. Clicking the setup.exe (the main exe file to setup)
I need to differentiate these two situations. I need to place different logic depending on these two ways. That is, while the product is installed, if some one tries to uninstall it clicking the SETUP.EXE, i need to place a logic. On the other hand, if some one tries to uninstall the product from the ADD/REMOVE control panel, I need to place another logic.
My question is how can i get two different event handler? Please help me, if any one knows.
It should be worked for installscript, installscript-msi, basic-msi -each one. I'm using IS12 as well as IS2008.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Different Uninstallation Handle
Started by
rajib
, Jan 02 2008 05:24
2 replies to this topic
Posted 03 January 2008 - 18:57
A quick search for "detect add/remove programs" over at support.installshield.com results in a couple of articles, for example:
CODE: Allowing a Setup To Detect If It Is Being Run from Add/Remove Programs
HOWTO: Detecting If a MSI Setup Is Running from the Add/Remove Programs
INFO: Detecting If a Setup Is Launched from Add/Remove Programs
CODE: Allowing a Setup To Detect If It Is Being Run from Add/Remove Programs
HOWTO: Detecting If a MSI Setup Is Running from the Add/Remove Programs
INFO: Detecting If a Setup Is Launched from Add/Remove Programs
Stefan Krüger
InstallSite.org twitter facebook
Posted 13 January 2008 - 05:40
Hi Stefan,
Thanks for your reply. Now I have some idea, let me try the logic. I will let the forum know how far this idea helps me. Thanks again.