{"id":1611,"date":"2014-11-10T22:22:05","date_gmt":"2014-11-10T21:22:05","guid":{"rendered":"http:\/\/sccmfaq.wordpress.com\/?p=1611"},"modified":"2014-11-10T22:22:05","modified_gmt":"2014-11-10T21:22:05","slug":"sccm-2012-r2-create-your-own-windows-phone-8-1-app-and-deploy-it-with-sccmintune","status":"publish","type":"post","link":"https:\/\/blog.hosebei.ch\/?p=1611","title":{"rendered":"SCCM 2012 R2 &#8211; Create your own Windows Phone 8.1 App and deploy it with SCCM\/Intune"},"content":{"rendered":"<p>Hey, here&#8217;s Martin.<\/p>\n<p>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.<\/p>\n<p><strong>Before you begin<\/strong>: Be sure that you have a Code Signing Certificate for windows mobile Devices.<\/p>\n<p>Everything starts with Visual Studio Express 2013 for Windows, you can get it for free from Microsoft.<!--more--><\/p>\n<p>After the Installation you can start a new Project, mind to select Blank Windows Phone App and as Language C#:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp01.png?w=300\" alt=\"New Project\" width=\"300\" height=\"207\" class=\"aligncenter size-medium wp-image-1612\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp01.png 959w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp01-300x208.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp01-768x532.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In the opened window, just double-click &#8220;MainPage.xaml&#8221; 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.<br \/>\nThen simply Take a TextBlock from the Toolbox to the emulated Screen:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp02.png?w=300\" alt=\"Add TextBlock\" width=\"300\" height=\"153\" class=\"aligncenter size-medium wp-image-1613\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp02.png 1581w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp02-300x153.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp02-1024x523.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp02-768x393.png 768w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp02-1536x785.png 1536w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>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:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp03.png?w=300\" alt=\"Modify Text\" width=\"300\" height=\"200\" class=\"aligncenter size-medium wp-image-1614\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp03.png 1539w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp03-300x201.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp03-1024x685.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp03-768x514.png 768w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp03-1536x1028.png 1536w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Everything is done, you can now test your Application in the Emulator by clicking on this Button in the upper section:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp04.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp04.png?w=300\" alt=\"Emulator\" width=\"300\" height=\"35\" class=\"aligncenter size-medium wp-image-1616\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp04.png 742w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp04-300x36.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>When all is working, go on, and build your App for Deployment through Configuration Manager 2012. Go to &#8220;Store and choose &#8220;Create App Packages&#8230;&#8221;:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp05.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp05.png?w=300\" alt=\"Create App Package\" width=\"300\" height=\"148\" class=\"aligncenter size-medium wp-image-1617\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp05.png 812w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp05-300x149.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp05-768x380.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In the first Screen of the wizard, choose no, because we don&#8217;t want to upload our app to the store:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp06.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp06.png?w=300\" alt=\"First Step\" width=\"300\" height=\"243\" class=\"aligncenter size-medium wp-image-1618\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp06.png 800w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp06-300x243.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp06-768x622.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Choose where to save the App Package and if needed your versioning, and that&#8217;s it:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp07.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp07.png?w=300\" alt=\"Settings\" width=\"300\" height=\"243\" class=\"aligncenter size-medium wp-image-1619\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp07.png 801w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp07-300x243.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp07-768x623.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>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:<\/p>\n<p><code>\"C:Program Files (x86)Windows Kits8.1binx64signtool.exe\" sign \/fd SHA256 \/a \/f [Path to Cert] \/p [PW of Cert] [Path to Application]<\/code><br \/>\nSo as an example<br \/>\n<code><br \/>\n\"C:Program Files (x86)Windows Kits8.1binx64signtool.exe\" sign \/fd SHA256 \/a \/f c:tempcert.pfx \/p supersafe C:tempsimpleApp.appx<\/code><\/p>\n<p>If you are getting an error, you can go to the Event-Log, under &#8220;Application and Services&#8221;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 &#8220;Package.appxmanifest&#8221; the Publisher as shown in the Event-Log:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp08.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp08.png?w=300\" alt=\"Modify Publisher\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-1623\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp08.png 1099w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp08-300x228.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp08-1024x779.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp08-768x584.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>When you have corrected this, you can create the Application Package again, and then you should be able to successfully sign the Application:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp09.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp09.png?w=300\" alt=\"Sign\" width=\"300\" height=\"28\" class=\"aligncenter size-medium wp-image-1625\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp09.png 643w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp09-300x28.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>You can then now go on and add the Application to SCCM:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp10.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp10.png?w=300\" alt=\"Create Application Wizard\" width=\"300\" height=\"247\" class=\"aligncenter size-medium wp-image-1626\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp10.png 788w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp10-300x247.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp10-768x634.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>You can now Change Information like the Name of the App:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp11.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp11.png?w=300\" alt=\"Configure Application\" width=\"300\" height=\"246\" class=\"aligncenter size-medium wp-image-1627\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp11.png 793w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp11-300x247.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp11-768x631.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>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:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp12.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp12.png?w=300\" alt=\"Distribute Content\" width=\"300\" height=\"254\" class=\"aligncenter size-medium wp-image-1628\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp12.png 712w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp12-300x255.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>I don&#8217;t show the deployment wizard, because we should have done this a lot of times already, don&#8217;t we? Anyway, mind that you can also choose to create a required deployment, when your Mobile Devices are configured for Company owned.<\/p>\n<p>Now we can log in to our Company Store on the phone, and Install our application:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp13.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp13.jpg?w=168\" alt=\"CreateApp13\" width=\"168\" height=\"300\" class=\"alignnone size-medium wp-image-1630\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp13.jpg 720w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp13-576x1024.jpg 576w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a> <a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp14.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp14.jpg?w=168\" alt=\"CreateApp14\" width=\"168\" height=\"300\" class=\"alignnone size-medium wp-image-1631\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp14.jpg 720w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp14-576x1024.jpg 576w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a> <a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp15.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp15.jpg?w=168\" alt=\"CreateApp15\" width=\"168\" height=\"300\" class=\"alignnone size-medium wp-image-1632\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp15.jpg 720w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp15-576x1024.jpg 576w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a> <a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp16.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp16.jpg?w=168\" alt=\"CreateApp16\" width=\"168\" height=\"300\" class=\"alignnone size-medium wp-image-1633\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp16.jpg 720w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp16-576x1024.jpg 576w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a> <a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp17.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp17.jpg?w=168\" alt=\"CreateApp17\" width=\"168\" height=\"300\" class=\"alignnone size-medium wp-image-1634\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp17.jpg 720w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp17-576x1024.jpg 576w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a><\/p>\n<p>When the Installation was successful you can start your application from the menu:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp18.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp18.jpg?w=168\" alt=\"CreateApp18\" width=\"168\" height=\"300\" class=\"alignnone size-medium wp-image-1635\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp18.jpg 720w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp18-576x1024.jpg 576w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a> <a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp19.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2014\/11\/createapp19.jpg?w=168\" alt=\"CreateApp19\" width=\"168\" height=\"300\" class=\"alignnone size-medium wp-image-1636\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp19.jpg 720w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2014\/11\/createapp19-576x1024.jpg 576w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/a><\/p>\n<p>Hope this helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey, here&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,10,24,35,37],"tags":[],"class_list":["post-1611","post","type-post","status-publish","format-standard","hentry","category-application-management","category-byod","category-mdm","category-sccm-2012","category-software-deployment"],"_links":{"self":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/1611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1611"}],"version-history":[{"count":0,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/1611\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}