Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • GitHub
  • Windows 11
  • About the author
CCMEXEC.COM – Enterprise Mobility

Intune Win32 App deployment – A gamechanger

Posted on October 8, 2018October 9, 2018 by Jörgen Nilsson

One of the biggest limitations in Microsoft Intune has been that we can only deploy single-file .MSI’s and not .EXE installers. With the release of Win32app install support (in Preview) that limitation is now gone!

Not only does it support legacy setups like .exe files for instance we can also use it for advanced .MSI files with more that one file and Transform files as well.
That is a great feature, if you select an .MSI file to install when we create the wrapped installer it actually fills in Uninstall Command and Detection method for us automatically.
Let’s have a look at how it works when we add an .MSI file using the Win32app option which was a a pleasant surprise that it added command line and detection rule automatically when a .MSI file is selected.

To start with we need to create a wrapped file containing all the files needed by the setup using the Intune win32app wrapping tool which can be found here: https://github.com/Microsoft/Intune-Win32-App-Packaging-Tool 

We use that tool to create an “.Intunewin” file that can be uploaded to Intune, it will ask for folder and executable to run. Note that the current file size limitation on the .Intunewin file is 2GB in Technical preview.

Now we have our .Intunewin file we can use with Intune.

Once that is done we can log on to the Azure Portal and create our application.

We now get a couple of pages with information to enter about our application. As we can see we can configure detection rules to define if the installation is successful or not. We get all of that filled in if we selected an .MSI file to deploy during the creation of the .IntuneWin file. 😀

App Package file, this is where we select the file that should be uploaded to Intune.

We then go through the wizard step by step

The next step is the program to run, as we selected the .MSI file before the command line is already created for us which makes it so simple.

We add our transform file to the command line so it looks like this instead.

Requirement, here we can set requirement for the application to install, Windows 1o versions, memory, disk space and more.

Detection rules, this is something we are used to in Configuration Manager, in our example as we selected an .MSI when we created the IntuneWin file the detection rule is already filled in for us under MSI. We can use script, registry, file or MSI product code.

We can also add our own return codes and what they mean as well.

When we click Add to add the application we have created, we get this dialog until the upload of our .IntuneWin file is completed, it can take a while depending on the Internet connection that is being used.

Now we are ready to deploy our newly created Windows Installer App with an .MST.

For me this is a Game Changer and closes the one thing I missed the most in Intune, it is simply a great addition! I will follow up this post with a more detailed on troubleshooting Win32app deployment.

More information can be found in the Ignite session recording on the topic: https://myignite.techcommunity.microsoft.com/sessions/64593#ignite-html-anchor

And the official documentation: https://docs.microsoft.com/en-us/intune/apps-win32-app-management

 

  • IntuneWin
  • Win32App
  • 9 thoughts on “Intune Win32 App deployment – A gamechanger”

    1. patrick says:
      October 8, 2018 at 11:15 am

      tried to add Adobe Illu, got a file 2.X GB big but when adding the App Package file, the field says “The value should not be empty” after selecting the new created file.

      Reply
      1. patrick says:
        October 8, 2018 at 11:33 am

        tried some more apps, I was able to upload a 1.88 GiB file. So 2 GB is max in this Preview?

        Reply
        1. Jörgen Nilsson says:
          October 8, 2018 at 1:35 pm

          Hi,
          I checked around a bit and it Shouldn’t be but I will check..
          Regards,
          Jörgen

          Reply
    2. Oliver Kieselbach says:
      October 8, 2018 at 1:50 pm

      @Jörgen: great walkthrough!

      @patrick: the official documentation says 8GB for public preview
      Intune Standalone – Win32 app management
      https://docs.microsoft.com/en-us/intune/apps-win32-app-management

      Prerequisites for public preview
      Windows 10 client needs to be:
      – joined to Azure Active Directory (AAD) or Hybrid Azure Active Directory, and enrolled in Intune (MDM-managed)
      – Windows application size is capped at 8GB per app in the public preview

      Reply
      1. Jörgen Nilsson says:
        October 9, 2018 at 6:38 am

        Thanks Oliver!
        The documentation has now been updated to 2GB limit in Preview. So you are correct Patrick that it doesn’t work with files larger than 2GB.
        Regards,
        Jörgen

        Reply
    3. patrick says:
      October 9, 2018 at 12:56 pm

      thanks for the update 🙂
      Finally we have a product that i can trust and rely on, the powershell script wrap is fun for testing but not for production environment.

      Reply
    4. Morten says:
      November 28, 2018 at 9:44 pm

      I created a simple GUI wrapper for the packaging tool. Useful when creating many .intunewim files.
      Thought i would share it here.
      Link:
      https://www.mroenborg.com/intunewinapputilgui/

      Reply
      1. Jörgen Nilsson says:
        November 29, 2018 at 5:55 pm

        Hi,
        Thanks! It looks really good!
        Regards,
        Jörgen

        Reply
    5. Pingback: Copy and associate CMTrace using Intune Win32App and PowerShell – CCMEXEC.COM – Enterprise Mobility

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

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

    My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
    All code is provided "AS-IS" with no warranties.

    Recent Posts

    • Community tools demoed at WPNinjas 2023
    • PowerShell script to keep Personal Teams away in Windows 11
    • Windows 11 Multi-App kiosk – a first look
    • Playing around with Driver Updates in Intune
    • MMUGSE – Summer Meetup 8th of June 2023

    ©2023 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
    This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
    Privacy & Cookies Policy

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
    Non-necessary
    Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
    SAVE & ACCEPT