Skip to main content
Nov 12, 2024 10:59 AM UTC
Question

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!

 

4 replies

Community Manager
Nov 19, 2024 2:53 PM UTC

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,

Nov 21, 2024 7:07 AM UTC

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.

Community Manager
Nov 27, 2024 12:54 PM UTC

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,