How to Deploy Windows App Win32 Using Intune |Language Pack

6
Deploy Windows App Win32 Using Intune

Let’s see option #2 to deploy Deploy Windows App Win32 Using Intune. In this post, I’m going to take an example of language pack deployment using Endpoint Manager Intune. I have explained option #1 to deploy Windows 10 language pack as per Microsoft recommendation.

Introduction

I have explained about Language Packs (LPs) vs Language Interface Packs (LIPs) Vs Local Experience Packs (LXPs) in the previous post. Let’s see how to deploy Language pack using Intune Win32 application (IntuneWin) model.

To work on this solution, you need to get the specific Language Pack cab file. Microsoft still provides download option of language pack files for all the supported languages.

Download CAB File

You can Windows 10, version XXXX Language Pack download from visual studio subscription or VLSC. Once you have the cab file called “Microsoft-Windows-Client-Language-Pack_64en-gb.cab” for en-GB language.

NOTE! – Localization packages for Windows, delivered as a .cab file, for example, Microsoft-Windows-Client-Language-Pack_x64_en-GB.cab. Includes UI elements like text for dialog boxes, menu items, and help files.

Windows 10, version XXXX Language Pack - Deploy Windows App Win32 Using Intune
Windows 10, version XXXX Language Pack – Deploy Windows App Win32 Using Intune
Altaro Office 365 Backup
Advertisement Altaro Office 365 Backup

Install Windows 10 Language Pack

Now, the question is how to deploy this cab file using Intune (Language Pack Deployment) ? There are several ways to install Language pack apart from option #1. The following are some of the most used methods to install Language packs on Windows 10.

  • DISM
    • Example – Dism /Image:”C:\mount\windows” /Add-Package /PackagePath=”C:\repository\Microsoft-Windows-Client-Language-Pack_x64_en-GB.cab”
  • PowerShell
    • Example – Add-WindowsPackage -online “C:\Windows\Temp\LanPack\Microsoft-Windows-Client-Language-Pack_x64_en-gb.cab”

NOTE! – In this guide, I’m going to use the PowerShell command to install language pack.

Deploy Windows App Win32 Using Intune | Language Pack

As I mentioned above Intune Win32 application deployment is the best option to deploy Windows 10 Language Pack. Let’s create a batch files to deploy this CAB file via Intune and then create IntuneWin package.

NOTE! – I don’t know whether this is the best way to deploy Language pack to Intune managed Windows 10 devices. Let me know in the comments what you think?

Create a Batch File for Intune Win32 Application Deployment

  • The following batch file is used as executable while create IntuneWin package. Let’s call it LanguagePack.cmd or LanguagePack.batch.
  • Created a small script options as below to execute the batch file
MD C:\Windows\Temp\LanPack
Copy "%~dp0*.cab" C:\Windows\Temp\LanPack /Y
Copy "%~dp0*.ps1" C:\Windows\Temp\LanPack /Y
PUSHD C:\Windows\Temp\LanPack
PowerShell -NoProfile -ExecutionPolicy Bypass -Command Add-WindowsPackage -online -packagepath "C:\Windows\Temp\LanPack\Microsoft-Windows-Client-Language-Pack_x64_en-gb.cab"
@echo 1.0>C:\Windows\Temp\LanPack\Ver1.0.txt
Del C:\Windows\Temp\LanPack\*.cab
Del C:\Windows\Temp\LanPack\*.ps1

NOTE! – Ver1.0.txt file and Folder Path C:\Windows\Temp\LanPack shall be used while creating Win32 Application from Intune portal.

  • Copy the content above and SAVE this file as LanguagePack.cmd
    • LanguagePack.cmd is the SETUP file
Create a Batch file for IntuneWin package - Deploy Windows App Win32 Using Intune
Create a Batch file for IntuneWin package – Deploy Windows App Win32 Using Intune

Prepare Folder Structure for IntuneWin

  • Copy the CAB file called “Microsoft-Windows-Client-Language-Pack_x64_en-gb.cab” from the above downloaded ISO path “D:\x64\langpacks” to Source folder where you already have languagepack.cmd file.

NOTE! – This guide is to deploy en-GB language pack for Intune managed Windows 10 devices.

Source folder for IntuneWin package - Intune Language Pack Deployment
Source folder for IntuneWin package – Deploy Windows App Win32 Using Intune
  • Also, create IntuneWin_Package folder to store the IntuneWin package.
