How to create a basic package manifest

To package your app, you must create a package manifest that contains the elements that are required by that the package manifest schema.

Alternatively, you can package your app using Visual Studio. See Packaging your app using Visual Studio.


Step 1: Create the .xml File

Create a file named AppxManifest.xml using a text editor.

Step 2: Add the basic template

Add this template to AppxManifest.xml.

<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="">
  <Identity Name="" 
            Publisher="" />
    <Resource Language="" />
    <Application Id="" StartPage="">
      <VisualElements DisplayName="" Description=""
           Logo="" SmallLogo=""  
           ForegroundText="" BackgroundColor="">
         <SplashScreen Image="" />

The next steps show you how to fill in the elements and attributes that are required to complete the template.

Step 3: Add the identity info

The Identity element has 3 required attributes. Here's an example Identity element with placeholder text for the attributes. The values of the Name attribute and the Publisher attribute (the values of CN, O, L, S, and C) in the example below are provided by the store, for apps which are uploaded to the store.

<Identity Name="MyCompany.MySuite.MyApp" 
          Publisher="CN=MyCompany, O=MyCompany, L=MyCity, S=MyState, C=MyCountry">

Step 4: Add the package properties

The Properties element has 3 required child elements. Here is an example Properties node with placeholder text for the elements. The DisplayName is the name of your app that you reserve in the store, for apps which are uploaded to the store.


Step 5: Add the prerequisites

Here is an example Prerequisites node.


Step 6: Add the resources

Here is an example Resources node.

  <Resource Language="en-us" />

Step 7: Add the optional info

You can use the Applications element to specify one or more apps for the package. Note that although each package can contain one or more apps, packages that contain multiple apps won't pass the Windows Store certification process.

The entry for an app must specify certain attributes of the VisualElements element and a SplashScreen element. This entry can also specify a DefaultTile element. Here is an example Applications node with placeholder text.

  <Application Id="MyApp" StartPage="default.html">
    <VisualElements DisplayName="My App" Description="A useful description." 
         Logo="images\icon.png" SmallLogo="images\small_icon.png" 
         ForegroundText="dark" BackgroundColor="#FFFFFF" >
      <SplashScreen Image="images\splash.png" />

Related topics

How to create a package manifest manually



© 2015 Microsoft