Scripting Question

MSI uninstallation launches Internet Explorer window

08/02/2017 1101 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


Answer Chosen by the Author

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

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

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