{"id":13434,"date":"2012-09-03T13:02:00","date_gmt":"2012-09-03T12:02:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=13434"},"modified":"2012-09-03T13:02:00","modified_gmt":"2012-09-03T12:02:00","slug":"licensing-the-sideloading-apps-on-windows-8-pcs","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=13434","title":{"rendered":"Licensing The Sideloading Apps on Windows 8 PCs"},"content":{"rendered":"<p>Something weird popped up on the Microsoft Volume Licensing pricelist today that the sales folks had to ask me about.&#160; I guessed that this was related to sideloading of apps as was promised in Windows 8, but I wasn\u2019t sure of the specifics.&#160; I did some <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/hh852635.aspx\" target=\"_blank\">Googling<\/a>.<\/p>\n<p>There\u2019s a very good chance that mid-to-large enterprises will want to develop their own in house <strike>Metro<\/strike> \u2026<strike>Windows 8 Style<\/strike> \u2026 <strike>Modern UI<\/strike> \u2026 *For Fu*k\u2019s Sake!!!* Metro apps to run on their Windows 8 PCs.&#160; It\u2019s extremely unlikely that they\u2019ll want to do this through the Microsoft Store.&#160; It is possible to <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=242873\" target=\"_blank\">sideload<\/a> those apps onto Windows 8, bypassing the Microsoft Store.&#160; The tools will certify your app, making it a trusted app (see the GPO stuff later).<\/p>\n<p><em>Note, this applies only to Metro apps.&#160; Desktop apps are installed the same way as they always have, and don\u2019t need to be treated any differently as they were on XP, Vista, or Windows 7.<\/em><\/p>\n<p>There are two things you need to deal with.<\/p>\n<p><strong><u>Allow Apps To Be Sideloaded To Windows<\/u><\/strong><\/p>\n<p>There are two steps to enabling Windows to allow an app to be sideloaded:<\/p>\n<ol>\n<li><a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=242873\" target=\"_blank\">Sign\/package the app<\/a> with a trusted certificate.<\/li>\n<li>Configure the registry manually, via script, or via group policy to allow trusted apps to be added to Windows.<\/li>\n<\/ol>\n<p>You can configure domain-joined machines to permit trusted apps to be sideloaded using Group Policy:<\/p>\n<ol>\n<li>Start the Group Policy editor (gpedit.msc).<\/li>\n<li>Navigate to&#160; Local Computer Policy, Computer Configuration, Administrative Templates, Windows Components, App Package Deployment.<\/li>\n<li>Open the Allow All Trusted Apps To Install setting.<\/li>\n<li>Click Enabled and then click OK.<\/li>\n<\/ol>\n<p>This GPO configuration will set the following registry setting: HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsAppxAllowAllTrustedApps = 1.&#160; <\/p>\n<p><strong><u>Allow Sideloaded Apps To Be Run<\/u><\/strong><\/p>\n<p>If have Windows 8 <em>Enterprise<\/em> (only available if your Windows 8 Pro PC is licensed with Software Assurance) or Windows Server 2012 then you can enable sideloading of apps on those machines by:<\/p>\n<ol>\n<li>Joining the machines to a domain<\/li>\n<li>Configuring the above Allow All Trusted Applications To Install GPO.<\/li>\n<\/ol>\n<p><em>Alternatively<\/em>, if you have any other edition of Windows 8 (such as Windows 8 Pro) or if the machine must not be domain-joined then you must:<\/p>\n<ol>\n<li>Configure the above registry key.<\/li>\n<li>Activate a sideloading product key using Slmgr.vbs.&#160; And that\u2019s the new SKU that our sales people saw in this month\u2019s Microsoft VL price list.     <\/li>\n<\/ol>\n<p><strong><u>Deploying the App<\/u><\/strong><\/p>\n<p>According to <a href=\"http:\/\/blogs.msdn.com\/b\/windowsstore\/archive\/2012\/04\/25\/deploying-metro-style-apps-to-businesses.aspx\" target=\"_blank\">Microsoft<\/a> there are two ways to deploy the app.<\/p>\n<p>To inject an app into a WIM image before PC deployment then you can use DISM:<\/p>\n<p><em>DISM \/Add-ProvisionedAppxPackage \/PackagePath:C:App1.appx \/SkipLicense<\/em><\/p>\n<p>If the PC is already deployed then you can use PowerShell:<\/p>\n<p><em>Add-AppxPackage C:ContosoAppExpenseApp.appx<\/em><\/p>\n<p>You can use Get-Appxpackage to determine if an app is installed and perform updates to it by running:<\/p>\n<p>Add-AppxPackage <a href=\"file:\/\/\\FileserverContosoAppv1.1ExpenseApp.appx\">\\FileserverContosoAppv1.1ExpenseApp.appx<\/a><\/p>\n<p><strong><u>Windows RT<\/u><\/strong><\/p>\n<p>All of the above applies to the x86\/x64 editions of Windows 8.&#160; If you\u2019re running Windows RT then the experience is <a href=\"http:\/\/blogs.msdn.com\/b\/b8\/archive\/2012\/04\/19\/managing-quot-byo-quot-pcs-in-the-enterprise-including-woa.aspx\" target=\"_blank\">simpler<\/a> by using a \u201cmanagement client\u201d.&#160; Don\u2019t ask me a thing about it; like 99.9999% of the world\u2019s population, I\u2019ve not see Windows RT in person yet.<\/p>\n<p><div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:902a5590-8229-4690-9596-9a32bcc35cd9\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Windows+8\" rel=\"tag\">Windows 8<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Licensing\" rel=\"tag\">Licensing<\/a><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Something weird popped up on the Microsoft Volume Licensing pricelist today that the sales folks had to ask me about.&#160; I guessed that this was related to sideloading of apps as was promised in Windows 8, but I wasn\u2019t sure of the specifics.&#160; I did some Googling. There\u2019s a very good chance that mid-to-large enterprises &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=13434\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Licensing The Sideloading Apps on Windows 8 PCs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[50],"tags":[183,109],"class_list":["post-13434","post","type-post","status-publish","format-standard","hentry","category-windows-desktop","tag-licensing","tag-windows-8"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/13434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13434"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/13434\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}