DESKTOP

Managing Windows 8 native applications (part 4) - Sideloading apps in Windows 8,Inventorying and removing apps

6/3/2014 3:11:09 AM

Sideloading apps in Windows 8

Sideloading refers to a process for installing native Windows 8 applications that are not available in the Windows Store on devices within an organization. An example of this might be a line-of-business application the organization uses that was developed in-house.

To sideload applications on Windows 8–based computers, the computers must be domain joined or use a Windows sideloading product key on the computer. To configure Group Policy for domain-joined sideloading, complete the following steps:

  1. Search for gpedit.msc on the Start screen.

  2. Expand the following path in the left navigation pane:

    Computer Configuration\Administrative Templates\Windows Components\App Package
    Deployment
  3. Double-tap or double-click the Allow All Trusted Apps To Install policy object, set the policy to Enabled, and then tap or click OK.

Important

WINDOWS 8 PRO AND DOMAIN-JOINED PROPERTIES

Windows 8 Pro cannot use domain-joined properties for application sideloading. A sideloading product key is required.

To activate a sideloading product key, type slmgr /ipk <sideloading product key> at an elevated command prompt and press Enter.

Adding sideloaded apps to a user account

Individual app packages can be sideloaded for specific user accounts on a Windows 8–based computer. To add a line-of-business app for a user account, complete the following steps:

  1. Launch Windows PowerShell as an administrator by searching for PowerShell on the Start screen and selecting Windows PowerShell. Press and hold or right-click and select Run As Administrator.

  2. In the command line, type the following command, substituting <path to …> with the paths to your app packages:

    add-appxpackage <path to app package>.appx -DependencyPath <path to dependent file
    1>.appx
  3. Press Enter to execute the command.

There is no limit to the number of sideloaded apps that can be installed; however, use an image for deployment if there is a large number of apps to load or a large number of systems on which to load them.

Adding sideloaded apps to an image

Sideloaded apps can be added to an image either by using the Deployment Image Servicing and Management (DISM) console, which allows images to be created or modified offline, or by using Windows PowerShell cmdlets.

Using DISM, enter the following command:

DISM /Online /Add-ProvisionedAppxPackage /PackagePath:<path to package>.appx /
SkipLicense

To use PowerShell, enter the following command:

Add-AppxProvisionedPackage -Online -FolderPath <Path to folder containing packages>

Important

A PREREQUISITE FOR RUNNING SIDELOADED APPS

The computer does not need to have the sideloading product key installed before apps can be sideloaded. However, until the product key is installed, the sideloaded apps will not run.

Inventorying and removing apps

After apps have been sideloaded, information can be gathered about these applications on either a per-user basis or for all users. The information includes application title and installation and the manifest information for sideloaded apps. In addition to the sideloaded apps, these commands can be used with apps installed from the Windows Store.

Using Windows PowerShell

To list applications for all users, enter the following:

Get-appxpackage -allusers

To list the details for a specific package and specific user account, enter the following:

Get-appxpackage -name <package name> -user domain\username

Note

VIEWING APPS FOR OTHER ACCOUNTS

Viewing apps installed for accounts other than the currently installed user account requires an elevated session.

A package manifest is a file that contains product information and installation details about an app package.

To view package manifest information for an app, enter the following:

Get-appxpackagemanifest -package <full package name>

To remove an app from Windows 8, enter the following:

Remove-appxpackage <package>

To remove a provisioned app from an image, enter the following:

Remove-appxprovisionedpackage -online -packagename <Package Name>

Figure 7 shows the results of get-appxpackage in PowerShell for the Bing Maps App.

The app package details for the Bing Maps application

Figure 7. The app package details for the Bing Maps application

Using DISM at the command line

To list apps provisioned in an image, enter the following:

DISM.exe /Image::c:\provisionedimages /get-provisionedappxpackages

where c:\provisionedimages is the path to the location of the images.

To remove a provisioned app from an image, enter the following:

DISM.exe /Online /Remove-ProvisionedAppxPackage /Packagename:<package name>

The ability to manage applications developed specifically for an organization will encourage app development to meet specific business needs by using Windows 8.

Other  
  •  Windows 8 : Managing traditional desktop applications (part 2) - Controlling program settings for traditional applications
  •  Windows 8 : Managing traditional desktop applications (part 1) - Using Windows Installer in Windows 8, Running Windows Installer packages and MSIExec
  •  Windows Server 2008 R2 : Active Directory certificate services (part 2) - Deploying Active Directory Certificate Services
  •  Windows Server 2008 R2 : Active Directory certificate services (part 1) - Planning for Active Directory Certificate Services
  •  Windows Server 2008 R2 : Administering group policy (part 2) - Creating and managing Group Policy Objects, Troubleshooting Group Policy
  •  Windows Server 2008 R2 : Administering group policy (part 1) - Overview of Group Policy
  •  Windows Server 2008 R2 : Administering groups and organizational units
  •  Windows 8 : Troubleshooting Startup Problems - Computer Takes Too Long to Start (part 2) - Start in Safe Mode
  •  Windows 8 : Troubleshooting Startup Problems - Computer Takes Too Long to Start (part 1) - Advanced startup
  •  Microsoft Windows Server 2008 R2 : Administering user and computers
  •  
    Top 10
    Extending LINQ to Objects : Writing a Single Element Operator (part 2) - Building the RandomElement Operator
    Extending LINQ to Objects : Writing a Single Element Operator (part 1) - Building Our Own Last Operator
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    3 Tips for Maintaining Your Cell Phone Battery (part 1) - Charge Smart
    OPEL MERIVA : Making a grand entrance
    FORD MONDEO 2.0 ECOBOOST : Modern Mondeo
    BMW 650i COUPE : Sexy retooling of BMW's 6-series
    BMW 120d; M135i - Finely tuned
    PHP Tutorials : Storing Images in MySQL with PHP (part 2) - Creating the HTML, Inserting the Image into MySQL
    PHP Tutorials : Storing Images in MySQL with PHP (part 1) - Why store binary files in MySQL using PHP?
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS