How to Upload an .intunewin File into Intune

Published by

on

This post will explain how to upload an .intunewin file into Intune. The .intunewin file is a compressed Windows based file which contains all the files necessary for Intune to install an application to a remote workstation.

In this example, we are using the .intunewin file which will deploy SQL Server 2022 Dev Edition to Windows workstations silently. To see how the SQL Server 2022 installer was prepared, visit Silent SQL Server 2022 Installation for Microsoft Intune.

All that is left to do is to upload the .intunewin file into Intune!

Easy, right?

Let’s break it down below ↓

1. Login to the Intune Admin Center then click on the Apps section.

2. In Apps Overview, click All Apps or Windows

3. Select Add, Select App Type, Windows App (Win32), and Select.

4. App information

Select app package file. This is where you navigate to the location where you output the .intunewin file on your local machine.

For this example, we will use the SQL Server 2022 Dev Edition package we built from the Create .intunewin Files Using IntuneWinAppUtil tutorial.

Press OK once you have located the output .intunewin file.

Fill out the mandatory sections with the * and press Next. Some fields are pre-filled but you can customize the fields on this page as needed.

6. Program

In this section we will configure the applications installation behavior.

Install/Uninstall command defines how the program will install and uninstall.

Since we used .bat files for the installer and uninstaller in the SQL Server 2022 application package folder, we referenced the names of those files in the install and uninstall command fields.

Command line switches can also be used here, but this section only seems to allow for single line commands. Please see Microsoft’s Add and Assign Win32 Apps documentation for an in-depth explanation on alternative installer commands.

Allow available uninstall allows the end user to uninstall the application from the Company Portal.

Install behavior will install the application for all users on the machine (System), or only the user who logs in (User).

Device restart behavior defines if you want to force the machine to restart as a part of the app installation process.

7. Requirements

Define the minimum requirements the device must meet before the application is installed.

8. Detection rules

Configure how Intune will detect that the application is installed successfully. This prevents Intune from attempting to reinstall the application.

I am choosing to manually configure detection rules.

From previous tests, I know that a successful install of SQL Server 2022 Dev Edition will create the path C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\SQL2022\setup.exe.

Uninstalling SQL Server 2022 will also remove that file. Since this is a 64-bit app running in a 64-bit Windows environment, I have selected No.

9. Dependencies

Some applications require other applications to be installed before they will install.

If that is the case, you would need to build those applications and reference them here.

Windows 10 22H2, which we require in step 7, has the necessary framework to successfully install SQL Server 2022

10. Supersedence

If you want an application to upgrade an older version of an already installed application.

For instance, if an older version of SQL Server were installed, you can attempt to replace it with a later version.

In our scenario, this will be the only version of SQL Server that is installed.

11. Assignments

Choose which devices, groups, or users will receive the installation.

In the required section, we chose to install SQL Server 2022 Dev Edition to a group. Any devices in that group will be scheduled to install the application.

For a tutorial on how to create Intune groups, please visit How to Create Intune Groups.

By selecting Included under group mode, the specified group(s) will be included in the application installation. Groups can also be excluded.

There are other customization options available:

Filter mode allows you to fine tune which devices will be included or excluded from the installation group.

End user notifications provides visual information in the notification center about the installation’s progress.

Availability and App installation deadline determine how quickly the application will be installed.

Delivery optimization determines the priority of the application download when bandwidth is being shared.

12. Review + Create

Review your application’s deployment settings. If you are satisfied, click Create.

13. Finish

You will see this while Intune builds your deployment package.

After a successful build you will see the application status update and the app will be listed in the Apps section of Intune.

Well done!

You have created a Windows application deployment package in Intune.

Back to Top

Visit Create .intunewin Files Using IntuneWinAppUtil for a tutorial on how to use IntuneWinAppUtil to create Windows .intunewin application packages.

Visit How to Create Intune Groups to learn how to create user and device groups in Microsoft Intune.

.intunewin 2022 admin administration app asia bangkok beaches bukit bintang engineer engineering gardens by the bay install intune intune groups intunewinapputil islands jalan alor johor bahru karon kata kathu kuala lumpur malaysia marina bay sands microsoft ocean phang nga bay phuket silent singapore sql sqlserver thailand travel vacation windows

One response to “How to Upload an .intunewin File into Intune”

  1. […] instance, when we uploaded our SQL Server 2022 .intunewin package, we decided that the application would only be installed to in a group called Install – SQL […]

Leave a Reply to How to Create Intune Groups – Tea, Travel, and TechCancel reply

Discover more from Tea, Travel, and Tech

Subscribe now to keep reading and get access to the full archive.

Continue reading