Hey, here’s Martin.
Today I decided to create a simple App to demonstrate how you can deploy our own Apps within System Center 2012 Configuration Manager R2 connected to Microsoft Intune.
Before you begin: Be sure that you have a Code Signing Certificate for windows mobile Devices.
Everything starts with Visual Studio Express 2013 for Windows, you can get it for free from Microsoft.
In the opened window, just double-click “MainPage.xaml” to open the Main Screen of the App. You will then see the Code for the main Page, and an emulated Screen, which is not always accurate for displaying.
Then simply Take a TextBlock from the Toolbox to the emulated Screen:
Now we Need to sign our application Package. This is done with the following command and the SignTool.exe resides in the Windows Kit Installation Folder. So my command was:
"C:Program Files (x86)Windows Kits8.1binx64signtool.exe" sign /fd SHA256 /a /f [Path to Cert] /p [PW of Cert] [Path to Application]
So as an example
"C:Program Files (x86)Windows Kits8.1binx64signtool.exe" sign /fd SHA256 /a /f c:tempcert.pfx /p supersafe C:tempsimpleApp.appx
If you are getting an error, you can go to the Event-Log, under “Application and Services”MicrosoftWindowsAppxPackagingOM you will find more information. Most likely, your Publisher in the App is not the same like from the cert. Then just modify in your “Package.appxmanifest” the Publisher as shown in the Event-Log:
I don’t show the deployment wizard, because we should have done this a lot of times already, don’t we? Anyway, mind that you can also choose to create a required deployment, when your Mobile Devices are configured for Company owned.
Hope this helps.