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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How to add an icon in Creo 3.0 silent install ?

BernardWielfaer
12-Amethyst

How to add an icon in Creo 3.0 silent install ?

Can someone explain how to alter the pma.p.xml file so an icon can be added to the desktop pointing to a batch file residing on the network, e.g. : X:\ENG\Software\PTC\Software\Pro-E\Creo 3.0 M60\config\Creo_start.bat ?

This because we have a script that is creating the psf file to start Creo.

I tried modifying the existing shortcut pointing to parametric.exe but this does not work, creating a new node <SHORTCUT ...../SHORTCUT> results in a failing install.

Regards, Bernard


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

Bernard,

I would suggest to create the shortcut using separate tool, for example vbs script.

Example of vbs script:

Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")

PathToShortcut         = "C:\Users\Public\Desktop\Creo Parametric 2.0 M050.lnk"
PathToTarget           = "C:\PTC\Creo2_M050\Creo 2.0\Parametric\bin\parametric.exe"
PathToWorkingDirectory = "Z:\"
PathToIconLocation     = "C:\PTC\Creo2_M050\Creo 2.0\Parametric\install\nt\parametric.ico"

Dim MyShortcut01
Set MyShortcut01 = WSHShell.CreateShortcut(PathToShortcut)

MyShortcut01.TargetPath = PathToTarget
MyShortcut01.WorkingDirectory = PathToWorkingDirectory
MyShortcut01.WindowStyle = 1
MyShortcut01.IconLocation = PathToIconLocation
MyShortcut01.Save

MH


Martin Hanák
Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags