Friday, July 13, 2007

Uninstall AutoCAD 2008 silently

If you as are managing installations on many workstations you probably at some point want to uninstall software's easily. This is one way to do it. You can often find the uninstall string in the registry.

Uninstall AutoCAD 2008

  • HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.1\ACAD-6001:409\ProductCode
    The value can be something like this:
    {5783F2D7-6001-0409-0002-0060B0CE6BBA}

Uninstall AutCAD Architecture 2008

    HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.1\ACAD-6004:409\ProductCode
    The value can be something like this:
    {5783F2D7-6004-0409-0002-0060B0CE6BBA}

Uninstall Adobe Acrobat 8 Professional

  • HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\8.0\Installer\ENU_GUID
    The value can be something like this:
    {AC76BA86-1033-0000-7760-000000000003}

Uninstall Acrobat Reader 8

  • HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\8.0\Installer\ENU_GUID
    The value can be something like this:
    {AC76BA86-7AD7-1033-7B44-A81000000003}


If you are using VBScript you can read the registry using WshShell.RegRead

Below is a sample code showing how it can be done. Save the text in Notepad with the file extension VBS.

on error resume next
Set WshShell = CreateObject("WScript.Shell")
uninstallstring=WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.1\ACAD-6001:409\ProductCode")
WshShell.Run "msiexec /x " & uninstallstring & " /q",1,true

No comments:

Post a Comment

Subscribe to the comments feed

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Subscribe to this blog
JTB World's website | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.