Thursday, December 15, 2011

Creating an Appx Package

In order to turn an application that runs in windowed mode into a full screen Metro application, I had to package it and deploy it. There are already a few places with lots of information about what's required for this, so I'll just go over the important steps I gathered from the following:

The steps I use to manually create an appx package are:
  1. Create a valid Appxmanifest.xml
  2. Package the files using makeappx.exe
  3. Sign the appx package with sign tool
  4. Use the PowerShell cmdlets to install the package to the dashboard: Add-AppxPackage, Get-AppxPackage, and Remove-AppxPackage.
I basically followed Peters guide for all of this.

Once it's running on the Desktop fullscreen, you might want to hook up a debugger. For that you need to tell it you intend on debugging. IPackageDebugSettings allows you to enable, disable, suspend, or resume debugging a package. Microsoft has provided a command line utility wrapper around this class that allows you to do this easily.

If anyone can provide me information on how to get a process (for example, a debugger after you've used IPackageDebugSettings to enable debugging) to launch a Metro app the same way Explorer does when you click it on the desktop, I'd appreciate it.


  1. I am so glad to be given a chance to read your wonderful article. Im looking forward to read more of your works and posts. You did a good job! Try to visit my site too and enjoy.

  2. Lovely post! I started blogging last year, and have been doing on-going research. This sounds very helpful!
    RPG Maker MV Torrent


  3. provides all the type of #moving solutions, no matter where you want to shift into the city or shift another city or another country ..
    Packers And Movers Bangalore Charges

  4. Hi – It’s good to read such interesting content. I agree with much of what is written here and I’ll be coming back.
    Thanks again for posting such great reading material!! To get more relevant information visit here
    Packers And Movers Gurgaon
    Packers And Movers In Gurgaon charges

  5. I must say you had done a tremendous job,I appreciate all your efforts.Thanks alot for your writings......Waiting for a new 1...Please visit our wonderful and valuable website:
    Packers And Movers in Bangalore charges

  6. We Provide Best Packers And Movers Hyderabad List for Get Free Best Quotes,Compare Charges, Save Money And Time, Household Shifting Services

    Packers And Movers Hyderabad charges
    packers and movers in kphb colony

    packers and movers in kukatpally

  7. Find Best and Cheap Packers and Movers in Vasant Kunj (Delhi) With Affordable Price at Dealkare.

  8. Anyone can accesss Logistics Companies that provide you enjoyable answer of logistics services of cargo, warehouse, transport, car transportation, hire truck tempo, packers and movers etc.

    Know more>>

    Movers and Packers Greater Kailash

    Movers and Packers Dwarka

  9. Successfully move the household goods from old home resident to different using shifting company.

    Know more>>