Issue:
You want to uninstall an Autodesk product but the original deployment package is no longer available in the original location.
Solution:
Note: Speak with your system administrator to either have them do the following or make sure you have the correct admin rights to complete the following tasks.
- Start Windows PowerShell and use this command:
- In the search portion of the Windows taskbar at bottom left, start to type powershell. Then choose "Run as Administrator"
b. Maxinmize the PowerShell window and run this command:
Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {($_.DisplayName -match "Autodesk") -or ($_.Publisher -match "Autodesk")} | Select-Object -Property DisplayName, UninstallString | Ft -autosize | out-string -width 4096
2. You will be presented with the PowerShell output. On the left side you will see the Autodesk product or add-in and on the right side is the uninstall string. We will be using the uninstall string to uninstall the Autodesk product or add-in.
3. Choose the line of the uninstall string of the product you want to uninstall and copy the uninstall string. You can add the silent switch -q after --trigger_point system to make it silent. This can be run in a command prompt or you can create a batch file. If you choose to create a batch file, you can put multiple lines in a batch file to uninstall more than one product.
4. If your uninstall string starts with: C:\Program Files\Autodesk\AdODIS\V1\Installer.exe add quotes at the beginning and end of this line.
Example:
"C:\Program Files\Autodesk\AdODIS\V1\Installer.exe" before you run the whole line.
5. If you are using a batch file, put a call command in front of the line (the call command is not needed for a MsiExec line in the batch)
Example:
call "C:\Program Files\Autodesk\AdODIS\V1\Installer.exe" -i uninstall --trigger_point system -q -m C:\ProgramData\Autodesk\ODIS\metadata\{03BD6A4A-C858-3AD2-9353-DF2974C9918B}\bundleManifest.xml -x C:\ProgramData\Autodesk\ODIS\metadata\{03BD6A4A-C858-3AD2-9353-DF2974C9918B}\SetupRes\manifest.xsd
6. If you have a uninstall string line that is using MsiExec, make sure after MsiExec it is an /X and not an /I. The /X is for uninstall and the /I is for an install. You can change it to /X to uninstall in your command prompt or batch file..
About the Author
Follow on Linkedin More Content by Ken Williams