• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help with uninstall script - Windows 7

oynaz

Platinum Member
I need to write a script to uninstall one of our apps at a customer. I can uninstall it from Programs and Features (they use Windows 7), but I need to script it.

I do not know how to go about it. I tried using msiexec /x but I I dot not know what to tell it. I can use PowerShell as well, but I am unsure how. Google yield surprisingly little, or my Google-fu fails me.

I have an .installstate file, but I am unsure what to grab from it. A bit in the dark here, please help me, ATPF!
 
It is installed using an msi file correct?

Then you have the right command line, the parameter you need should be in the registry.

Open regedit and go to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Under this key find the product. Hopefully there is an UninstallString value in the key and you can just copy that command line. If not just pass the GUID in the key like msiexec /x {GUID}. I think you can add /qn to make it quietly uninstall with no user interface
 
Back
Top