Folder Structure for IntuneWin package -  Deploy Windows App Win32 Using Intune
Folder Structure for IntuneWin package – Deploy Windows App Win32 Using Intune

Create IntuneWin Package

  • Download the updated IntuneWinAppUtil.exe from GitHub
  • Start the command prompt from the folder where you have downloaded IntuneWinAppUtil.exe file –
  • Run IntuneWinAppUtil.exe file
    • C:\Users\Anoop C Nair\Downloads>IntuneWinAppUtil.exe
  • Enter the Source Folder
    • “C:\TEMP\GL- Language Pack en-GB\Source”
"C:\TEMP\GL- Language Pack en-GB\Source"
“C:\TEMP\GL- Language Pack en-GB\Source”
  • Enter the SETUP fileLanguagePack.cmd (this file is created above!)
Enter the SETUP file  LanguagePack.cmd
Enter the SETUP file LanguagePack.cmd
  • Enter the OUTPUT folder details where IntuneWin package will be created
    • C:\TEMP\GL- Language Pack en-GB\IntuneWin_Package
Intune Language Pack Deployment successfully completed - Deploy Windows App Win32 Using Intune
Intune Language Pack Deployment successfully completed – Deploy Windows App Win32 Using Intune
  • Let check the OUTPUT package (IntuneWin)
    • LanguagePack.intunewin
OUTPUT package (IntuneWin) package -  LanguagePack.intunewin
OUTPUT package (IntuneWin) package – LanguagePack.intunewin

Upload Win32 Application to Intune

Create Windows Win32 Application using Intune -  Apps -> Windows -> Windows Apps
Create Windows App Win32 Application using Intune – Apps -> Windows -> Windows Apps

App Information

  • Click on Select App package file hyperlink from App Information Tab
  • Browse and Select the IntuneWin file (already created above)
  • Click OK to continue
Name: LanguagePack.intunewin
Platform: Windows
Size: 22.48 MiB
MAM Enabled: No
Select App package file hyperlink from App Information Tab - Intune Language Pack Deployment
Select App package file hyperlink from App Information Tab – Intune Language Pack Deployment
  • Enter the Name of the Windows App Win32
    • Language pack en-GB
  • Enter Description of the Windows App
    • Language pack en-GB
  • Enter the Publisher name
    • Microsoft

NOTE! – Above are the mandatory fields. If you want it’s ok to add other fields as well. I have shown one example of adding icons in the below screen capture.

Intune Windows App Win32 - Name, Description, Publisher - Intune Language Pack Deployment
Intune Windows App Win32 – Name, Description, Publisher – Deploy Windows App Win32 Using Intune

Program

In this part of process, you need to Specify the commands to install and uninstall this app. As you might have noticed, there is a setup file which is used during the creation of IntuneWin package. Same batch file name “LanguagePack.cmd” can be used for Install and uninstall in this scenario.

  • Enter the Install command
    • LanguagePack.cmd
  • Enter the Uninstall command
    • LanguagePack.cmd
  • Install Behavior
    • System
  • Click on NEXT to Continue

NOTE! – I have only entered/filled the mandatory options. No need to change other options unless you have specific requirements.

Specify the commands to install and uninstall  - Deploy Windows App Win32 Using Intune
Specify the commands to install and uninstall – Deploy Windows App Win32 Using Intune

Requirements

In this section, need to specify the requirements that devices must meet before the app is installed. I have only selected only the mandatory fields.

  • Select Operating System Architecture
    • 64-bit
  • Select Minimum Operating System
    • Windows 10 1809
specify the requirements that devices - Deploy Windows App Win32 Using Intune
specify the requirements that devices – Deploy Windows App Win32 Using Intune

Detection Rules

In this section, you shall select Configure app specific rules used to detect the presence of the app.

  • Select Manually Configure Detection Rules from drop down list Rules format
Configure app specific rules used to detect the presence of the app
Configure app specific rules used to detect the presence of the app
  • Click on +Add to Create a rule that indicates the presence of the app.
  • Select the Rule Type as File
  • Enter the details of PathFull path of the folder containing the file to detect
  • Enter the File Name to detect
  • Select the Detection Method as File or Folder Exists
Create a rule that indicates the presence of the app Deploy Windows App Win32 Using Intune
Create a rule that indicates the presence of the app Deploy – Windows App Win32 Using Intune

Dependencies

  • Click on NEXT button to continue via Dependencies tab.

