locked
Cannot install appx or appxbundle package RRS feed

  • Question

  • I'm ready to betatest my UWP app on my different computers. For that I'm following the article "Packagin Universal Windows apps Windows 10". After struggling a bit with the different sizes of icons needed to scale the graphics properly, it finally generated the files needed to install it. :)

    Visual Studio then moves on to run the "Windows App Certification Kit" (step 10 under "Create an app package"). This should be as easy as just clicking "Next" a bunch of times and just wait, but it fails!



    I tried to run the certification manually by starting the certification kit directly from the start menu. When I select a package to certificate, it fails. If I use Visual Studio to "debug" the app in Release, it passes (so at least that's good news).

    Following the article "How to troubleshoot app package signature errors" I looked in the Event Viewer, but can't find any other references to the error codes.

    Event Viewer errors

    The error message "**A resource does not have default or neutral value**" is really not helpful when it's not specifying the what resource it's talking about. The link is to the article "Troubleshooting packaging, deployment, and query of Windows Store apps" does not help in my situation either as it only gives "The package can't be registered. Check the AppXDeployment-Server event log for more info." for the error code 0x80073CF6, and that's where I was looking. The other error code (0x80073B06) is not mentioned there at all.


    I also get the same error when I try to install the package using the PowerShell script. I install the certificate first (under "Trusted People" as I'm told), and then run the script in powershell. I've tried with and withouth administrator rights. And on three different computers.

    Powershell gives this error:
    powershell errors


    I'm not sure where to take it from here. I was hoping to put this in the Windows Store as I need help beta-testing, but so far it's not looking good! This is a simple app based on Template10 with no other dependencies (as far as I know). :(

    What am I missing or doing wrong?


    • Edited by Moskus Saturday, June 18, 2016 6:08 PM additional info
    Saturday, June 18, 2016 6:00 PM

Answers

  • I found the solution. I removed all the Assets icons, and re-added them one by one. That worked!
    • Marked as answer by Moskus Sunday, June 19, 2016 7:45 PM
    • Edited by Moskus Sunday, June 19, 2016 7:45 PM
    Sunday, June 19, 2016 7:45 PM

All replies

  • Is your test device OS version matches the app target OS version?
    Saturday, June 18, 2016 8:17 PM
  • I think so. Here's from the Package.appmanifest:

      <Dependencies>
        <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
      </Dependencies>

    Sunday, June 19, 2016 5:15 PM
  • Go to Project -> Properties  

    Sunday, June 19, 2016 7:32 PM
  • I found the solution. I removed all the Assets icons, and re-added them one by one. That worked!
    • Marked as answer by Moskus Sunday, June 19, 2016 7:45 PM
    • Edited by Moskus Sunday, June 19, 2016 7:45 PM
    Sunday, June 19, 2016 7:45 PM