Install a Windows 8 Modern UI app without the Windows Store

10

7

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.

Shail

Posted 2012-11-04T07:41:36.310

Reputation: 1 155

Answers

13

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

Karan

Posted 2012-11-04T07:41:36.310

Reputation: 51 857

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 – 2012-12-27T17:28:19.410

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 – 2012-12-27T17:42:22.187

I'll do that, thank you :-) At least I know where to start looking now. – TimothyP – 2012-12-27T18:34:09.010

8

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.

Elmo

Posted 2012-11-04T07:41:36.310

Reputation: 12 667

But don't you need Visual Studio installed for this? – pratnala – 2012-11-04T14:47:14.840

No. You don't need Visual Studio. – Elmo – 2012-11-04T14:47:37.820

Does it also apply for Windows RT? – Manuel Faux – 2012-11-17T16:40:32.580

0

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

pratnala

Posted 2012-11-04T07:41:36.310

Reputation: 1 866

You can sideload an Modern UI application on any version of Windows 8 and of course Windows RT. – Ramhound – 2012-11-04T14:46:00.197

Unless it is an enterprise – pratnala – 2012-11-04T14:46:32.610

How will you do it for non-enterprise? – pratnala – 2012-11-04T14:46:49.393

With a developer key of course. Feel free to fix your incorrect information. – Ramhound – 2012-11-04T19:20:07.390

-1

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.

Hyder B.

Posted 2012-11-04T07:41:36.310

Reputation: 147

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 – 2014-01-06T09:53:16.283