Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I'm trying to create a silent install for Creo 2.0 M160 and all the client side components. I'm getting an error on the CreoView Express install:
Invalid Switch - "/vADDLOCAL="ALL""
The syntax for calling the installer in my batch file is:
start /w "\\server\creo_install_files\creo_2_m160\pvx32_64\CreoSetup.exe" /vADDLOCAL="ALL" /qn
This matches what is in the install guide for Creo 2.0 M080. I do not have the install guide for M160, but the install guide for Creo 3.0 F000 shows the same syntax. I assume the Creo 2.0 M160 syntax should be the same.
Any insight as to what I'm missing?
Solved! Go to Solution.
Figured it out. There are no quotes around the path to CreoSetup.exe:
start /w \\server\creo_install_files\creo_2_m160\pvx32_64\CreoSetup.exe /vADDLOCAL="ALL" /qn
not
start /w "\\server\creo_install_files\creo_2_m160\pvx32_64\CreoSetup.exe" /vADDLOCAL="ALL" /qn
Figured it out. There are no quotes around the path to CreoSetup.exe:
start /w \\server\creo_install_files\creo_2_m160\pvx32_64\CreoSetup.exe /vADDLOCAL="ALL" /qn
not
start /w "\\server\creo_install_files\creo_2_m160\pvx32_64\CreoSetup.exe" /vADDLOCAL="ALL" /qn
Is this for Creo or Creo View? I use that for Creo View.
You can also add this at the end to define the installation directory:
APPLICATIONFOLDER="C:\xxx"
Here are all the options.
https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS32319
CreowView Express that comes with a Creo install.
Here is the code I use. When you use start with quotes, you need a title in quotes first. I put in blank. This is preferable, in case you have a space in your path.
start /wait "" "%InstallViewExpress%" /vADDLOCAL="ALL" /qn APPLICATIONFOLDER="%creo_load_point%\View Express\"