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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

SCCM detection method

Wayne_Beck
12-Amethyst

SCCM detection method

We are deploying Creo 3 M060 with SCCM.  The software installs fine but SCCM keeps stating that it has failed.  We have tried a few different detection methods and none give a positive result.  We are using SCCM 2012.  If you are using SCCM to deploy Creo what are you using as your detection method?

5 REPLIES 5

Did you ever get this answered? I have been installing Creo using SCCM 2007 and a bat script. Here is a template that I have for Creo 3.0-M110. After it completes, it send me an email to let me know that the installation has finished.

@echo off
:: ######################################################################
:: This script will install Creo 3.0-M110 using SCCM
::
:: xxxx-xx-xx - Name - Initial Release
:: ----------------------------------------------------------------------

:: ######################################################################
:: This section sets up The system vars.
:: IMPORTANT!! installation cannot be located on a Netapp Share, they must
:: be located on a Windows Server due to Admin installation rights.
:: ----------------------------------------------------------------------
echo Setting Variables
set WIN_SERVER_LOC=\\Windows_Server\Share_Name
set CREO_LOC=%WIN_SERVER_LOC%\PTC\Creo\Parametric\3.0-M110
set CREOHELP_LOC=%WIN_SERVER_LOC%\PTC\Creo\HelpCenter\3.0-M110
set CREOVIEW_LOC=%WIN_SERVER_LOC%\PTC\Creo\view\3.0-M031
set PTC-ADDONS=%WIN_SERVER_LOC%\PTC\Creo\Parametric\3.0-M110\install\addon
set SCH_LOC=%WIN_SERVER_LOC%\PTC\Creo\Schematics\x.x-Mxxx
set PTC-LOC=C:\PTC\Creo\3.0-M110\
set PTCBIN=%PTC-LLNL%\bin

:: ######################################################################
:: Install PTC Applications
:: ----------------------------------------------------------------------

:: Install Help Center
echo Installing Creo Helpcenter...
"%CREOHELP_LOC%\setup.exe" ^
-xml "%CREOHELP_LOC%\XMLs\creohelpdma.p.xml" ^
-xml "%CREOHELP_LOC%\XMLs\creohelplay.p.xml" ^
-xml "%CREOHELP_LOC%\XMLs\creohelpoptm.p.xml" ^
-xml "%CREOHELP_LOC%\XMLs\creohelppma.p.xml" ^
-xml "%CREOHELP_LOC%\XMLs\creohelpsim.p.xml"

:: Install Parametric, Simulate, Direct and Common Files
echo Installing Creo Parametric...
"%CREO_LOC%\setup.exe" ^
-xml "%CREO_LOC%\XMLs\creobase.p.xml" ^
-xml "%CREO_LOC%\XMLs\pma.p.xml" ^
-xml "%CREO_LOC%\XMLs\optsmdler.p.xml" ^
-xml "%CREO_LOC%\XMLs\sim.p.xml" ^
-xml "%CREO_LOC%\XMLs\mathcad.p.xml"

:: Install Schematics
:: echo Installing Creo Schematics...
::  "%SCH_LOC%\setup.exe" ^
:: -xml "%SCH_LOC%\schematics.p.xml"

:: Install Creo View
echo Installing Creo View...
"%CREOVIEW_LOC%\installers\i486_nt_productview\CreoView_64.exe" ^
  /vADDLOCAL="ALL" ^
  LICENSESERVER="7788@your_license_server" ^
APPLICATIONFOLDER="C:\PTC\Creo\3.0-M031\View" ^
/qn

:: Copy down the addons
robocopy "%PTC-ADDONS%" "%PTC-LOC%\addon" /NFL /NDL /NJH /NJS /DCOPY:T /R:3 /W:0 /E

:: Install Creo Agent
echo Installing Creo Agent...
"%PTC-LOC%\addon\creoagent_32_64.msi" ^
  /passive

:: Install Creo Thumbview
echo Installing Creo Thumbview...
  "%PTC-LOC%\addon\Thumbviewer_32_64.msi" ^
  /passive

:: Install Creo ViewExpress
echo Installing Creo ViewExpress...
  "%PTC-LOC%\addon\pvx32_64\CreoSetup.exe" ^
  /vADDLOCAL="ALL" ^
  APPLICATIONFOLDER="C:\PTC\Creo\3.0-M110\ViewExpress" ^
/qn

if exist "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PTC Creo" (
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PTC Creo" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PTC\Creo\3.0-M110\View" )

if exist "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PTC Mathcad" (
move "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PTC Mathcad" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PTC\Creo\3.0-M110\Mathcad" )

TIMEOUT /T 10 /NOBREAK
rmdir /S /Q "%PTC-LOC%\addon"

powershell -ExecutionPolicy ByPass -Command Send-MailMessage ^
-SmtpServer smtp.yourcompany.com ^
  -To youremailaddress@yourcompany.com ^
-From %COMPUTERNAME%@yourcompany.com ^
-Subject 'CR3.0-M110-SCCM_Install, completed on %COMPUTERNAME%' ^
-Body 'The following batch script process: CR3.0-M110-SCCM_Install, completed on %COMPUTERNAME%'

exit 0

Hi @Wayne_Beck   and @PTCGuy ,

Good Day!! I am new to CAD tools and I am assigned a task to automate Creo Parametric 6.0.4 silent installation with out manual intervention. Here are the steps I need to perform:

1. Install Creo using silent install command:

.\setup.exe -xml .\myconfig\creobase.p.xml -xml .\myconfig\pma.p.xml -xml .\config\qualityagent.xml

2. Provide way to customize creo installation to select "Creo ModelCheck" and APIToolkit.

3. After Creo Parametric is installed, I will have to make changes in Creo View Adapter using proe2pv_config.exe ( An UI will be launched) to point to new Creo 6.0.4 path and windchill server host and port details. Can Adapter be configured using command line with a config file?
Waiting for your reply. Your help is much appreciated?
Thanks,
Sriram

Hi,

in general, you can configure nearly everything with config files.

But you should get familiar with Creo and post some specific questions in new threads. This thread is very old and the wrong topic. Are you at least using SCCM?

br Bernhard

Yes @bmüller , we are using SCCM. However, I need to coordinate with our SCCM administrator to package my powershell script to deploy on target creo worker machines.

As you said, Initially I thought to create a new thread.But, I didn't find option in my user profile to post a question. I have got the ptc user account created only today. 

Thanks,

Sriram

Thanks for the batch script. It helps a lot for me to automate Creo parametric installation in a similar fashion.To have more control, I will write this in powershell script. However, I am still stuck at customize step to select "Creo Modelcheck" and  "API Toolkits".

Cheers,
Sriram 

Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags