question

OliverFallon-4540 avatar image
0 Votes"
OliverFallon-4540 asked RoyLi-MSFT answered

Why can't I install my app?

Hi, I am trying to install a UWP app with a AppxManifest.xml file by typing this command into PowerShell.

227999-screenshot-2022-08-04-104511.png


However, there is an error.
228041-image.png


I have developer mode turned on.
228042-image.png


I am running Windows 10 Home 21H2 and am up to date.

windows-uwp
image.png (34.0 KiB)
image.png (267.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered

Hello,

Welcome to Microsoft Q&A!

It seems that you are trying to sideload a UWP app on your application via PowerShell. You are running the wrong file as the installation script. The AppxManifest file is just a list of the app's properties.

When you created a sideload package, there should be an AppDevPackage.ps1 in the package folder and this is the file that you need to run with PowerShell.

Please take a look at this document for more information about how to generate a package and install it: Generate an app package


Thank you.


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.