Deploy Win32 applications from Microsoft Intune

By | April 15, 2018

UPDATE:  Mine this post is out dated, but I still keeping it. 🙂 For deploy Win32 apps from Microsoft Intune, please read this:
http://www.scconfigmgr.com/2018/09/24/deploy-win32-applications-with-microsoft-intune/

I found this post from my draft today, I was writing it in last year December, I have no idea why I didn’t finish and publish it, somehow I just forgot.

In this moment, we cannot deploy Win32 applications from Microsoft Intune, my idea is put those application source media files on Azure Storage file share, use Intune management extension deploy PowerShell script to install those applications.

The original plan was use AzCopy download those source files to local device, then install the application.  I tweeted that on Twitter, very soon I got reply from Phil Wilcock , he suggested “how about use bits?”.  So with a little help from my friend Ari Saastamoinen, I got it working.

This is not a solution how to deploy complicate applications via Intune for enterprise environment, I just want to show an idea what you can do with Azure Storage.
For example, Johan write an excellent post Cloud OS Deployment, Part 1 – Running MDT Task Sequences from Microsoft Intune

If you want more information about Microsoft Intune management Extension, follow my friend Oliver Kieselbach ( @okieselb )
And read this post:  Deep dive Microsoft Intune Management Extension – PowerShell Scripts
https://oliverkieselbach.com/2017/11/29/deep-dive-microsoft-intune-management-extension-powershell-scripts

I am going to deploy notepad++ 7.3.3: 

  1. Setup Azure file share. I don’t write details in here how to do this, you can find it from here
  2. I created a File share name fireshare01  (I meant to name it fileshare01, but there is typo. 😀 )

  3. Write down your Storage account Access keys

  4. Run this PowerShell script map your Azure file share to your computer, this is for make easier copy installation media to the file share.

  5. You should see you have a new network drive Z:

  6. I copy Notepad installation source files to Z:\Notepad.
    I am using PowerShell App Deployment Toolkit to make my installation package, make sure your installation is 100% silent install.

  7. Create a PowerShell script, and save it as Install-Notepad.ps1

  8. Go to Azure Portal, open IntuneDevice configurationPowerShell scripts – Add

  9. Add your Install-Notepad.ps1 script, run the script as System Account, not logged on credentials.

  10. Assign it a group.
  11. Login to a AAD joined Windows 10 machine with the user account that has been assigned to run Intall-Notepad.ps1
  12. In C:\ProgramData\Microsoft\IntuneManagementExtension\Logs folder, you should find IntuneManagementExtension.log
    In this log file, there are details which script has been run, and what is result.
  13. Finally, I saw my Notepad++ Installed.

 

 

 

 

 

Leave a 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.