Senior Consultant Dan Svendsen. Employed by CapaSystems since 2006. Dan is a competent and careful consultant with much focus on the client. He is detail-oriented in all he does. He is also the driving force behind CapaFactory.

Store Apps: The primary purpose of this article is to provide you with a solution on how to install Microsoft Store apps through CapaInstaller.

However, much of the content can also be valuable, if you are managing another client management tool.

Challenge

If you want to deploy Microsoft Store apps through a client management tool, you will probably face 2 major challenges.

  1. Installation files for Microsoft Store apps are not always easy to obtain and are rarely provided as MSI or EXE files.
  2. Microsoft Store Apps are user-based, and most client management tools are executing scripts in the SYSTEM account context

Download application files for deployment

First we need to download the installation files for the Microsoft Store app – these files are using AppxBundle as file extension.

In this article we will use the Microsoft Wireless Display Adapter app.

Open the Microsoft Online Store (not the built-in Microsoft Store) in your favorite webbrowser and search for the desired app.

Copy the URL from the address bar.

Remove all text after and including the question mark.

Open your favorite online link generator for Microsoft Store. In this example we are using https://store.rg-adguard.net/

Copy the link into the online link generator and choose Retail as type

You are now presented with a long list of files for the both the application and for all the mandatory prerequisites.

Download the newest version of the application (AppxBundle) you want to install.

You have now solved the first major challenge

Enable Apps Sideload

Before we can install the application, we need to allow Windows to Sideload apps

You can use the interface to enable the setting

.. or you can use the registry editor to enable the setting

Test installation

We are now ready to test the installation. Install the downloaded application using the PowerShell command below from an elevated PowerShell command prompt.

Add-AppxPackage -Path C:\temp\Microsoft.SurfaceWirelessDisplayAdapter_3.4.137.1000_neutral___8wekyb3d8bbwe.AppxBundle

Deploy through CapaInstaller

CapaInstaller has an option to execute package scripts in user context – the scripts are called User Configuration Scripts

User configuration scripts are executed the first time a user logs on, after the computer package containing the user configuation script has been installed.

Hence, all you need to do, is to create a computer package with a user configuration script.

The main script in the computer package is used to copy the installation files to a temporary location on the computer.

The user configuration ccript in the computer package is used to install the application from the temporary location.

You have now solved the second major challenge and are ready to deploy the Microsoft Store app.

Field Notes

This section contains various notes from the field, that might come in handy when deploying or testing Microsoft Store apps.

Application Dependencies

Even though AppxBundle files contains all mandatory dependencies, sometimes a core component in the operating system is outdated and not compatible with the application that you are trying to install.

In the example below, we are trying to install the Microsoft Company Portal 2019 app, but the Microsoft .NET Framework component is outdated. The required .NET component version is 2.2.27405.0 but the installed version is 2.2.27011.0

If you already have the concerned app installed somewhere, you can query all the mandatory dependencies using the PowerShell command described later in this post.

Installation as Local System Account

As I mentioned earlier, one of the major challenges when you want to install Microsoft Store apps, is that they are user-based.

Trying to install a Microsoft Store app using the SYSTEM account often causes failure, as the one below.

Add-AppxPackage -Path C:\temp\Microsoft.SurfaceWirelessDisplayAdapter_3.4.137.1000_neutral___8wekyb3d8bbwe.AppxBundle

Internet Access

Microsoft Store apps requires internet access the first time they are started.

Without internet access, the app will only blink, the first time it is started.

PowerShell Commands

Get-AppxPackage

When a Microsoft Store app is installed, you can view the prerequisites (also called dependencies) by running the command below.

Get-AppxPackage -Name Microsoft.Surface*

Remove-AppxPackage

If you need to uninstall a Microsoft Store app, you can run the command below.

Get-AppxPackage -Name Microsoft.Surface* | Remove-AppxPackage

Download the free Whitepaper

 

"From operations to strategy"

 

You’re very likely facing this every day—a requirement for increased automation throughout the organization in order to raise competitiveness and also increase user satisfaction. That’s a difficult balancing act, and only few people succeed.

 

