Monday, December 19, 2011

Create Your Metro Style App Package and Share It with your Friends

In this topic, I would like to talk about how to easily create a Metro Style App Package and deploy it to the other developer-enabled Windows 8 PC .

Create a App Package to share with your friends:

  1. In your Visual Studio 11 Express menu bar right click [Store], then right click [Create App Package..]Windows 8 Create App Package 1
  2. In the Build Package dialog, select [Build a package to use locally only], then right click [Next]Windows 8 Create App Package 2
  3. Fill up your package settings in the next dialog and right click [Next]Windows 8 Create App Package 3
  4. Finally, click [Build]Windows 8 Create App Package 4

Install your package that you just built:

  1. Open a file explorer in your Windows 8 PC. Browse to the Packages\YourProjectName_Version_AnyCPU_Debug_Test\Windows 8 Install App Package 1
  2. Use administrator privilege to execute the windows batch file Add-AppxDevPackage.bata in the fold. (If this is the OS that you develop this App, you need uninstall this App first before you able to run this batch file.)Windows 8 Install App Package 2
  3. Allow the program to make changes to your computer.Windows 8 Install App Package 3
  4. Finish installingWindows 8 Install App Package 4

Run your app in your Windows 8 PC:

Windows 8 Install App Package 5

1 comment:

  1. I have a problem when I buid a package with sqlite database it's not working at other computer. please give me one solution . I'm sorry my English not good

    ReplyDelete