NOTE! – Software dependencies are applications that must be installed before this application can be installed. ​There is a maximum of 100 dependencies, which includes the dependencies of any included dependencies, as well as the app itself.

Application Dependencies - Deploy Windows App Win32 Using Intune
Application Dependencies – Deploy Windows App Win32 Using Intune

Scope Tag

In the scope tag section, you shall get an option to Configure scope tags for this Windows App Win32 application.

  • Click on +Select Scope Tags hyperlink option
  • Search for the scope tag to add
  • Click on SELECT button
  • Click on NEXT button to continue
Configure scope tags for this Windows App Win32 application
Configure scope tags for this Windows App Win32 application

Assignments

Let’s define which devices or users shall get the Windows Apps Win32 application. In this scenario, I’m going to deploy this to all devices (why can’t I use en GB OS? well I can use and avoid this scenario). Targeting in Intune is always via either Azure AD device or User groups.

NOTE! – Any Win32 app deployed using Intune will not be automatically removed from the device when the device is retired. The app and the data it contains will remain on the device. If the app is not removed prior to retiring the device, the end user will need to take explicit action on the device to remove the app.

Let’s decide whether you want this application should be deployed as REQUIRED or AVAILABLE or UNINSTALL. There are three options available in Intune assignment.

  • Required – Select the groups for which you want to make this app required. Required apps are installed automatically on enrolled devices. Some platforms may have additional prompts for the end user to acknowledge before app installation begins.
  • Available for enrolled devices – Select the groups for which you want to make this app available. Available for enrolled devices apps are displayed in the Company Portal app and website for users to optionally install. Available assignments are only valid for User Groups, not device groups.
  • Uninstall – Select the groups for which you want to uninstall the app. Apps with this assignment are uninstalled from managed devices in the selected groups if Intune has previously installed the application onto the device via an “Available for enrolled devices” or “Required” assignment on the same deployment.

Language pack deployment should be a required application in this scenario.

  • Required
    • Click on +Add Group
    • Search for Azure AD groups
    • Confirm the selected members
    • Click on Select button to continue with the Win32 application assignment
  • Click on NEXT button to finish the assignment option
Assignment Options - Deploy Windows App Win32 Using Intune
Assignment Options – Deploy Windows App Win32 Using Intune

Review + Create

  • Let’s click on CREATE button to finish the Windows app Win32 application
  • This process shall start the uploading process of IntuneWin application package to Intune
Review + Create - Deploy Windows App Win32 Using Intune
Review + Create – Deploy Windows App Win32 Using Intune
  • Upload is in progress – How much time it will take to complete the upload? It depends on the size of the application and Speed of internet connectivity
Win32 App Upload Process - Deploy Windows App Win32 Using Intune
Win32 App Upload Process – Deploy Windows App Win32 Using Intune

Results

  • Here are the results of Language Pack installation
Language Pack installation - Deploy Windows App Win32 Using Intune
Language Pack installation – Deploy Windows App Win32 Using Intune
  • Deploy Windows App Win32 Using Intune Status!!
Deploy Windows App Win32 Using Intune Status
Deploy Windows App Win32 Using Intune Status

Resources

6 COMMENTS

  1. Anoop, thanks so much for one of many articles that you have guided me with. My purpose for this particular application (and 10 more language packs) is to install them to devices in dynamic device groups. Those groups are based on specific Group Tags (Order ID) that are uploaded during the Autopilot import process. These groups are also used to join the devices to the correct OU across the globe.
    I followed this one and the installation was successful in Intune, yet when I look at the Language Settings page on the client, the Windows Display Language is still English (United States) instead of the Czech LP that was installed. I realize the text file is the detection method and it is true, but there are no visible errors or failures. Can you help with the next steps to troubleshoot? Thanks

      • Yes sir. I switched to your option #1 and used the store for business to assign the language experience pack to dynamic device groups. Our tenant admin had to approve the download for the organization, then a sync made them available. The PowerShell script to force the settings is a required assignment on those dynamic groups as well. Now if I import a device into AutoPilot with the correct Group Tag, the language piece is automatic. Works perfect! Thanks!!

  2. Have you seen any issues with Win32 app detections? I have been trying to push the sccm client after wrapping it in intunewinapputil. During autopilot the deployment works, the client installs, but the detection of c:\windows\ccm folder never works. the logs show detecting c:\windows\ccm result failed so autopilot won’t continue or waits for 180 minutes for the timeout.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.