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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to use Custom Actions in silent installation?

YaroslavSin
17-Peridot

How to use Custom Actions in silent installation?

Hello!

For Creo 3 I'm trying to copy additional files using silent installation.

For this I'm write a custom action in "pma.p.xml":

<CUSTOM_ACTION dest="C:\Users\Public\Desktop\readme.txt" dll="" file="C:\readme.txt" name="CopyFileToDest" when="PostInstall"/>

To start installer:

setup.exe -xml pma.p.xml

But "readme.txt" file is not copied to the desktop (or any other destination).

Is it possible to write user actions? Any tips are welcome!

 

2 REPLIES 2

Hi @YaroslavSin 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best regards,

Catalina
PTC Community Moderator

Custom actions could be very useful for mass deployment. To create a custom shortcut to link to .bat or .psf files. Copy additional files.
But none of this works if I change the XML.
Custom actions are described in the documentation, so it is possible to create user-defined actions. However, I have not had any success with this.

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


Top Tags