Deploying a Windows 10 Universal App

I am attempting to install (Sideload) a windows 10 universal app on a tentacle.

I have packaged and uploaded the App Package that was created in Visual Studio.

I currently have 2 steps defined in the process:

  1. Deploy package - works successfully
  2. Run powershell script in package
    • the powershell script is generated by visual studio in the App Package step (Add-AppDevPackage.ps1)
    • The process fails with the following error:
      Could not find script file: C:\Octopus\Files\BRH.Sales.1.2.12.0.zip-7abc7616-579d-46be-8bf2-0422468d8570\Add-AppDevPackage.ps1

The package is on the tentical: C:\Octopus\Files\BRH.Sales.1.2.12.0.zip-7abc7616-579d-46be-8bf2-0422468d8570

It seems like the package is still zipped and thats why I can’t execute the script.

Is there another way to install (Sideload) a Universal App?
Is there a step that I am missing?

Patrick.

Hi Patrick,

Thanks for reaching out.

If carefully look the path in your error, you’ll notice that you are pointing to the zip file, and not the folder where the package was extracted:

Path in the error:
C:\Octopus\Files\BRH.Sales.1.2.12.0.zip-7abc7616-579d-46be-8bf2-0422468d8570\Add-AppDevPackage.ps1
C:\Octopus\Files\BRH.Sales.1.2.12.0.zip-7abc7616-579d-46be-8bf2-0422468d8570\ <-- Zip file | actual script ---> Add-AppDevPackage.ps1

Is it possible that you passed something else on the Script File field besides the script name?

If all you are trying to do is execute the script Add-AppDevPackage.ps1 that’s on the root of your package, then you only need to pass that file name on the field as shown on the attached screenshot.

If that doesn’t work, send me a screenshot of your script step configuration, along with a deployment log http://docs.octopusdeploy.com/display/OD/Get+the+raw+output+from+a+task

Best regards,
Dalmiro