AutoCAD - Global Uninstaller - Automated
I need to create a Global uninstaller for all version of AutoCAD since about version 2003
For the full version & LT version
But I only have the GUID's for these 2 versions.
"{5783F2D7-7009-0409-0002-0060B0CE6BBA}", "AutoCad 2009 LT"
"{5783F2D7-8001-0409-0002-0060B0CE6BBA}", AutoCAD 2010
Can anybody help me with the rest of them.
I don't have access to the CD/Media to install them either.
I check Autodesk web site - they aren't much help - they said to use Add/Remove Programs.
For the full version & LT version
But I only have the GUID's for these 2 versions.
"{5783F2D7-7009-0409-0002-0060B0CE6BBA}", "AutoCad 2009 LT"
"{5783F2D7-8001-0409-0002-0060B0CE6BBA}", AutoCAD 2010
Can anybody help me with the rest of them.
I don't have access to the CD/Media to install them either.
I check Autodesk web site - they aren't much help - they said to use Add/Remove Programs.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
SandeepPanat
13 years ago
ORIGINAL: fubarsnafu2004
I check Autodesk web site - they aren't much help - they said to use Add/Remove Programs.
Yes, that's correct. You can take help of the deployment tools you may have in your environment to find out all the GUID's for Autocad. The search query can typically look for the keyword 'Autocad' at HKLM\Software\Microsoft\Windows\Current version\Uninstall. It'll provide you with Product Codes of different versions.
Posted by:
anonymous_9363
13 years ago
Posted by:
tmpamlrs
13 years ago
As said you'll need to get the product codes from the registry. Remember there are multiple installers for AutoCAD. So an uninstall for 2011 needs the following, with AcadLP.msi always last.
'Acad.msi = {5783F2D7-9001-0409-0002-0060B0CE6BBA}
'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}
Set WshShell = CreateObject("WScript.Shell")
' Remove each installed product via it's Product Code
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
'Acad.msi = {5783F2D7-9001-0409-0002-0060B0CE6BBA}
'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}
Set WshShell = CreateObject("WScript.Shell")
' Remove each installed product via it's Product Code
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.