locked
Multiple <PublishPackage> entries within Deploymentconfiguration RRS feed

  • Question

  • Hey all,

    I've modified the deployment configuration XML file and added in Machine Configuration level <AddPackage> and <PublishPackage> events.

    <AddPackage> sets some folder permissions and <PublishPackage> installs a printer driver.

    They both work great, but I'd like to add in a couple of additional Machine Level <PublishPackage> events and I'm wondering firstly, if multiple <PublishPackage> events within a single Deployment Configuration file is possible and secondly, what would be the correct structure to add in a second event... e.g.

          <PublishPackage>
            <Path>[{AppVPackageRoot}]\APP\install1.exe</Path>
            <Arguments>-n "PRINTERNAME"</Arguments>

            <Path>[{AppVPackageRoot}]\APP\installer2.exe</Path>
            <Arguments>-n "PRINTERNAME1"</Arguments>

          </PublishPackage>

    or

         <PublishPackage>
            <Path>[{AppVPackageRoot}]\APP\install1.exe</Path>
            <Arguments>-n "PRINTERNAME"</Arguments>
         </PublishPackage>

         <PublishPackage>
            <Path>[{AppVPackageRoot}]\APP\install2.exe</Path>
            <Arguments>-n "PRINTERNAME2"</Arguments>
         </PublishPackage>

    Monday, March 11, 2013 10:44 AM

Answers