How To Create An App Packages In UWP Project

Introduction

In this article, we’ll learn how we can create an app package (Installation Setup) in UWP application. I hope you will like it.

Create your UWP Application

Step 1

Open Visual Studio and select File >> New Project.

 

The "New Project" window will pop up. Select "Blank App (Universal Windows)", name your project, and click “OK”.

 

A "New Universal Windows Project" window will pop up. Select the target version and minimum version and click “OK”.

 

Step 2

Once your project is ready, open Solution Explorer, click on “MainPage.xaml”, and design the application according to the requirement.

 

Step 3

Right-click Project, click “Store”, and choose "Create App Packages…”.

 

Step 4

There, a new window opens at where you have to click on “No” and click the “Next” button.

 

Step 5

Select the “Output Location” where you want to create the App Packages and choose “Release” from the Configuration drop-down. Then, click the “Create” button. 

 

Step 6

[Note – It’ll take few minutes to create packages kit creation.]

Choose the “Local Machine” option in the Target Device and click on “Close” button.

 

Step 7

Now, go to the Output Location which you have given in the Directory.

Right-click on “Add-AppDevPackage” then click on “Run with PowerShell”.

 
There, an “Administrator Windows PowerShell” Command window opens. Press “Y” to continue. The installation process will start.

 

After finishing the installation process, click Enter.

Open Start Menu and open your installed application. It looks something like the following.