How to Make IntuneWin Package Conversion Easy?

In this post you are going to see how to convert MSI packages into Intune Win format. IntuneWin format is used for Intune application model deployments.

Introduction

If you are wondering why to convert MSI package source to .IntuneWin format, I would recommend reading Vimal’s post here.

There are two ways to convert MSI packages into IntuneWin format:

  • Use IntuneWinAppUtil tool
  • Use Smart Package Studio GUI tool
IntuneWin Package Format
IntuneWin Package Format

You will see both the options in this video and post. I have post which talks more about the Smart Package Studio IntuneWin package creation tool.

IntuneWinAppUtil Command Line Tool to Create IntuneWin Package

There is a command line tool which Microsoft provides you can use that tool to convert your MSI packages into IntuneWin format.

Download IntuneWinAppUtil Command Line Tool from here.

You can see how to run Microsoft’s command line tool to convert MSI packages into IntuneWin format. in the following section and above video. All the detailed steps are explained in the below section of this post.

IntuneWinAppUtil Process

The IntuneWinAppUtil command line tool step by step process is explained in the below section.

  • Start IntuneWinAppUtil -c commandline utility
  • Validating parameters of the command line to covert IntuneWin package
  • Validated parameters
  • Compressing the source folder
  • Calculated size for folder
  • Compressed folder
  • Checking file type
  • Checked file type
  • Encrypting file
  • Encrypted successfully
  • Computing SHA256 hash
  • Computed SHA256 hash
  • Copying encrypted file
  • Generating detection XML file
  • Generated detection XML file
  • Calculated size for folder
  • Compressed folder
  • Removing temporary files
  • Removed temporary files
  • IntuneWin file has been generated successfully
IntuneWin Package Format using  IntuneWinAppUtil .exe
IntuneWin Package Format using IntuneWinAppUtil .exe

IntuneWinAppUtil Example

Let’s check out the example of the conversion process from MSI to IntuneWin format.

  • C:\Users\Anoop C Nair\Downloads>IntuneWinAppUtil -c “C:\Users\Anoop C Nair\OneDrive – ACN\DW\WVD -VDI\Sources\New Source\ACN-WVD\Source” -s setupinstall.cmd -o “C:\Users\Anoop C Nair\OneDrive – ACN\DW\WVD -VDI\Sources\New Source\ACN-WVD\IntunePkg”
  • Validating parameters
  • Validated parameters with 18 milliseconds
  • Compressing the source folder ‘C:\Users\Anoop C Nair\OneDrive – ACN\DW\WVD -VDI\Sources\New Source\ACN-WVD\Source’ to ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Contents\setupinstall.intunewin’
  • Calculated size for folder ‘C:\Users\Anoop C Nair\OneDrive – ACN\DW\WVD -VDI\Sources\New Source\ACN-WVD\Source’ is 2428 with 1 milliseconds
  • Compressed folder ‘C:\Users\Anoop C Nair\OneDrive – ACN\DW\WVD -VDI\Sources\New Source\ACN-WVD\Source’ successfully with 93 milliseconds
  • Checking file type
  • Checked file type with 7 milliseconds
  • Encrypting file ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Contents\setupinstall.intunewin’
  • ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Contents\setupinstall.intunewin’ has been encrypted successfully with 20 milliseconds
  • Computing SHA256 hash for C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Contents\156371f8-2c72-4c47-b6fb-c2694c4330bf
  • Computed SHA256 hash for ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Contents\156371f8-2c72-4c47-b6fb-c2694c4330bf’ with 13 milliseconds
  • Computing SHA256 hash for C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Contents\setupinstall.intunewin
  • Computed SHA256 hash for C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Contents\setupinstall.intunewin with 20 milliseconds
  • Copying encrypted file from ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Contents\156371f8-2c72-4c47-b6fb-c2694c4330bf’ to ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Contents\setupinstall.intunewin’
  • File ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Contents\setupinstall.intunewin’ got updated successfully with 14 milliseconds
  • Generating detection XML file ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage\Metadata\Detection.xml’
  • Generated detection XML file with 50 milliseconds
  • Compressing folder ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage’ to ‘C:\Users\Anoop C Nair\OneDrive – ACN\DW\WVD -VDI\Sources\New Source\ACN-WVD\IntunePkg\setupinstall.intunewin’
  • Calculated size for folder ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage’ is 3612 with 0 milliseconds
  • Compressed folder ‘C:\Users\Anoop C Nair\AppData\Local\Temp\8971276-e6f0-4d6e-acndf-6f93e1dacnbs1\IntuneWinPackage’ successfully with 26 milliseconds
  • Removing temporary files
  • Removed temporary files with 5 milliseconds
  • File ‘C:\Users\Anoop C Nair\OneDrive – ACN\DW\WVD -VDI\Sources\New Source\ACN-WVD\IntunePkg\setupinstall.intunewin’ has been generated successfully

Smart Package Studio GUI Tool

I’m going to explain through this video that there is a GUI tool to convert MSI packages into IntuneWin format. This tool is called smart package studio and you can download the trial version of this tool from below link.

Download the trial version of Smart Package Studio from here.

IntuneWin Package Format Smart Package Studio
IntuneWin Package Format

More detailed step by step IntuneWin package creation process is explained in the following post “Convert MSI to IntuneWin Packages Smart Package Studio IntuneWin Tool

When you use smart package studio to convert MSI packages into IntuneWin format, there are some additional benefits. The conversion process is very straightforward, and it will automatically create a text file with all the details.

This text file will have the details like command Line information for install, uninstall, and MSI product code etc.

The information in the text file is very useful when you create in tune application using IntuneWin format. Let’s check out the video you know more about this package creation process.

Resources

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More