When the script runs
You can use the .osd file to run scripts at various times during the startup of App-V (SoftGrid)-enabled programs. The "SCRIPT TIMING and EVENT" setting in the script comes first. Under this setting, the following attributes determine when the script runs:
- PRE STREAM
This attribute runs the script before the program starts streaming. For example, use this attribute when you have to open a virtual private network (VPN) connection to the App-V (SoftGrid) server before you run the program.
- POST STREAM
This attribute runs the script after authorization and after the program starts streaming but before the Virtual Environment is set up.
- PRE LAUNCH
This attribute runs the script inside the virtual environment before the program runs.
- POST LAUNCH
This attribute runs the script after the program is started.
- POST SHUTDOWN
This attribute runs the script after the program is shut down. For example, use this attribute to clean up configuration settings or to delete configuration files.