Skip to main content
17-Peridot
November 12, 2024
Question

How to use Custom Actions in silent installation?

  • November 12, 2024
  • 1 reply
  • 1071 views

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!

 

1 reply

Catalina
Community Moderator
November 19, 2024

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
17-Peridot
November 21, 2024

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.

Catalina
Community Moderator
November 27, 2024

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