Deployment of AppxPackage with Octopus Deploy results in

0

I am trying to resolve in issue in deploying a package with Octopus Deploy and remote Powershell on a Windows 10 device.

Executing script on 'HP X2 Martijn' May 23rd 2017 14:54:12 Info Installing new package May 23rd 2017 14:54:12 Info C:\Temp\Octo\HNLHorApp\\lib\*\ May 23rd 2017 14:54:12 Info C:\Temp\Octo\HNLHorApp\lib\CompanyName.AppPackage.Win8_2017.5.23.1_x86_Test\Heineken.Horeca.Win8_2017.5.23.1_x86.appx May 23rd 2017 14:54:12 Info C:\Temp\Octo\HNLHorApp\lib\CompanyName.AppPackage.Win8_2017.5.23.1_x86_Test\Dependencies\x86\Microsoft.VCLibs.x86.12.00.appx May 23rd 2017 14:54:23 Error Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered. May 23rd 2017 14:54:23 Error error 0x80070005: Adding a tile failed with unexpected error. May 23rd 2017 14:54:23 Error NOTE: For additional information, look for [ActivityId] ec8b2896-d3b5-0002-1b17-8cecb5d3d201 in the Event Log or use th May 23rd 2017 14:54:23 Error e command line Get-AppxLog -ActivityID ec8b2896-d3b5-0002-1b17-8cecb5d3d201 May 23rd 2017 14:54:23 Error At C:\Octopus\Work\20170523125410-22\Script.ps1:17 char:30 May 23rd 2017 14:54:23 Error + ... criptblock {Add-AppxPackage $appx.FullName -DependencyPath $appxDepen ... May 23rd 2017 14:54:23 Error +
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ May 23rd 2017 14:54:23 Error + CategoryInfo : WriteError: (C:\Temp\Octo\HN...5.23.1_x86.appx:String) [Add-AppxPackage], IOException May 23rd 2017 14:54:23 Error + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand May 23rd 2017 14:54:23 Error May 23rd 2017 14:54:23 Fatal The remote script failed with exit code 1

The command that we run is:

Invoke-Command -ScriptBlock { Add-AppxPackage $appx.FullName -DependencyPath $appxDependency.FullName }

Does anyone have clue? Because I am really out of options here.

windows
powershell
windows-store-apps
octopus-deploy
asked on Stack Overflow May 23, 2017 by pipelinecache • edited May 23, 2017 by 4c74356b41

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0