Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

4 Answers 4

up vote 10 down vote accepted

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

share|improve this answer
    
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 –  TimothyP Dec 27 '12 at 17:28
1  
@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. –  Karan Dec 27 '12 at 17:42
    
I'll do that, thank you :-) At least I know where to start looking now. –  TimothyP Dec 27 '12 at 18:34

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|improve this answer
    
But don't you need Visual Studio installed for this? –  pratnala Nov 4 '12 at 14:47
    
No. You don't need Visual Studio. –  Zuck Nov 4 '12 at 14:47
    
oh that's cool. thanks for the info –  pratnala Nov 4 '12 at 14:48
    
Does it also apply for Windows RT? –  Manuel Faux Nov 17 '12 at 16:40

No it is not currently possible without going through Windows Store. It's similar to the Apple Store. You can't install app on your iPhone/iPad without going through the Apple Store.

However, other than Metro UI app you can install it without the Windows Store app.

share|improve this answer
    
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 –  Magnetic_dud Jan 6 at 9:53

It is possible in an enterprise environment (Windows 8 Enterprise) where sideloading of apps is possible. Else, no is the answer. Apps are installed as packages (a group of files) which are stored in various locations on the system. Only the process wwahost.exe knows how to run these as an app.

Piracy, it may be possible if the OS is jailbroken IMO

EDIT: It is possible in non-enterprise machines as well with a developer key. Thanks to @ramhound

share|improve this answer
    
You can sideload an Modern UI application on any version of Windows 8 and of course Windows RT. –  Ramhound Nov 4 '12 at 14:46
    
Unless it is an enterprise –  pratnala Nov 4 '12 at 14:46
    
How will you do it for non-enterprise? –  pratnala Nov 4 '12 at 14:46
    
With a developer key of course. Feel free to fix your incorrect information. –  Ramhound Nov 4 '12 at 19:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.