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.
After the Installation you can start a new Project, mind to select Blank Windows Phone App and as Language C#:
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 click on the Line of the code from the TextBlock, and Change the values as you want for the message and the size of the message:
Everything is done, you can now test your Application in the Emulator by clicking on this Button in the upper section:
When all is working, go on, and build your App for Deployment through Configuration Manager 2012. Go to “Store and choose “Create App Packages…”:
In the first Screen of the wizard, choose no, because we don’t want to upload our app to the store:
Choose where to save the App Package and if needed your versioning, and that’s it:
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:
When you have corrected this, you can create the Application Package again, and then you should be able to successfully sign the Application:
You can then now go on and add the Application to SCCM:
You can now Change Information like the Name of the App:
Close the wizard by clicking Next twice. Your next step should be to distribute the Application to the Intune Distribution Point, you can do that also afterwards with the deployment wizard:
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.
Now we can log in to our Company Store on the phone, and Install our application:
When the Installation was successful you can start your application from the menu:
Hope this helps.