Cancel
Showing results for 
Search instead for 
Did you mean: 

SWIM Silent Uninstall 11.3

Legend
Legend

Anyone know of a way of uninstalling SWIM 11.3 silently?

Found this IR for 10.1

I can launch the uninstaller form a cmd line, but it just opens the GUI.  

 

I've got 30 odd clients to uninstall :-(

 

Rich

Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk
9 REPLIES

Re: SWIM Silent Uninstall 11.3

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
The Teamcenter Manager for SolidWorks Installation Guide (in %SWIM_DIR%\InstallationGuide.pdf) has a section for uninstalling (pg 56 of 62 in mine) and lists the commands needed to perform it which you can put in a bat/cmd script.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: SWIM Silent Uninstall 11.3

Siemens Phenom Siemens Phenom
Siemens Phenom

I do this at every upgrade. Below is syntax for SWIM10 as I do not yet have a need to uninstall our SWIM 11.4 env.

 

REM: ============================================================================
title Uninstall SWIM 10.1 ^(1 of 6^)
REM: ----------------------------------------------------------------------------
cls
echo.
echo Uninstall SWIM 10.1
set REGKEYID=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Teamcenter Integration for SolidWorks Version 10.1.0
set REGKEYSTR="%REGKEYID%"

reg query %REGKEYSTR% >nul 2>&1
if %ERRORLEVEL% EQU 1 (goto swim-end)

echo Removing SWIM 10.1
call "D:\MICAxPLM\SWIM101\SwimUninstallerData\Uninstall Teamcenter Integration for SolidWorks Version 10.1.0 Installation.exe"

reg query %REGKEYSTR% >nul 2>&1

if %ERRORLEVEL% EQU 0 (
echo WARNING: Could not complete uninstall of SWIM! Will now force it. Take THAT SWIM!
reg delete %REGKEYSTR% /f
)
:swim-end
if exist D:\MICAxPLM\SWIM101 (rmdir /s /q D:\MICAxPLM\SWIM101)
if exist "C:\Users\Public\Desktop\Teamcenter Integration for SolidWorks.lnk" (del "C:\Users\Public\Desktop\Teamcenter Integration for SolidWorks.lnk")
if exist "C:\Users\%USERNAME%\Desktop\Teamcenter Integration for SolidWorks.lnk" (del "C:\Users\%USERNAME%\Desktop\Teamcenter Integration for SolidWorks.lnk")
echo Done.

 


Larry Carpenter, P.E.
CAxPLM Architect @ Siemens Molecular Imaging
Past Board Member @ PLM World, Inc,

Re: SWIM Silent Uninstall 11.3

Legend
Legend

Great @LarryCarpenter, this looks like just what I want.

 

Thank you very much!

Rich

Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk

Re: SWIM Silent Uninstall 11.3

Legend
Legend

Hi @LarryCarpenter, I spoke to soon.... Its not silent....  I dont want to interract with the uninstaller...

Rich

Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk

Re: SWIM Silent Uninstall 11.3

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
Looks silent to me. Can you explain more about interacting with the uninstaller? Screen shot?

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: SWIM Silent Uninstall 11.3

Legend
Legend

Capture.JPG

 

I have to select "Uninstall"....  I just want it to do it silently - no interraction whatsoever! 

Rich

Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk

Re: SWIM Silent Uninstall 11.3

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
You can create an "answer" file for any exe (*.iss).
http://unattended.sourceforge.net/installers.php

For setup.exe:
Setup /r /f1"C:\Temp\Setup.iss"
Setup /s /f1"C:\Temp\Setup.iss" /f2"C:\Temp\Setup.log"

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: SWIM Silent Uninstall 11.3

Siemens Phenom Siemens Phenom
Siemens Phenom

I could never get the ISS thing to work with the SWIM install. It's some sort of custom installer tool.

 

If you don't want any GUI then the only other option that's worked for SWIM is to manually delete the registry entries and folder structure in a script.


Larry Carpenter, P.E.
CAxPLM Architect @ Siemens Molecular Imaging
Past Board Member @ PLM World, Inc,

Re: SWIM Silent Uninstall 11.3

Legend
Legend
Ah, I thought this was the case. But had to ask to be sure.
Thanks,
Rich
Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk