Scripting Question

Unable to uninstall msi from Add or remove programs.

07/20/2016 2440 views
Getting below error if we try to  uninstall the msi from Add/REmove programs
But it is getting uninstalled if we try with msiexec /x switch.
Any suggestions on how to resolve this issue.
1 Comment   [ + ] Show comment


  • The UninstallString is
    msiexec /i{our msi productcode}

    This is working fine we run the same command through cmd prompt.

    Eventhough it is for msi installation, it will show screen contain "Repair,Remove and modify"....

Community Chosen Answer

Find out what the ARP uninstall command is first - that should give you some indication of what's going on.

Check 'HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall' or the equivalent Wow6432Node and find your MSI GUID or name there.
Searching for the display name in ARP will probably help you here.

Once you have it, check out the 'UninstallString' entry - this is what ARP is running during an ARP initiated uninstall.

It sounds like a log file has been specified on the commandline, but the path for it doesn't exist.


Answered 07/20/2016 by: dunnpy
Red Belt

All Answers

I believe what duppy mentioned would be the right option to troubleshoot..kindly check once and let us know.
Answered 07/20/2016 by: apptopack
Red Belt

Check the registry for product GUID beneath (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windwos\CurrentVersion\Uninstall) where sub-value UninstallString and InstallSource should be located where you can determine if the original installation source is available eg may exist under a GUID folder in local folder 'C:\Package Data\Package Cache' folder. 

Could also run WMIC DOS command to query the local machine and output installed proucts again checking the PackageCache and InstallSource values:
C:\>wmic /namespace:\\root\cimv2 path Win32_Product get /all >wmic_product.csv & notepad "wmic_product.csv"
Answered 07/23/2016 by: Phevor
Senior Yellow Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


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