Convert MSI to IntuneWin Packages Smart Package Studio IntuneWin Tool

2
Learn How to Convert MSI Packages to IntuneWin Package - Home

Are you wondering whether there is any GUI tool to convert existing MSI package folder to “.IntuneWin?” If so, this post will help you to understand the GUI tool to convert MSI package folder to IntuneWin packages. Intune Windows App is a powerful application deployment feature similar to SCCM application model.

Related Posts

1. How to Create Intune Windows App (Win32) & Deploy
2. Learn Intune Windows App (Win32) Troubleshooting

Introduction IntuneWin Packages

I’m a GUI lover. I don’t like command line tools. It’s annoying for me 🙂 But, that is just me. In this post, I will introduce you to an excellent GUI tool convert MSI package source to .IntuneWin packages.

Microsoft has an excellent tool called IntuneWinAppUtil.exe to convert existing MSI packages to .IntuneWin.

If you are wondering why to convert MSI package source to .IntuneWin format, I would recommend reading Vimal’s post here. I’m planning to have a couple of other follow up posts on:

  • How to Compile a project directly to an IntuneWin package (in addition to an MSI package)
  • Extract the contents of existing IntuneWin packages

Let’s Start Intune Windows App (Win32) Packaging

You need to Install Smart Package Studio to create a Windows App (Win32) for application deployment in Intune. The .IntuneWin is the application type used for Intune Win32 application model.

Download the Trial version of Smart Package Studio

Microsoft has its own Win32 Content Prep Tool is the command line tool for Intune Windows App (.IntuneWin) package. But in this post, I’m going to use Smart Editor.

  • Launch Smart Editor tool from Start Menu – Smart Package Studio.
  • You need to login with user name and password. Authentication of user name and password requires an internet connection.
  • Click on IntuneWin Package option from Smart Editor to create an IntuneWin package from an existing directory.
  • Click on Browse button from Create IntuneWin package wizard- Create an IntuneWin package for use with Microsoft Intune.

An IntuneWin package can contain any number of files and directories necessary for a package to be installed, and this smart editor wizard will help to generate one .IntuneWin file ready for deployment.

  • Start by specifying the directory which contain the package files. Everything in this directory will be embedded into the IntuneWin package: Select the Browse button to “C:\Sources\Smart Package”.

Note! – Make sure that you selected the directory which has only required for that package.

  • Click on Next button to proceed.
  • Select primary setup file of the package source which you want to install through Intune.

NOTE! – The primary setup file is the file that Intune will use in the installation command when uploading the package. If an MSI file is selected, information from it is embedded into the generated package.

  • The MSI file that I selected in this example is RDCMan.msi.
  • Click on NEXT button to proceed to the next page
  • Set package information is the screen where you can view and edit the primary setup file details.

NOTE! – If you have selected MSI file as the primary setup file in the previous page, this page will populate all the MSI related information. I feel this information is similar to one get filled during SCCM application creation wizard.

  • The following details will be taken from MSI and populated in the set package information page of create IntuneWin package wizard.
    • Name – Remote Desktop Connection Manager
    • Install Command – msiexec.exe /i “RDCMan.msi”/qn
    • Uninstall command – msiexec.exe /x {173A2B7F-535A-4403-A454-B41531EF0D7F} /qn
    • Repair Command – msiexec.exe /fup {173A2B7F-535A-4403-A454-B41531EF0D7F} /qn
    • Detection methodMSI product code {173A2B7F-535A-4403-A454-B41531EF0D7F}
    • Detection method: File
    • Detection method:Registry
  • Click Next button to continue.

NOTE! – I love the above mentioned customization option of Package Studio Smart Editor tool. You can change the name of the IntuneWin package (Intune Windows App). You can add silent command lines and detection methods. It’s useful in real-world scenarios.

  • Generate Package is the page of Smart Editor IntuneWin Package wizard will help to create the Intune Windows App (Win32).
  • You can Specify the folder and file name of the IntuneWin file to generate.
  • Click on Create button to start the creation of .IntuneWin package for Intune Windows App deployment.

Output Intune Windows App (Win32App) IntuneWin Package

The Intune Windows App (.IntuneWin – “Remote Desktop Connection Manager.intunewin”) created in the above section.

Now, you can upload the InutneWin packages to Intune and deploy this bundled app as Intune Windows Apps. Intune Windows App model is similar to SCCM application model. But, Intune app model is a subset of SCCM app model from a feature parity perspective.

The handy feature of using Smart Package Studio Smart Editor to convert MSI package folder to IntuneWin format is the text file provided as part of the conversion procession.

== Smart Package Studio IntuneWin README ==
The file "Remote Desktop Connection Manager.intunewin" was generated by
Smart Package Studio on 14-04-2019 20:14:45 and
should be imported into Intune with the following parameters:
Install command : msiexec.exe /i "RDCMan.msi" /qn
Uninstall command : msiexec.exe /x {173A2B7F-535A-4403-A454-B41531EF0D7F} /qn
Detection method : MSI product code {173A2B7F-535A-4403-A454-B41531EF0D7F}

The following picture provides a comparison of the MSI file and IntuneWin file.

Upload IntuneWin Package to Intune

You are ready to upload the InutneWin package to Intune portal. Intune application model can be created with the help of text and IntuneWin files.

  • Login to Device Management Portal.
  • Click Microsoft Intune -> Client Apps blade.
  • Click on Apps and then click on “+Add“.
  • From the Add app blade – Select the options called “Windows App (Win32)” from drop down list to upload IntuneWin package.
  • From App Package File Blade Browse and select the IntuneWin package which you want to upload (created above).
    • App Package File – “Remote Desktop Connection Manager.IntuneWin”
    • Name: Remote Desktop Connection Manager
    • Platform:Windows
    • Size: 436.23KB
    • MAM Enabled: No
  • Click on OK button to complete the upload process.
  • More details about the Intune Win32 application creation and deployment are explained in the following blog post – How to Create and deploy Intune Win32 App.

NOTE! – If the OK button is not enabled after selecting the IntuneWin package, there could be a possibility that the .IntuneWin package is NOT valid. Try to use different tenant, different browsers to confirm whether it’s an Intune Windows App package issue or not.

Resources

2 COMMENTS

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.