/build/static/layout/Breadcrumb_cap_w.png
08/02/2017 825 views
Hi All,

I'm trying to uninstall a MSI silently and once uninstallation is complete, it automatically launches internet explorer window. I would like to know if we can suppress IE window from opening. I'm using below command-line:

 MSIEXEC.EXE /x <PRODUCT CODE> /qn /norestart
Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

0
It will no doubt be a custom action that runs towards the end of the InstallExecuteSequence on removal.  So open your MSI in Orca, go to the InstallExecuteSequence table, sort it by the Sequence column (ascending), scroll to the bottom of the table and look for any custom actions that run during removal (the Condition column may be REMOVE~="ALL" or similar).  If it's named something obvious (like 'LaunchIE') you can amend the condition for that row to be something that will never equate to true, such as 1=0.  Don't amend the MSI directly though - generate an MST.
Answered 08/02/2017 by: captain_planet
Black Belt

  • Thanks captain_planet...this is exactly I'm trying to find but for every custom action which has condition REMOVE<>"ALL" are named as 'ErrorPointxx'...so its being very difficult to identify exact custom action. Also there are no comments for those custom actions.
    • Yeah, they're a bit fiddly to identify really. You could check the CustomAction table to see if any logic sticks out like a sore thumb. If not it can be a little bit of trial and error really.....hopefully there aren't too many custom actions to condition out!
      • Finally....found the needle in haystack ;) Thanks for your inputs.

All Answers

2
found the needle in haystack
So why not help the community by posting the details in the Software Library? 
Answered 08/03/2017 by: VBScab
Red Belt