/build/static/layout/Breadcrumb_cap_w.png

msiexec uninstall

I'm trying to setup a msiexe uninstall command that will uninstall software so I do not have to use the Control Panel. I've tried the following: MsiExec.exe /x {885744A4-1A01-44B0-858A-0AE6738CBCF7}, but this only uninstalls from the registry and leaves the Program in Control Panel. For example if I wanted to uninstall PrimoPDF silent, what would be the correct command to uninstall as if I were using Control Panel Add/Remove Software? I've tried to setup also as
msiexec/x {Package | ProductCode}, but not sure what they mean by Package name, or ProductCode.
Any suggestions would be great, Thank you.

OK...the Package is the name of the Windows Installer package file and Product code is GUD of the Windows Installer Package. What the Programs I want do not have a Package?

0 Comments   [ + ] Show comments

Answers (6)

Posted by: yarborg 16 years ago
Blue Belt
0
What is the uninstall string in the registry for PrimoPDF? HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall? Under one of the GUIDS listed there you should see one that correlates to the PrimoPDF. Are they passing any unusual commands?
Posted by: flyonthewall 16 years ago
Senior Yellow Belt
0
Thank you for the reply.
Under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall I have the UninstallString of MsiExec.exe /I{885744A4-1A01-44B0-858A-0AE6738CBCF7}.

I change this to the following:
msiexec /x vccrt.msi | {885744A4-1A01-44B0-858A-0AE6738CBCF7} /l*v C:\pdfuninstall.log

I can easily put in msiexec.exe /x{885744A4-1A01-44B0-858A-0AE6738CBCF7}, but then when I go to the Control Panel, PrimoPDF is still there which is bad for me.

Getting closer, but still no luck.
I appreciate the effort.
Posted by: michaelnowell 16 years ago
Second Degree Blue Belt
0
I've come across a similar situation to this before and I can't remember what the exact solution was. I do know that it was because an action was not present in either the Execute Immediate or Execute Deferred sequences.

If you have packaged this software yourself or applied a transform to the installation, then look through these sequences and check to see if anything is remarked out. Otherwise, if this is already installed in your environment then I'm guessing that you may have to remove the registry keys that correspond to the item appearing in the add/remove programs
Posted by: Eswari 16 years ago
Orange Belt
0
One more try ,if not solved.

U can restart and check or some times it might setting some property which makes the control panel entry not to go.I dont have an idea which property it is...do a check of the log file on uninstall for the property to check.May be it is ARPSYSTEMCOMPONENT.....
Posted by: dunnpy 16 years ago
Red Belt
0
flyonthewall,

Just a thought, but is there a .CPL file being left on the system (c:\windows\system32) as a residual file after the uninstall?

This could be the cause of the icon remaining in the Control Panel.

Thanks,

Dunnpy
Posted by: abhishek10abhi 12 years ago
Senior Yellow Belt
0
Hi,
I'm trying to uninstall Geomagic 12 using below command
START /WAIT "" MSIEXEC.EXE /X {9D3610DE-93DA-4FF8-9444-A19D9D6EAA4D} REBOOT=ReallySuppress /qn
but still one window comes with message
"they want to erase all data and configuration directories" with buttons YES & NO
I want to uninstall it silently.

Please Advice.
Thanks,
Abhishek
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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