App-V Execute Embedded Scripts RRS feed

  • Question

  • Hello guys.

    Virtual package does not want to publish, because it can not work the script can't figure out why, any thoughts?

    Wednesday, July 15, 2020 5:11 PM

All replies

  • 1) Do other appv packages work?
    2) Did you set EnablePackageScripts (either through GPO of powershell).

    Roy Essers

    Thursday, July 16, 2020 11:00 AM
  • 1) Other appv packages all work.

    2) Yeah, I did it.

    Friday, July 17, 2020 7:56 AM
  • I suppose you're trying to deploy Office with app-v... which version are you using? Did you use ODT to create the app-v package? Did you edit the package afterwards?

    Roy Essers

    Friday, July 17, 2020 8:34 AM
  • Yes, I used ODT to create package and edited. I indicated this:

          <StartProcess RunInVirtualEnvironment="false">
            <Arguments>//B //nologo SfB_StartProcess.vbs</Arguments>
            <Wait RollbackOnError="false"/>
            <Arguments>-ExecutionPolicy Bypass -WindowStyle Hidden -File SfB_PublishPackage.ps1</Arguments>
            <Wait RollbackOnError="true" Timeout="50"/>
            <Arguments>-ExecutionPolicy Bypass -WindowStyle Hidden -File SfB_UnpublishPackage.ps1</Arguments>

    But this parameter successful work another computers and I can`t understand what happen.

     I try to paste null script in parameter but error saving.
    Tuesday, July 21, 2020 6:35 AM
  • This is the user script... the error from your log is the machine part (AddPackage)

    Roy Essers

    Wednesday, July 22, 2020 10:47 PM