locked
AppV 5: Where do I put this script? RRS feed

  • Question

  • Hi,

    I need help to put this script into DeploymentConfig.xml file of CS6-Flash.

    <SCRIPT TIMING=”PRE” EVENT=”LAUNCH” WAIT=”TRUE” PROTECT=”TRUE”>
    <SCRIPTBODY>
    C:\CS6-Flash\CS6-Flash-Serial\AdobeSerialization.exe adobe_prtk ––tool=VolumeSerialize ––provfile=C:\CS6-Flash\CS6-Flash-Serial\prov.xml
    < /SCRIPTBODY>
    < /SCRIPT>

    Should it go in between here of the DeploymentConfig.xml file?

    <!-- User Scripts Example - customize and uncomment to use user scripts -->
        <!--
         


    Thursday, April 4, 2013 8:09 PM

Answers

  • In App-V 4, this was an app launch time script, which would make it a startvirtualenvironment script.  If it only needs to run once, it would be better as a publish script.

    The location choice depends on how you deploy the package.  Global deployment (aka assigning to a group of machine names rather than user names) scripts go in the deploymentconfig file, and in the Machine Scripts section.  Non-global deployments usually go in the User Scripts section of the deploymentconfig file, but may go in the userconfig file (when used) also.

    App-V 5 will break up the scriptbody into a Path (the exe part) and Arguments (the rest).  The path must be a full path to the exe, without quotation marks or leading/trailing white space.


    Tim Mangan MVP for App-V and Citrix CTP Author of AppV books: "The Client Book" and "OSD Reference Book" (http://www.tmurgent.com/Books )


    Friday, April 5, 2013 2:28 PM
    Moderator