Cannot install UWP app: Unspecified error

0

When trying to install the appx file on my customer's machine (off store), I get the following error that says "MyProj.UWP installation failed", Reason: Unspecified error.

The app does install properly on my machine.

Any clue how I can trace down the error? The app wasn't installed on the target machine, from what I checked in Apps & Features.

enter image description here

Update

Thanks to @Nico's answer, the unspecified error is gone, now I'm rather having this error:

Ask the developer for a new app package. This package may conflict with a package already installed, or it depends on things not installed here (package dependencies), or is made for a different architecture (0x80073CF3).

I selected Debug - x86 and Any CPU when packaging the app.

installation
uwp
windows-10
xamarin.uwp
appx
asked on Stack Overflow Sep 18, 2017 by Shimmy Weitzhandler • edited Sep 19, 2017 by Shimmy Weitzhandler

3 Answers

1

If your min target version is higher than the customer's machine OS version, it will fail to be installed. Please recreate app package with minimum sdk version to match the customer's machine.

answered on Stack Overflow Sep 19, 2017 by Nico Zhu - MSFT • edited Sep 19, 2017 by Nico Zhu - MSFT
1

The solution to the second half of my question (see update), was selecting "Generate app bundle" in the VS package creator, then installing the dependencies manually on the target machine (from he generate Dependencies folder supplied with the package).

Afterwards, the app installed without issues.

answered on Stack Overflow Sep 19, 2017 by Shimmy Weitzhandler
0

You can also run into an issue where the dependencies have updated without you noticing. I've found the "Get-AppxLog -All" powershell command useful, also it might be helpful to check the page "Troubleshooting packaging, deployment, and query of Windows Store apps".

If you create an Appx Bundle then the dependencies will all be in a folder next to the .appxbundle file.

answered on Stack Overflow May 25, 2018 by Herman

User contributions licensed under CC BY-SA 3.0