Download the free Whitepaper from CapaSystems and read more...

Thank you for signing up. You will receive a link to our free Whitepaper in your inbox.

Download the free Whitepaper regarding Digital Employee Analytics

 

"Employees are (also) the real success factor in the digital era"

 

In today’s digital world, employees build their careers on the ever-changing opportunities presented to them. So, competitiveness requires more from companies than ever before — you need to present your corporation as attractive as possible to existing as well as future employees.

Therefore, you need to incorporate the Employee Experience, which includes all aspects of the relation between the employee and the employer.

 

Download the free Whitepaper from CapaSystems and read more...

Thank you for signing up. You will receive a link to our free Whitepaper in your inbox.

Download the free Whitepaper

 

"How to select the right software provider"

 

Software providers abound, and very likely they will call you again and again wanting to present their solutions.

CapaSystems has made a brief guide with concrete advice on what you need to be aware of when you contemplate switching software providers or wish to integrate a new system in your organization.

 

Download the free Whitepaper from CapaSystems and read more...

Thank you for signing up. You will receive a link to our free Whitepaper in your inbox.

Download a free Whitepaper regarding the CIOs role in the future

 

"CIO as business developer"

 

It is crucial that businesses’ CIOs are able to identify, select and evaluate the IT services that provide maximum insight and increase growth and productivity. That requires tools that provide up-to-date operational insight into services’ functionality and stability.

 

Download the free Whitepaper from CapaSystems and read more...

Thank you for signing up. You will receive a link to our free Whitepaper in your inbox.

User Experience

Download free whitepaper regarding performance issues and end user simulation

 

"Solve your performance issues with end user simulation"

 

A recent study showed that Danish employees waste an average of 144 hours a year on slow computers. To a company of 500 employees, that is hundreds of thousands of Danish kroner. This whitepaper describes how you can minimise waiting time by having your IT provider comply with your service agreements.

 

Download the free Whitepaper from CapaSystems and read more...

Thank you for signing up. You will receive a link to our free Whitepaper in your inbox.

Download free Whitepaper from CapaSystems regarding performance issues and how to awoid wasting time

 

"Analyze infrastructure and use time efficiently"

 

Performance problems and long login times can easily cost businesses and organizations time that corresponds to several full-time jobs every year. It can be hard to identify the roots of the problems with traditional solutions.

End-user performance monitoring, however, provides an overview that covers the entire infra-structure – from end users to network and server applications. That provides an accurate, factual basis for correcting current problems and for nipping future problems in the bud.

 

Download the free Whitepaper from CapaSystems and read more...

Thank you for signing up. You will receive a link to our free Whitepaper in your inbox.

Download free whitepaper regarding BYOD

 

"Bring Your Own Device?"

 

Mix of personal and business applications on same IT devices makes IT departments worry.

But what about the security of your company in this universe of personal and business apps provided by a Bring Your Own Device (BYOD) culture?

 

 

 

Download the white paper from CapaSystems and read more...

Thank you for signing up. You will receive a link to our free Whitepaper in your inbox.

Download free whitepaper regardingShadow IT

 

"Cast new light on Shadow-IT"

 

It’s a challenge when employees and business units purchase technology and IT services without involving the IT department. You easily lose perspective of finances, agreements and where important information is located –and if you’re not able to name who’s responsible for support from day one, a service outage risks being interpreted as internal trouble, even though the IT department has nothing to do with it.

 

 

Download the Whitepaper from CapaSystems and read more...

Thank you for signing up. You will receive a link to our free Whitepaper in your inbox.

Download free whitepaper regarding security

 

"3 steps to secure the company against data sheft"

 

It is said that a chain is only as strong as its weakest link. Therefore, your weakest link in the IT systems will have to be properly secured. Here are our suggestions for three things that can secure your IT infrastructure.

 

 

Download the Whitepaper from CapaSystems and read more...

Thank you for signing up. You will receive a link to our free Whitepaper in your inbox.