Follow

How add a script to run after activation of DIA package.

Product: ProfileUnity

Product Version: 5.5+

Expires on: 365 days from publish date

Updated: January 29, 20 2013

 

Problem:

Some applications may need additional scripts or commands run after installation of the application. How to add those commands to the current DIA package?

 

Symptoms:

 

Possible Resolution(s):

Step 1) Create for example: "OCXRegistration.cmd" file with list of commands.

Step 2) Edit DIA package in FPC (FlexApp Packaging Console)

Select "Add scripts to the package"

Example:

scirpts.jpg

Step 3) Select "cmd.exe-386", or App-1, Post activation and path to the .cmd or .bat.

Step 4) Browse to the script. Select one of the executables to apply the script to. 

Step 4) Ok, Ok save the package and try playing back the package (to test) after refreshing the snapshot. 

Note: Script can be run 

  • Before and after playback
  • Before and after removal of the package. 

 

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.