Design Review

Reply
Member
JHBPJF
Posts: 5
Registered: ‎07-31-2013
Message 1 of 8 (2,361 Views)
Accepted Solution

Silent uninstall for Autodesk Design Review 2013 - what's the GUID?

2361 Views, 7 Replies
07-31-2013 03:14 PM

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.

Member
JHBPJF
Posts: 5
Registered: ‎07-31-2013
Message 2 of 8 (2,359 Views)

Re: Silent uninstall for Autodesk Design Review 2013 - what's the GUID?

07-31-2013 03:19 PM in reply to: JHBPJF

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?

Contributor
peteh
Posts: 13
Registered: ‎11-13-2006
Message 3 of 8 (2,334 Views)

Re: Silent uninstall for Autodesk Design Review 2013 - what's the GUID?

08-01-2013 07:15 AM in reply to: JHBPJF

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

Member
JHBPJF
Posts: 5
Registered: ‎07-31-2013
Message 4 of 8 (2,327 Views)

Re: Silent uninstall for Autodesk Design Review 2013 - what's the GUID?

08-01-2013 10:24 AM in reply to: JHBPJF

peteh 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?

Contributor
peteh
Posts: 13
Registered: ‎11-13-2006
Message 5 of 8 (2,318 Views)

Re: Silent uninstall for Autodesk Design Review 2013 - what's the GUID?

08-01-2013 11:47 AM in reply to: JHBPJF

 

VB.NET

Member
JHBPJF
Posts: 5
Registered: ‎07-31-2013
Message 6 of 8 (2,308 Views)

Re: Silent uninstall for Autodesk Design Review 2013 - what's the GUID?

08-02-2013 11:01 AM in reply to: peteh

peteh 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.

Contributor
peteh
Posts: 13
Registered: ‎11-13-2006
Message 7 of 8 (2,291 Views)

Re: Silent uninstall for Autodesk Design Review 2013 - what's the GUID?

08-06-2013 05:18 AM in reply to: JHBPJF

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()

 

 

 

Member
JHBPJF
Posts: 5
Registered: ‎07-31-2013
Message 8 of 8 (2,271 Views)

Re: Silent uninstall for Autodesk Design Review 2013 - what's the GUID?

08-07-2013 12:04 PM in reply to: JHBPJF
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. 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community