Hi Mike
I notice no one has replied to your post did you get any joy as there seems to be very little information around on the web regarding uninstallation.
Thanks
C
Sorry there is not documented silent uninstall from setup.exe
To uinstall Only Autocad 2011 you can use the following command
msiexec /x {GUID} /qb
replace the GUID according to the uninstall string from the registry(this would change on Language and Architecture)
Yes it should work for ACAD 2010 also.
use /q instead of /qb for no progress window,
' This script will uninstall any Autodesk products installed by AutoDesk AutoCAD 2011
' A text file containing any msiexec code for Acad.msi is saved to the CCM\Temp folder
'Acad.msi = {5783F2D7-9001-0409-0002-0060B0CE6BBA}
'The Product Code above is applied with Acad.mst during setup
'faro_ls.msi = {951B0F30-9F1A-4BF6-B3DA-99EB0E917B1C}
'ProteinMaterials.msi = {9DEABCB6-B759-4D52-92F8-51B34A2B4D40}
'BaseImageLibrary.msi = {CD1E078C-A6B9-47DA-B035-6365C85C7832}
'AcadLP.msi = {5783F2D7-9001-0409-1002-0060B0CE6BBA}
'SetupDesignReview2011.msi = {8D20B4D7-3422-4099-9332-39F27E617A6F}
On Error Resume Next
Dim oFilesys, oFiletxt
Set oFilesys = CreateObject("Scripting.FileSystemObject")
Set WshShell = CreateObject("WScript.Shell")
sCmdLine = "msiexec /x {8D20B4D7-3422-4099-9332-39F27E617A6F} /qn"
WshShell.Run sCmdLine,1,True
sCmdLine = "msiexec /x {951B0F30-9F1A-4BF6-B3DA-99EB0E917B1C} /qn"
WshShell.Run sCmdLine,1,True
sCmdLine = "msiexec /x {9DEABCB6-B759-4D52-92F8-51B34A2B4D40} /qn"
WshShell.Run sCmdLine,1,True
sCmdLine = "msiexec /x {CD1E078C-A6B9-47DA-B035-6365C85C7832} /qn"
WshShell.Run sCmdLine,1,True
sCmdLine = "msiexec /x {5783F2D7-9001-0409-0002-0060B0CE6BBA} /qn"
RetVal = WshShell.Run(sCmdLine,1,True)
sCmdLine = "msiexec /x {5783F2D7-9001-0409-1002-0060B0CE6BBA} /qn"
WshShell.Run sCmdLine,1,True
If (RetVal = 0) Or (RetVal = 3010) Then
Set oFiletxt = oFilesys.OpenTextFile("c:\windows\system32\ccm\temp\autocad2011_uninstall.txt",8,True)
oFiletxt.WriteLine("Successful: " & RetVal)
oFiletxt.WriteLine(Date)
oFiletxt.WriteLine(Time)
oFiletxt.WriteLine("-------------")
oFiletxt.Close
MsgBox "AutoCAD 2011 Uninstalled.",0,"title"
Else
Set oFiletxt = oFilesys.OpenTextFile("c:\windows\system32\ccm\temp\autocad2011_uninstall.txt",8,True)
oFiletxt.WriteLine("Failure: " & RetVal)
oFiletxt.WriteLine(Date)
oFiletxt.WriteLine(Time)
oFiletxt.WriteLine("-------------")
oFiletxt.Close
MsgBox "AutoCAD 2011 uninstall completed with Error Code:" & RetVal,0,"title"
WScript.Quit(RetVal)
End If
Hi, the above script is very helpful, do you have a similar one for the install?
besides all the materials library and other prerequisites, the critical items are the main MSI and the language pack.
msiexec /i <path1>\acad.msi transforms=<path1>\acad-<deployment name>.mst
msiexec /i <path2>\acadlp.msi ?????
By analyzing the <deployment name>.INI file, I can see no evidence that setup.exe even runs the acadlp.msi. That section is not referenced at all, there is even a LPMODE=NO_ADD_LP entry which further confuses me. So at the moment I am not even scripting the acadlp.msi file. There is a LPMODE=MLD setting under [ACAD] but I don't know what that is for.
ACAD_LANGPACK is not referenced anywhere else in the INI.
[ACAD_LANGPACK]
PRODUCT_NAME=AutoCAD Language Pack
EXE_PATH=%lang%\acad\AcadLP.msi
Sadly, autodesk should be following best practices here but are not doing so. You should never have had to go to such lengths.
After installation of autodesk product , we will get the registry with uninstal string of autodesk silent parameter.
"""C:\Program Files\Autodesk\Inventor 2012\Setup\Setup.exe"" /q /P {7F4DD591-1664-0409-0000-7107D70F3DB4} /R INVENTOR /LANG en-US /Wait", 1, True
Example for Autocad inventor.
chaitu
Has anyone successfully remotely uninstalled Autocad 2011? I am using EMCO remote installer 4 and have not been able to get it to work with any parameter.
I have used
/x/q
msiexec /x {5783F2D7-9005-0409-0102-0060B0CE6BBA} /q
Setup.exe /x {5783F2D7-9005-0409-0102-0060B0CE6BBA}
Setup.exe /x {5783F2D7-9005-0409-0102-0060B0CE6BBA} /q
and many more combinations without success.
Also, does anyone have a recommendation for deploying Autocad 2014 via EMCO, AD, SCCM, etc????
Thanks
Do you have the right coding, your screen capture shows Mechanical but that is not mentioned in your post?
msiexec /x {B96F1390-23DD-4002-B183-EF0560D784E9} /qb! /Passive /l*v ACAD2011WSPlugIn_UI.log msiexec /x {42E572CC-6D4C-4A3E-B937-7594D36B2B44} /qb! /Passive /l*v ACAD2011SubAdvPack_UI.log msiexec /x {711883AE-ED83-4327-9DFA-053F969344CA} /qb! /Passive /l*v ACAD2011CivilOE_Uninstall.log msiexec /x {6EFD3469-9001-4A85-B52F-2B6C27E946BE} /qb! /Passive /l*v ACAD2011RasterDesignOE_UI.log msiexec /x {5783F2D7-9001-0409-0002-0060B0CE6BBA} /qb! /Passive /l*v ACAD2011_R18.1.208.0_UI.log msiexec /x {5783F2D7-9001-0409-1002-0060B0CE6BBA} /qb! /Passive /l*v ACAD2011LanguagePack_UI.log msiexec /x {CD1E078C-A6B9-47DA-B035-6365C85C7832} /qb! /Passive /l*v ACAD2011BaseImage_UI.log msiexec /x {9DEABCB6-B759-4D52-92F8-51B34A2B4D40} /qb! /Passive /l*v ACAD2011MaterialLibrary_UI.log msiexec /x {951B0F30-9F1A-4BF6-B3DA-99EB0E917B1C} /qb! /Passive /l*v FARO_LSSDK_UI.log
I suppose not. How would I uninstall it?
The GUID that I have is the 5783F2D7-9005-0409-0102-0060B0CE6BBA.
Thanks for the quick response by the way!
My post shows the commandline that works. You can get the correct GUIDs from your computer registry.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
If you use the command line format the log file will give you additional details about what is wrong
I had the correct GUID from the registry.
I ended up trying PSExec.
I already had PSEXEC dowloaded.
Went to Start > Run> typed: Runas /user:administrator@DOMAINNAME cmd
I used this command:
C:\PSTools>PSEXEC \\COMPUTERNAME msiexec /x {5783F2D7-9005-0409-0102-0060B0CE6BBA} /qb! /Passive /l*v ACAD2011Mechanical_Uninstall.log
This was the response (took about 3 - 5 minutes 😞
msiexec exited on CP188 with error code 0.
code 0 means all good.
Checked remote machine and AutoCad 2011 Mechanical was uninstalled.
What I didn't realize is that EMCO goes out to the registry and looks for the Uninstall String of the Product.
You will see the Command it is sending in the attached screenshots.
It was trying to run:
C:\Program Files\Autodesk\ACADM 2011\Setup\Setup.exe /P {5783F2D7-9005-0409-0102-0060B0CE6BBA} /M/ACM /lang en-US
THEN ATTACHING MY COMMAND OF
msiexec /x {5783F2D7-9005-0409-0102-0060B0CE6BBA} /qb! /Passive /l*v ACAD2011Mechanical_Uninstall.log
TO THE END OF THE ENTIRE COMMAND
Now I just have to figure out how the tell EMCO Remote Installer to use this command instead of the whole thing.
Thanks again.
I am trying to bulk uninstall autocad 2011 using server and batch file for a complete organization but it is not working I used following methods to unistall the AUTOCAD 2011 but it didn't work can you tell me the solution.
@Anonymous OFF
Can't find what you're looking for? Ask the community or share your knowledge.