Using Windows App Certification Kit from Command Line

Before you publish an application to Windows Store you should execute the Windows App Certification Kit. You can do this by using it’s UI, but it takes a long time to move through the wizard. It faster to write a .bat for command line.

Create a .bat file

  1. Find out your package name
    Run Power Shell and execute…

    Get-AppXPackage

    A list of all package names is shown. Copy your package name into the clipboard.

  2. Use the following .bat file template and put in your package name.
    del %~dp0\report.xml
    "C:\Program Files (x86)\Windows Kits\8.0\App Certification Kit\appcert.exe" reset
    "C:\Program Files (x86)\Windows Kits\8.0\App Certification Kit\appcert.exe" test -apptype windowsstoreapp -packagefullname <InsertYourPackageNameHere> -reportoutputpath %~dp0\report.xml
    pause
  3. Execute the .bat file as administrator.

More Information

More detailled information can be found here

http://msdn.microsoft.com/en-us/library/windows/apps/hh694081.aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: