Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
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
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