Scripting Settings
AdminStudio 2023 | 25.0 | Virtual Package Editor
When you select a script in the Shortcuts view, the following settings are available.
Setting |
Description |
|||||||||||||||
Select the timing for the script that you want to launch. Available options are:
|
||||||||||||||||
Type |
Specify the type of script that you want to be run. Available options are:
You can use either type of scripting to call an executable file that exists in the folder on the virtual application server where the App-V package is stored. |
|||||||||||||||
Protect |
Specify whether to run the script or executable file inside the virtual environment. Available options are:
|
|||||||||||||||
Wait |
Specify whether to wait for the script or executable file to complete before continuing to the next scheduled task—either another script or the appropriate subsequent event. |
|||||||||||||||
Enter the maximum number of seconds to wait for the script or executable file to complete before continuing. To wait until the script or executable file completes, enter the number 0 or leave this setting blank. |
||||||||||||||||
Enter the return code that indicates that the script or executable file finished successfully. This setting is optional. For information on triggering the appropriate behavior if the script fails or succeeds, see Causing the App-V Application to Close After a Script Failure. Note:If you specify Post-shutdown for the Event setting, any value that you specify for the Success Result setting is ignored. |
||||||||||||||||
Enter the return code that indicates that the script or executable file failed. This setting is optional. For information on triggering the appropriate behavior if the script fails or succeeds, see Causing the App-V Application to Close After a Script Failure. Note:If you specify Post-shutdown for the Event setting, any value that you specify for the Abort Result setting is ignored. |
See Also
Creating Scripts that Run Before or After the App-V Application Is Streamed or Launched