cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Silent Uninstallation of PTC Portmapper

SOLVED
Highlighted
Newbie

Silent Uninstallation of PTC Portmapper

Wanting to know if this uninstall can be made quiet no user prompts. I have tried the following command line switches

C:\Program Files\PTC\PTC Portmapper\bin\uninstall.exe /silent

C:\Program Files\PTC\PTC Portmapper\bin\uninstall.exe /quiet

C:\Program Files\PTC\PTC Portmapper\bin\uninstall.exe /s

C:\Program Files\PTC\PTC Portmapper\bin\uninstall.exe /q


1 ACCEPTED SOLUTION

Accepted Solutions

Re: Silent Uninstallation of PTC Portmapper

Creo 2.0 can be uninstalled using following command

C:\Program Files (x86)\PTC\Creo 2.0\Parametric\bin\uninstall.exe –quiet

See https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS127329

You can try C:\Program Files\PTC\PTC Portmapper\bin\uninstall.exe –quiet

Or you can contact PTC Support as last instance ...

Martin Hanak


Martin Hanák

View solution in original post

7 REPLIES 7

Re: Silent Uninstallation of PTC Portmapper

David,

I am just curious.... Why did you install PTC Portmapper ?

Martin Hanak


Martin Hanák

Re: Silent Uninstallation of PTC Portmapper

I am unsure as to why it was installed. It wasn't something I specifically installed must have came in with something else that was selected during our install.

Re: Silent Uninstallation of PTC Portmapper

According to my knowledge, PTC Portmapper is necessary to install when user uses CADDS5 system. So uninstall it using Windows UI and never install again.


Martin Hanák

Re: Silent Uninstallation of PTC Portmapper

I need a silent uninstall string. Windows UI is not an option for my customers.

Re: Silent Uninstallation of PTC Portmapper

Creo 2.0 can be uninstalled using following command

C:\Program Files (x86)\PTC\Creo 2.0\Parametric\bin\uninstall.exe –quiet

See https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS127329

You can try C:\Program Files\PTC\PTC Portmapper\bin\uninstall.exe –quiet

Or you can contact PTC Support as last instance ...

Martin Hanak


Martin Hanák

View solution in original post

Re: Silent Uninstallation of PTC Portmapper

I don't have the uninstall for the PTC Portmapper however I have used the following for other PTC components. I think it would be similar to the Parametric and Simulate removal commands:

start /w "" "%UNINSTALLPATH%" -quiet

Here is code from my Creo installer that removes the old stuff

echo Starting removal of Creo Platform...>>%LOG%
echo Starting removal of Creo Platform...
start /w msiexec.exe /x "C:\ptc\Creo 2.0\Common Files\%OLDBUILD%\install\addon\creoagent_32_64.msi" /q
rem sleep 5 seconds (5 pings at 1000 milliseconds per ping)
ping 127.0.0.1 -n 5 -w 1000 > NUL

echo Starting removal of Thumbnail Viewer...>>%LOG%
echo Starting removal of Thumbnail Viewer...
start /w msiexec.exe /x "C:\ptc\Creo 2.0\Common Files\%OLDBUILD%\install\addon\Thumbviewer_32_64.msi" /q
rem sleep 5 seconds (5 pings at 1000 milliseconds per ping)
ping 127.0.0.1 -n 5 -w 1000 > NUL

echo Starting removal of Product View 9.0...>>%LOG%
echo Starting removal of Product View 9.0...
start /w msiexec.exe /x{C2727593-C9AF-41E0-99C6-B004393564A1} /q
rem sleep 5 seconds (5 pings at 1000 milliseconds per ping)
ping 127.0.0.1 -n 5 -w 1000 > NUL

echo Starting removal of Creo View Express...>>%LOG%
echo Starting removal of Creo View Express...
start /w msiexec.exe /x "C:\ptc\Creo 2.0\Common Files\%OLDBUILD%\install\addon\pvx32_64\pvexpress\CreoView_Express_32_64.msi" /q
rem sleep 5 seconds (5 pings at 1000 milliseconds per ping)
ping 127.0.0.1 -n 5 -w 1000 > NUL

echo Starting removal of Arbortext IsoView 7.3...>>%LOG%
echo Starting removal of Arbortext IsoView 7.3...
start /w msiexec.exe /x {DE52A69A-978A-480A-82F7-E17C50F98EC6} /q
rem sleep 5 seconds (5 pings at 1000 milliseconds per ping)
ping 127.0.0.1 -n 5 -w 1000 > NUL

echo Starting removal of Creo Quality Agent...>>%LOG%
echo Starting removal of Creo Quality Agent...
start /w msiexec.exe /x {5B7F8A19-AF71-4517-B49C-683AFC5B639C} /q
rem sleep 5 seconds (5 pings at 1000 milliseconds per ping)
ping 127.0.0.1 -n 5 -w 1000 > NUL

(set PARAMETRICPATH=C:\ptc\Creo 2.0\Parametric\bin\uninstall.exe)

(set SIMULATEPATH=C:\ptc\Creo 2.0\Simulate\bin\uninstall.exe)

echo Starting removal of Creo Parametric...>>%LOG%

echo Starting removal of Creo Parametric...

start /w "" "%PARAMETRICPATH%" -quiet

rem sleep 20 seconds (20 pings at 1000 milliseconds per ping) - required to prevent error
ping 127.0.0.1 -n 20 -w 1000 > NUL


echo Starting removal of Creo Simulate...>>%LOG%
echo Starting removal of Creo Simulate...
start /w "" "%SIMULATEPATH%" -quiet
rem sleep 20 seconds (20 pings at 1000 milliseconds per ping)
ping 127.0.0.1 -n 20 -w 1000 > NUL

Re: Silent Uninstallation of PTC Portmapper

Thank you great information!