locked
Local deployment to Surface fails with error code: 0x80073CF9/0x8007065E

    Question

  • Hi,

    I've developed a Windows Store app which is currently in the store. Now I've got my new Surface and want to test a new version of the app on the Surface before I ship it to the Store. So I've build an ARM version of the application and transferred it to the Surface. The Surface is developer unlocked and trust the certificate of the package. But when I run the Add-AppDevPackage.ps1 I get the following error:

     

    PS C:\weeknumber> .\Add-AppDevPackage.ps1
    Found package: C:\weeknumber\Holion.WeekNumber.Metro_1.0.0.5_ARM.appx

    Installing package...
    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9)
    Deployment Add operation on Package Holion.Ugenummer_1.0.0.5_arm__76sqxt6syvdw8 from:  (file:///C:/weeknumber/Holion.WeekNumber.Metro_1.0.0.5_ARM.appx)  failed with error 0x8007065E. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.

    NOTE: For additional information, look for [ActivityId] 56eb5c91-b9ce-0000-44a1-ee56ceb9cd01 in the Event Log or use the command line Get-AppxLog -ActivityID 56eb5c91-b9ce-0000-44a1-ee56ceb9cd01

    At C:\weeknumber\Add-AppDevPackage.ps1:401 char:13
    +             Add-AppxPackage -Path $DeveloperPackagePath.FullName -ForceApplicati ...
    +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (C:\weeknumber\H....0.0.5_ARM.appx:String) [Add-AppxPackage], IOException
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Error: Could not install the package.

     

    Then I run the suggested command:

     

    PS C:\weeknumber> Get-AppxLog -ActivityID 56eb5c91-b9ce-0000-44a1-ee56ceb9cd01

    Time                      ID           Message
    ----                      --           -------
    09-11-2012 09:15:41       301
    09-11-2012 09:15:41       603
    09-11-2012 09:15:42       157
    09-11-2012 09:15:42       170
    09-11-2012 09:15:42       10002
    09-11-2012 09:15:42       605
    09-11-2012 09:15:42       401
    09-11-2012 09:15:42       404

     

    Not much usefull info there. Then I've looked at the suggested website which contains the following information:

     

    ERROR_INSTALL_FAILED 0x80073CF9
    Package install failed. Contact the software vendor.
    Check the AppXDeployment-Server event log for more info.

     

    So I've checked the event log which tells me the following:

     

    Deployment Add operation on Package Holion.Ugenummer_1.0.0.5_arm__76sqxt6syvdw8 from:  (file:///C:/weeknumber/Holion.WeekNumber.Metro_1.0.0.5_ARM.appx)  failed with error 0x8007065E. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.

    error 0x80073CF9: AppX Deployment operation failed. The specific error text for this failure is: Deployment Add operation on Package Holion.Ugenummer_1.0.0.5_arm__76sqxt6syvdw8 from:  (file:///C:/weeknumber/Holion.WeekNumber.Metro_1.0.0.5_ARM.appx)  failed with error 0x8007065E. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.

     

    So I'm pointed back to the website which contains absolutely no new information - great help :-S

    Anybody knows how to solve this? Thanks :-)

    Friday, November 9, 2012 8:36 AM

Answers

  • @NielsLBeck I fixed my issue. I removed from the registry the key HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx\AllowAllTrustedApps
    = 1 and now it works
    • Marked as answer by NielsLBeck Monday, November 19, 2012 3:00 PM
    Monday, November 19, 2012 2:16 PM

All replies

  • I have the same issue.

    have you been able to solve it?

    Massimo

    Friday, November 16, 2012 1:31 PM
  • No, unfortunately not :-(

    Deployment works as expected on my Samsung Series 7 with Windows 8. But that's not an ARM.

    I really hope somebody knows how to solve this! If I find the answer I'll post it here.

    Monday, November 19, 2012 9:10 AM
  • @NielsLBeck I fixed my issue. I removed from the registry the key HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx\AllowAllTrustedApps
    = 1 and now it works
    • Marked as answer by NielsLBeck Monday, November 19, 2012 3:00 PM
    Monday, November 19, 2012 2:16 PM
  • And... it works on my machine too - great! Thank you very much :-)

    Monday, November 19, 2012 3:00 PM
  • pero ese registro ni siquiera lo encuentro entonces como lo ubico para borrarlo ¿?

    Wednesday, December 12, 2012 4:54 PM
  • I have the very same issue! Do I créate the key first, then remove it??? Where else can it be found?

    Wednesday, December 19, 2012 4:52 AM
  • A co-worker and I had the same error code, on two different tablets.  This is for an app I built.  So I made a new binary and when trying to install that, the error message changed, saying that I had a version of the app on the tablet from the development work, and I needed to uninstall that.

    I uninstalled that and the new binary installed fine.

    I think the issue all along was an older, development version of the app already on the tablet.

    HTH


    Phil

    Friday, May 2, 2014 10:10 PM