Uninstall Strings for PTC Creo 2.0 (M070):
[...]\Creo 2.0\Help\bin\uninstall.exe -quiet
[...]\Creo 2.0\Parametric\bin\uninstall.exe -quiet
[...]\Creo 2.0\Simulate\bin\uninstall.exe -quiet
Please note that the uninstall of the last Creo component available on a machine will also uninstall Common Files automatically.
For a PTC Creo 2.0 (Parametric & Simulate) deployment via SCCM in my company we have the following needs:
-Multilingual package (English, French & Japanese),
-Multiplatform package (x64 for Windows 7 & x86 for Windows XP),
-Customized shortcut on the desktop (All Users profile) in order to launch a batch on a CAD-dedicated mapped network drive which will: download the right license file depending on the site, download the right custom configuration files depending on the site and finally launch Creo.
We used the Creo XML answer file recording in order to record the basic install we need and we did it twice (x86 & x64).
Here are the scripts we have right now in SCCM for Creo deployment:
x86:
Install program in SCCM:
@echo off
REM Script name: Install_32Bits.bat
REM Script purpose: Used as Install Program in SCCM for Creo 2.0 (M070) - 32Bits Platforms
REM Script date: 9/10/2013
REM Script author: Godefroy, Sebastien
REM Set batch directory as working directory
pushd %~dp0
REM Run the Creo 2.0 (M070) install command line
setup.exe -xml sim.p_32Bits.xml -xml pma.p_32Bits.xml -xml creobase.p_32Bits.xml
REM The following will create the "Start_Creo2" shortcut
If exist "C:\Users" goto createW7Shortcut else goto createXPShortcut
:createW7Shortcut
copy "Start_Creo2.lnk" "C:\Users\All Users\Desktop"
:createXPShortcut
If exist "C:\Documents and Settings\All Users\Desktop" goto en-US
If exist "C:\Documents and Settings\All Users\Bureau" goto fr-FR
:en-US
copy "Start_Creo2.lnk" "C:\Documents and Settings\All Users\Desktop"
goto end
:fr-FR
copy "Start_Creo2.lnk" "C:\Documents and Settings\All Users\Bureau"
goto end
:end
REM Set back the previous working directory
popd
exit
Uninstall program in SCCM:
@echo off
REM Script name: Uninstall_32Bits.bat
REM Script purpose: Used as Uninstall Program in SCCM for Creo 2.0 (M070) - 32Bits Platforms
REM Script date: 9/10/2013
REM Script author: Godefroy, Sebastien
REM Run the Creo Parametric Uninstaller silently
D:
cd\
cd Appli
cd "Creo 2.0"
cd Parametric
cd bin
uninstall.exe -quiet
REM This loop is needed because "uninstall.exe" launch a process called "pimunistall.exe"...
:loopUninstall1
tasklist /FI "IMAGENAME eq pimuninstall.exe" 2>NUL | find /I /N "pimuninstall.exe">NUL
if "%ERRORLEVEL%"=="0" goto loopUninstall1
REM Run the Creo Simulate + Common Files Uninstaller silently
D:
cd\
cd Appli
cd "Creo 2.0"
cd Simulate
cd bin
uninstall.exe -quiet
REM This loop is needed because "uninstall.exe" launch a process called "pimunistall.exe"...
:loopUninstall2
tasklist /FI "IMAGENAME eq pimuninstall.exe" 2>NUL | find /I /N "pimuninstall.exe">NUL
if "%ERRORLEVEL%"=="0" goto loopUninstall2
REM Run the PTC Creo Platform uninstall (SCCM Dependency)
MsiExec.exe /X{083315C6-DD31-45B1-B357-B79CDBA38AEC} /quiet /norestart
REM Run the PTC Creo Thumbnail Viewer uninstall (SCCM Dependency)
MsiExec.exe /X{54B3A5C4-670D-4B97-9C6C-D6F2986A1F3C} /quiet /norestart
REM Run the PTC Creo View Express uninstall (SCCM Dependency)
MsiExec.exe /X{73074BA2-784A-4B5A-9BCB-2F2CF97D9D3C} /quiet /norestart
REM Run the PTC Arbortext IsoView uninstall (SCCM Dependency)
MsiExec.exe /X{DE52A69A-978A-480A-82F7-E17C50F98EC6} /quiet /norestart
REM Change working directory to "D:\Appli"
D:
cd\
cd Appli
REM Delete the Creo directories if exist in "D:\Appli"
If exist "D:\Appli\Creo 2.0" goto deleteCreo20Folder else goto deleteQualityAgentFolder
:deleteCreo20Folder
rmdir "Creo 2.0" /s /q
:deleteQualityAgentFolder
If exist "D:\Appli\Quality Agent" (rmdir "Quality Agent" /s /q)
REM The following will delete the "Start_Creo" shortcut from the Desktop
If exist "C:\Users" goto deleteW7Shortcut else goto deleteXPShortcut
:deleteW7Shortcut
C:
cd\
cd Users
cd Public
cd Desktop
del "Start_Creo2.lnk" /s /q
:deleteXPShortcut
If exist "C:\Documents and Settings\All Users\Desktop" goto en-US
If exist "C:\Documents and Settings\All Users\Bureau" goto fr-FR
:en-US
C:
cd\
cd "Documents and Settings"
cd "All Users"
cd "Desktop"
del "Start_Creo2.lnk" /s /q
goto end
:fr-FR
C:
cd\
cd "Documents and Settings"
cd "All Users"
cd "Bureau"
del "Start_Creo2.lnk" /s /q
goto end
:end
exit
x64:
Install program in SCCM:
@echo off
REM Script name: Install_64Bits.bat
REM Script purpose: Used as Install Program in SCCM for Creo 2.0 (M070) - 64Bits Platforms
REM Script date: 9/10/2013
REM Script author: Godefroy, Sebastien
REM Set batch directory as working directory
pushd %~dp0
REM Run the Creo 2.0 (M070) install command line
setup.exe -xml sim.p_64Bits.xml -xml pma.p_64Bits.xml -xml creobase.p_64Bits.xml
REM The following will create the "Start_Creo2" shortcut
If exist "C:\Users" goto createW7Shortcut else goto createXPShortcut
:createW7Shortcut
copy "Start_Creo2.lnk" "C:\Users\All Users\Desktop"
:createXPShortcut
If exist "C:\Documents and Settings\All Users\Desktop" goto en-US
If exist "C:\Documents and Settings\All Users\Bureau" goto fr-FR
:en-US
copy "Start_Creo2.lnk" "C:\Documents and Settings\All Users\Desktop"
goto end
:fr-FR
copy "Start_Creo2.lnk" "C:\Documents and Settings\All Users\Bureau"
goto end
:end
REM Set back the previous working directory
popd
exit
Uninstall program in SCCM:
@echo off
REM Script name: Uninstall_64Bits.bat
REM Script purpose: Used as Uninstall Program in SCCM for Creo 2.0 (M070) - 64Bits Platforms
REM Script date: 9/10/2013
REM Script author: Godefroy, Sebastien
REM Run the Creo Parametric Uninstaller silently
D:
cd\
cd Appli
cd "Creo 2.0"
cd Parametric
cd bin
uninstall.exe -quiet
REM This loop is needed because "uninstall.exe" launch a process called "pimunistall.exe"...
:loopUninstall1
tasklist /FI "IMAGENAME eq pimuninstall.exe" 2>NUL | find /I /N "pimuninstall.exe">NUL
if "%ERRORLEVEL%"=="0" goto loopUninstall1
REM Run the Creo Simulate + Common Files Uninstaller silently
D:
cd\
cd Appli
cd "Creo 2.0"
cd Simulate
cd bin
uninstall.exe -quiet
REM This loop is needed because "uninstall.exe" launch a process called "pimunistall.exe"...
:loopUninstall2
tasklist /FI "IMAGENAME eq pimuninstall.exe" 2>NUL | find /I /N "pimuninstall.exe">NUL
if "%ERRORLEVEL%"=="0" goto loopUninstall2
REM Run the PTC Creo Platform uninstall (SCCM Dependency)
MsiExec.exe /X{083315C6-DD31-45B1-B357-B79CDBA38AEC} /quiet /norestart
REM Run the PTC Creo Thumbnail Viewer uninstall (SCCM Dependency)
MsiExec.exe /X{89A24765-5BBA-4435-A7B2-26812404662A} /quiet /norestart
REM Run the PTC Creo View Express uninstall (SCCM Dependency)
MsiExec.exe /X{03F6002E-A32B-4C68-818F-DEE386463FBC} /quiet /norestart
REM Run the PTC Arbortext IsoView uninstall (SCCM Dependency)
MsiExec.exe /X{DE52A69A-978A-480A-82F7-E17C50F98EC6} /quiet /norestart
REM Change working directory to "D:\Appli"
D:
cd\
cd Appli
REM Delete the Creo directories if exists in "D:\Appli"
If exist "D:\Appli\Creo 2.0" goto deleteCreo20Folder else goto deleteQualityAgentFolder
:deleteCreo20Folder
rmdir "Creo 2.0" /s /q
:deleteQualityAgentFolder
If exist "D:\Appli\Quality Agent" (rmdir "Quality Agent" /s /q)
REM The following will delete the "Start_Creo" shortcut from the Desktop
If exist "C:\Users" goto deleteW7Shortcut else goto deleteXPShortcut
:deleteW7Shortcut
C:
cd\
cd Users
cd Public
cd Desktop
del "Start_Creo2.lnk" /s /q
:deleteXPShortcut
If exist "C:\Documents and Settings\All Users\Desktop" goto en-US
If exist "C:\Documents and Settings\All Users\Bureau" goto fr-FR
:en-US
C:
cd\
cd "Documents and Settings"
cd "All Users"
cd "Desktop"
del "Start_Creo2.lnk" /s /q
goto end
:fr-FR
C:
cd\
cd "Documents and Settings"
cd "All Users"
cd "Bureau"
del "Start_Creo2.lnk" /s /q
goto end
:end
exit
On these deployment types, we also created some dependency groups: PTC Arbortext IsoView, PTC Platform (formerly Creo Agent), PTC Creo Thumbnail Viewer & PTC Creo View Express. This way, the programs are installed before Creo suite and it doesn't popup for installing these prerequisites @Creo's first launch, so no admin rights needed... =P
Here are the bonus scripts for the Creo Help Center deployment (x86 app only):
Install program in SCCM:
@echo off
REM Script name: Install.bat
REM Script purpose: Used as Install Program in SCCM for Creo Help Center 2.0 (M070)
REM Script date: 9/10/2013
REM Script author: Godefroy, Sebastien
REM Set batch directory as working directory
pushd %~dp0
REM Run the Creo Help Center 2.0 (M070) install command line
setup.exe -xml creohelp.p.xml
REM Set back the previous working directory
popd
exit
Uninstall program in SCCM:
@echo off
REM Script name: Uninstall.bat
REM Script purpose: Used as Uninstall Program in SCCM for Creo Help Center 2.0 (M070)
REM Script date: 9/10/2013
REM Script author: Godefroy, Sebastien
REM Run the Creo Help Uninstaller silently
D:
cd\
cd Appli
cd "Creo 2.0"
cd Help
cd bin
uninstall.exe -quiet
REM This loop is needed because "uninstall.exe" launch a process called "pimunistall.exe"...
:loopUninstall
tasklist /FI "IMAGENAME eq pimuninstall.exe" 2>NUL | find /I /N "pimuninstall.exe">NUL
if "%ERRORLEVEL%"=="0" goto loopUninstall
exit
Hope these examples will help you to easily deploy Creo via your favorite deployment tool ! =)
Best regards.
Creo 2.0 does not use a trail file like previous versions of Pro/E or Creo
Manually run the setup.exe in UI mode as an admin (this generates XML's)
Copy specific xml files to the network source installation directory:
%installdir%\PTC\Creo 2.0\Common Files\M030\bin\pim\xml\crebase.p.xml
%installdir%\PTC\Creo 2.0\Parametric\M030\bin\pim\xml\pma.p.xml
%installdir%\PTC\Creo 2.0\Direct\M030\bin\pim\xml\dma.p.xml
%installdir%\PTC\Creo 2.0\Simulate\M030\bin\pim\xml\sim.p.xml
Command line install:
setup.exe -xml %SOURCEDIR%sim.p.xml" -xml %SOURCEDIR%pma.p.xml -xml %SOURCEDIR%dma.p.xml -xml %SOURCEDIR%creobase.p.xml
Make sure port 7788 is open and working for client to see the licence server.
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.