I've managed to silently install Design Review 2013 by extracting the bundle and running setup.exe /q /w, but now I am having a hard time figuring how how to silently uninstall it. I've searched high and low in the registry for a GUID to execute using msiexec but didn't find one. I've tried setup.exe /x, & setup.exe /v/x to uninstall and both don't work.
Anyone got an idea? I am using SCCM 2012.
Solved! Go to Solution.
I found it hidden in Wow6432Node, but am unable to run it silently.
Setup.exe /P {153DB567-6FF3-49AD-AC4F-86F8A3CCFDFB} /M ADR /language en-US
I can run a msiexec /x {GUID}, but that just uninstalls Design Review & not DWG TrueView.
Anyone got an idea?
Here is some code I found in my arichive. Maybe it will help.
'Remove DR2013
ToolStripStatusLabel1.Text =
"Removing Design Review 2013..."
StatusStrip1.Refresh()
Me.Refresh()
My.Application.DoEvents()
oProcess.StartInfo.FileName =
"msiexec.exe"
oProcess.StartInfo.Arguments =
"/x {153DB567-6FF3-49AD-AC4F-86F8A3CCFDFB} /passive /norestart"
oProcess.Start()
oProcess.WaitForExit()
'Remove TrueView 2013
ToolStripStatusLabel1.Text =
"Removing TrueView 2013..."
StatusStrip1.Refresh()
Me.Refresh()
My.Application.DoEvents()
oProcess.StartInfo.FileName =
"msiexec.exe"
If is64Bit = FalseThen
oProcess.StartInfo.Arguments =
"/x {5783F2D7-B028-0409-0000-0060B0CE6BBA} /passive /norestart"
oProcess.Start()
oProcess.WaitForExit()
Else
oProcess.StartInfo.Arguments =
"/x {5783F2D7-B028-0409-0100-0060B0CE6BBA} /passive /norestart"
oProcess.Start()
oProcess.WaitForExit()
EndIf
@Anonymous wrote:Here is some code I found in my arichive. Maybe it will help.
'Remove DR2013
ToolStripStatusLabel1.Text =
"Removing Design Review 2013..."
StatusStrip1.Refresh()
Me.Refresh()
My.Application.DoEvents()
oProcess.StartInfo.FileName =
"msiexec.exe"
oProcess.StartInfo.Arguments =
"/x {153DB567-6FF3-49AD-AC4F-86F8A3CCFDFB} /passive /norestart"
oProcess.Start()
oProcess.WaitForExit()
'Remove TrueView 2013
ToolStripStatusLabel1.Text =
"Removing TrueView 2013..."
StatusStrip1.Refresh()
Me.Refresh()
My.Application.DoEvents()
oProcess.StartInfo.FileName =
"msiexec.exe"
If is64Bit = FalseThen
oProcess.StartInfo.Arguments =
"/x {5783F2D7-B028-0409-0000-0060B0CE6BBA} /passive /norestart"
oProcess.Start()
oProcess.WaitForExit()
Else
oProcess.StartInfo.Arguments =
"/x {5783F2D7-B028-0409-0100-0060B0CE6BBA} /passive /norestart"
oProcess.Start()
oProcess.WaitForExit()
EndIf
What scripting language is that? Looks .NET? Powershell?
@Anonymous wrote:
VB.NET
No clue how to run it. I saved it as filename.vbs and it doesn't execute because of syntax errors at line 2 character 37 which is the =. Incomplete? Or user error.
The code I posted was from a program that I wrote in VB.NET. It included several items that you don't need. My intent was to point someone with VB.NET knowlege in the right direction, not give them something they could run without modification. I should have been clear about that.
Anyway, if you have some VB.NET background this should help. Watch for word wrap...
'Remove DR2013 this works for x86 or x64 because DR2013 is x86 only
Dim oProcess As System.Diagnostics.Process = New System.Diagnostics.Process
oProcess.StartInfo.FileName = "msiexec.exe"
oProcess.StartInfo.Arguments =
"/x {153DB567-6FF3-49AD-AC4F-86F8A3CCFDFB} /passive /norestart"
oProcess.Start()
oProcess.WaitForExit()
To remove TrueView 2013, you will have to determine if the OS is x86 or x64
'Remove TrueView 2013
Dim oProcess As System.Diagnostics.Process = New System.Diagnostics.Process
'x64
oProcess.StartInfo.Arguments =
"/x {5783F2D7-B028-0409-0000-0060B0CE6BBA} /passive /norestart"
oProcess.Start()
oProcess.WaitForExit()
'x86
oProcess.StartInfo.Arguments =
"/x {5783F2D7-B028-0409-0100-0060B0CE6BBA} /passive /norestart"
oProcess.Start()
oProcess.WaitForExit()
strComputer = "." Set objShell = CreateObject("WScript.Shell") Set objProducts = CreateObject("Scripting.Dictionary") Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_Product",,48) For Each objItem in colItems objProducts.Add objItem.IdentifyingNumber, objItem.Caption Next If objProducts.Exists("{153DB567-6FF3-49AD-AC4F-86F8A3CCFDFB}") Then ' Uninstall Autodesk Design Review 2013 objShell.Run "msiexec /x {153DB567-6FF3-49AD-AC4F-86F8A3CCFDFB} /passive /norestart",1,True End If If objProducts.Exists("{5783F2D7-B028-0409-0000-0060B0CE6BBA}") Then ' Uninstall Autodesk TrueView 2013 x64 objShell.Run "msiexec /x {5783F2D7-B028-0409-0000-0060B0CE6BBA} /passive /norestart",1,True End If If objProducts.Exists("{5783F2D7-B028-0409-0100-0060B0CE6BBA}") Then ' Uninstall Autodesk TrueView 2013 x86 objShell.Run "msiexec /x {5783F2D7-B028-0409-0100-0060B0CE6BBA} /passive /norestart",1,True End If
I went this route. It looks for the object, if it finds it, it executes the uninstall. Only thing I can't figure out right now is why explorer.exe crashes/closes while uninstalling TrueView.
Can't find what you're looking for? Ask the community or share your knowledge.