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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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?
Answered 08/20/2007 by: yarborg
Blue Belt

Please log in to comment
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.
Answered 08/20/2007 by: flyonthewall
Senior Yellow Belt

Please log in to comment
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
Answered 08/20/2007 by: michaelnowell
Second Degree Blue Belt

Please log in to comment
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.....
Answered 08/29/2007 by: Eswari
Orange Belt

Please log in to comment
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
Answered 08/29/2007 by: dunnpy
Red Belt

Please log in to comment
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
Answered 09/11/2011 by: abhishek10abhi
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity