Hi I am trying to uninstall solidworks in a silent manner I am using below script but its not gng silently its opening up the installation manager and asking features to be un installed if I select yes then uninstalling. But I checked after that its not uninstalling clean manner...

"C:\Windows\SolidWorks\IM_20120-40100-1100-200\sldim\sldIM.exe" /remove "C:\Windows\SolidWorks\IM_20120-40100-1100-200 (2)\sldim\sldIM_installed.xml"

if any body has done this app, please provide me the switches to uninstall it???

thanks in advance

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

If you know where the msi you installed from is try

start /wait msiexec /x  the_msi_name.msi /passive

 

When I removed version 2009 I searched the registry and found it's guid and called, since I did an admin install from a server and it was deleted.

::SOLIDWORKS 2009 SP4::

ECHO Uninstalling SolidWorks 2009 SP04
ECHO Please wait...
ECHO.
start  /wait msiexec /x {212ED557-7453-44C1-AE9C-3DA780B9B3C6} /passive

dont forget to delete the key also

 

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SolidWorks Installation Manager 20090-40400-1100-200]

Answered 07/03/2012 by: SMal.tmcc
Red Belt

Please log in to comment
1

If you know where the msi you installed from is try

start /wait msiexec /x  the_msi_name.msi /passive

this worked for me but not real clean... need to delete some folders and registry keys.. thanks for the advice

Answered 07/03/2012 by: ontari.ontari
Black Belt

Please log in to comment
0

Haven't done it, but I would try running the following command:

"C:\Windows\SolidWorks\IM_20120-40100-1100-200\sldim\sldIM.exe" /?

If that don't give you any pointers, try with:

"C:\Windows\SolidWorks\IM_20120-40100-1100-200\sldim\sldIM.exe" /remove /S (or similar.. /s, /q, /quiet)

Answered 07/03/2012 by: andemats
Second Degree Black Belt

Please log in to comment
0

I'm wondering if something like this would work? Powershell:

$app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "SolidWorks" } $app.Uninstall()
Answered 07/03/2012 by: dugullett
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity