Install a Windows 8 Modern UI app without the Windows Store

28,453

Solution 1

By default when Windows Store apps are built they are signed using a temporary key for local testing. This requires developers to obtain a developer license from Microsoft, which is free and available to everyone (provided you register). See the links section below if you are interested in getting one.

Now any PC that has a developer license installed is wide open, since by definition the license is to be used only by developers to build and test their apps. End users are not supposed to use this approach to willy-nilly install third-party apps, for obvious security reasons. Instead there is a "proper" sideloading method that Microsoft wants advanced/enterprise users to follow (for normal users, downloading and installing Microsoft-approved apps only from the Windows Store is the recommended safe approach).


"Proper" sideloading involves a Group Policy setting located at Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / App Package Deployment called Allow all trusted apps to install that needs to be enabled first:

1

If the Local Group Policy Editor is not available (such as on Core or RT), you can set the value of the HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx\AllowAllTrustedApps registry key to 1.

Note: As per the name of the setting, only trusted apps can be sideloaded. What this means is that you have to have a certificate on the PC that matches the one used to sign the app (i.e. the app must be signed by a CA that is trusted on the target PC). Uncertified/untrusted apps cannot be installed using this method (and why would you want to?)

Of course, this is just the first step of what promises to be a long and arduous process! Now on Windows 8 Enterprise/Pro non domain-joined PCs, you need to activate an enterprise sideloading product key to enable sideloading of non-Store apps. More about this special key later.

Alternately only on Windows 8 Enterprise/Server 2012, you can enable sideloading just by joining the PC to an Active Directory domain that has the aforementioned Group Policy setting enabled. Windows RT cannot be domain-joined, so the only solution is to use an enterprise sideloading product key as mentioned above.

Once you've got this far, you can obtain the .appx package from the developer and install it (as well as any dependency app packages) by typing a command similar to the following at the PowerShell prompt:

Add-AppxPackage C:\app1.appx –DependencyPath C:\winjs.appx

The developer may also have provided an app-specific PowerShell script (such as the one created by Visual Studio as mentioned by User in his answer, but such a script might require a developer license which is not recommended for end users as discussed above).

To get a list of the sideloaded apps installed, open PowerShell with admin privileges and type the following command:

Get-AppxPackage -AllUsers

For further details including using the Deployment Image Servicing and Management (DISM) command-line tool or PowerShell cmdlets to add apps lacking Windows Store licenses to a windows image (WIM), see the How to Add and Remove Apps TechNet article linked to below.


That pretty much completes the overview of what the "proper" Microsoft-recommended sideloading approach is. Now let's talk a bit about enterprise sideloading product keys required by Windows RT and non domain-joined Windows 8 Enterprise/Pro PCs. These keys are available to select customers through Microsoft's Volume License Service Center (VLSC). See the Volume Licensing Guide for Windows 8 and Windows RT in the links section below for more details. These keys can also be legally bought online (search for the product code J7S-00004). The only downside? They are apparently only available in packs of 100 and retail for around $3000 per pack, so yeah, not exactly cheap.

A further wrinkle thanks to the convoluted process that is Microsoft Volume Licensing/Software Assurance (SA) is that if you buy PCs with retail versions of Windows 8 Pro pre-installed, since retail licenses are not SA licenses, either the sideloading product keys won't work, or they will work and the original licenses will be invalid. If you're scratching your head at this point (a precursor no doubt to a bout of vigorous hair-pulling out of sheer frustration), I recommend you read the It's complicated (isn't that an understatement!) ZDNet article linked to below, since we're getting into enterprise-level licensing and possibly legal issues that are best discussed elsewhere.

Links for Further Reading

Solution 2

Yes, you can but the developer of the app must give it to you. The developer will give you these files:

If you open the .ps1 file, it will first request a developer license for your PC and then install the app that the developer gave you.

This method applies to all versions of Windows 8 : Core, Pro and Enterprise and you don't even need Visual Studio.

Share:
28,453

Related videos on Youtube

Shail
Author by

Shail

I a N00b ;'))

Updated on September 18, 2022

Comments

  • Shail
    Shail over 1 year

    How do I go about installing a Modern UI/Metro app without using the native Windows Store app on Windows 8?

    I don't know if it's even possible or if it is, how the app even gets installed from the Windows Store in such cases.

  • Ramhound
    Ramhound over 11 years
    You can sideload an Modern UI application on any version of Windows 8 and of course Windows RT.
  • pratnala
    pratnala over 11 years
    Unless it is an enterprise
  • pratnala
    pratnala over 11 years
    How will you do it for non-enterprise?
  • pratnala
    pratnala over 11 years
    But don't you need Visual Studio installed for this?
  • Elmo
    Elmo over 11 years
    No. You don't need Visual Studio.
  • Ramhound
    Ramhound over 11 years
    With a developer key of course. Feel free to fix your incorrect information.
  • Manuel Faux
    Manuel Faux over 11 years
    Does it also apply for Windows RT?
  • TimothyP
    TimothyP over 11 years
    Hi, Does that mean I could deploy to 100 Surface tablets for $30 per tablet, assuming I buy the whole pack of course. Might not be a bad solution for my personal situation
  • Karan
    Karan over 11 years
    @TimothyP: I would suppose so, but recommend that you consult someone with specific Volume/Enterprise Licensing expertise to be absolutely sure. Don't want to give you bad advice here that might get you into trouble later.
  • TimothyP
    TimothyP over 11 years
    I'll do that, thank you :-) At least I know where to start looking now.
  • Magnetic_dud
    Magnetic_dud over 10 years
    If you jailbreak you can install apps on iOS without going through the App Store. And even if you don't jailbreak, using testflight or similars