How To Deploy Win32 Applications in Microsoft Intune

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so in today's video stick around to learn how to deploy either simple or complex applications using win32 apps in microsoft intune and if you're new to this channel my name is harry louds i'm a technology strategist for microsoft and the goal is channels to really help you learn technology but also show you something that'll hopefully help you or your organization so we're going to look at actually deploying adobe acrobat reader because i think a lot of you are probably in the scenario we've had to deploy this to your you know fleet of windows 10 machines so we're going to go through a few things we're going to look at actually preparing your files for microsoft intune and what that takes we're then going to create the application in microsoft intune and then we're going to look at just deploying it and the end user experience so let's go ahead and dive into that first stage and look at how you can prepare an application for microsoft intune okay so first up you can't just go ahead and just upload this msi or executable straight off the bat into the win32 application option we've actually got to convert this file or prepare this file into an intune win file so there's a couple of things we want to do for that well firstly is really kind of a planning thing is that we want to make sure that we've gathered the application or the install media that we need and then you've gone ahead and tested it so tested it in stools and uninstalls with the correct you know kind of command line parameters so what i actually did is i downloaded the adobe reader dc i then extracted the executable and then under my source files here i've got all the executable file the msi file and msp and you also know there's an mst file as well and i'm showing this because this gives you an example of kind of that complex win32 application so i actually downloaded the adobe customization tool and from there set a few things for my install you know already except the euler make sure you really suppress the install and there's no reboots and you know don't go upselling any more adobe products to my end users all that kind of jazz and that built me this acro read mst file and then after i had that then i made sure that i tested all the install and uninstall and i created a little notepad file here and you can see it's got key information like what's the display name going to be who's the publisher again what's the install and you can see here i'm actually using the setup xc and we'll talk more about this later on and then i got the uninstall string for the msix executable as well and also the detection method so i've gone ahead and got all this information prior to actually doing any work in microsoft intune as a pro tip do the work up front to test that it works so you don't have to spend ages troubleshooting and wondering why something didn't work so now we're at this stage we've got adobe acrobat kind of ready to go now we need to go back into this documentation here and i'm going to show this maybe for the first time but you know we're going i'm looking here at this prepare win32 app content for upload first you see a few prerequisites gotta be windows 10 1607 must be azure active directory and auto enrolled devices for example and then windows applications can't be above a gig but here's the important part and this kind of goes through that process flow that we were just talking about so you can see gavin media validate command for insta windows we've done all that at this point now we're going to go ahead and create this intune win file and go from there so up here you can see that you can download the microsoft 32 content prep tool and that's what we're going to do so i'm going to click into here and it's going to take us to github and then from github all you need to do is just hit this code option and then do download zip and of course from this document you can read more about the application what some of the you know switches our parameters are for the app as well but now it's downloaded we're going to go ahead and go to downloads and i'm just going to go and extract all these files just extract them here that's fine and then i'm going to take this in tune win app util so if we just copy this and then we're going to move it back into our win32 app location and this is important you actually i'm just going to put this in the root you don't want to put it in the application folders itself because that this whole section is going to get compressed and then made into that in tune win file so keep it outside of the folder that you've got all of your application packages in so now that we've got that downloaded now let's go ahead and use the tool i've now bought up an admin command prompt and from here i've navigated to that same location you see documents youtube win32 apps same thing on the right here now i'm going to run this intune win app util so let's just go ahead i'm just going to do intune winapp util and hit enter and now the first thing it's going to do is say please specify a source folder and the source is all the source files for the application so in this case it's everything under adobe dc so if i just copy that i can then paste that over and hit enter and now it's going to ask for the actual specific setup file and we've got the executable and the msi i could choose either here but i'm actually going to choose the msi and the reason for that is if you choose number sign and you want to show it because it's pretty cool if you choose another site it's already going to start adding some of that information into the kind of wizard as we start creating the application in tune things like the msi app id for example so i'm now going ahead just put acro read msi and hit enter and now it's going to say hey please specify the output folder so what i've done here is i've just done a location called intune app output and we're going to put the file in there and now let's just hit paste on that i'm not going to worry about this having any kind of catalog folder so i'm just going to do no here and then hit enter now this is only going to take you know maybe a minute or two on your computer but it's going to go ahead and go through all those steps to creating this intune win file for us and there we have it we can see that that went through the through the creation process we've now got a notification saying it's done and we can see on the left hand side we now have this acro read in tune win file and this is what we're now going to take to microsoft in tune and we're going to upload it and create the application based on what we've built here so at this stage we've done most of our preparation in the fact that we've got our acrobat file or adobe reader here as an intune win file now we need to go ahead and actually get this uploaded and created as an application within microsoft intune so i'm in the microsoft endpoint manager admin console here and we're going to want to go to apps and then under by platform we're going to go to windows and then from windows we're just going to go ahead and choose add and then go to add type and then choose windows app which you can see in brackets says win32 and from here it kind of confirms what we already know this is for custom or in-house win32 apps and you need to make sure that you use a dot in tune win format which you know we're ahead of the game here we've already got that built so let's just choose select and now we need to select that application package and browse for the intune.win file that we created so i'm just going to go to win32 apps and then our intune app output and choose that acro read.intunewin file that we just created a minute ago and then choose ok so now we just need to go ahead and actually put in some of the applications information you can see there's only a few fields here at the top that are actually required and one of them is publisher and because we've already been you know very organized i already have the publisher in our notepad so i'm just going to paste that in and then next on app version well this is required this is currently the old version because i chose that msi it took that version but because we're going to be applying an msp i'm just going to put in the latest version that msp is going to install so i'm just going to copy that and paste that here as well and the next sections are all optional you can choose whether or not you want to put it in a category you can say whether it should be a featured app and you can see you can do things like privacy url owner notes and so on and so forth and the more you fill in here of course the more your users will you know get to understand why and what this application is for and then even though it's you know technically written here as as optional the logo you know i do recommend you put the logo just going to help anyone out there using the you know the company porter application or whatever they're just going to be able to see visually what the application is hopefully from the logo so i'm going to do select image and then i'm going to browse to my icons here so if i go win32 apps i just have a folder for icons and then i've got the acrobat icon in there and i'm just going to select that and hit ok and that's everything i'm going to do for the basic app information so let's just go ahead and hit next and then from program here's where we're going to specify really how does this application get installed on our users computers and this is pretty this is pretty cool stuff and the reason i chose that msi file earlier on was to really show you that here it's already started to pre-populate the wizard with some of those install commands and uninstall command i'm actually not going to use these but i wanted to show that as an example of what would happen if you do an msi so what i'm going to do is go back to our file here and i'm going to choose our setup.exe and the reason for that is it's just going to use the mst and the msp a little bit better than the msi will without me doing more work but you can see that i did use an msi parameter for logging as well and then for the uninstall string our command i could just leave this as it is but yeah again i love a bit of logging so i've just put the pretty much the same thing here but i've gone ahead and added logging and made sure that there is no restart possible so let's just paste that in as well so at that point we have our install command and our uninstall command for the program and then you need to choose your device restart behavior so you can see here that you could the app install may force a restart you could mandatory do a restart i'm actually going to do no specific action and you can see here if you choose no specific action that's basically just saying look we're going to suppress the device from restarting after the app has been installed so that's what i'm going to do and then at the bottom here you can just see the the general return codes and this is very similar if you're in something like configuration manager or anything like that you know 3010 is a soft reboot you know zero is a success most of the time you can just leave this as default unless you know that your application for some reason has a different return code and then we're going to go ahead and hit next and now from requirements and requirements is pretty much as you would expect just does this device meet these requirements if it does then go ahead and install the application if it doesn't well then don't install the app so for example here operating system you know we're going to say yes it's good for a 32-bit machine and yes it also works on a 64-bit machine we can do that and then in minimum operating system we can choose here windows 10 1607 so if you happen to be on a windows 10 1607 device and later then it's going to be installing for you if you're on something before 1607 then this application won't install and then you can put a bunch of other stuff that are optional from disk space which i could say here is 500 megabytes and memory and so on and at the bottom here it's pretty cool if you need any kind of additional requirements you don't see above here you can just go to add and then you could select from a file a registry or a script so you could go you know run a script beforehand to check something on a device before you install something i'm not going to do that but you can do that if it makes sense for you so i'm just going to say windows 10 16 7 above any operating system for a 264 bit and 500 meg of disk space so let's just go ahead now and do next again and now we need to go ahead and set up our detection rules and if you've come from the configuration manager world this section won't come as any surprise but if you're new to this well what we mean by detection rules is we're saying look if we find that this application is already installed on this device we're not going to install it again however if we look and it's not installed then we're going to go ahead and go forward with installing the application so if i select one of these rules you can see you can do either manually configure or you can use a custom detection script as well i'm going to do manually configure detection rules and then do add and this is interesting for here you could do msi you could do file you could do registry but i'm going to do msi and what's really cool is you can see that it already has pre-populated that for me because i chose msi earlier on when we're creating that intune win file it's done that for me and at the bottom here i could just do msi product version check so i could say look if it's greater than version x then it can install and so on and so forth i'm just going to leave it as no for this demonstration and click ok and now let's move on to dependencies so from dependencies for adobe reader i'm not going to make any changes here but if you're new to dependencies what it allows you to do is say before you go ahead and install this application i needed to go check this other app is installed and if it is then go ahead and install the application where we're building right now but if it's not then you go install that application that we're dependent on and then you can go ahead and install adobe reader for example so it might be like i need you to go install.net framework first as a dependency once that's installed and proven to be there then you can go ahead and install adobe reader i'm not going to put any dependencies but this is super exciting to see in microsoft intune standalone so we've had it in configuration manager and other tools like that for a long time and now we're going to go ahead and do next and now from assignments you can choose a couple of things we've got required which is if you add a user group here then it's going to force the application to be installed on their device we then have available for enrolled devices that allows the user go to the company portal themselves and install it and then we've got uninstall which is you know similar to required it's just going to force the application to be uninstalled so what i've done is i just have a couple of groups i'm going to use available for enrolled devices just a little bit easier to show the end user experience so i'm going to do add group and then what i'm going to do here is search for intune and then i'm going to use this adobe reader dc available group and do select and then under uninstall just for example i'm going to do intune again and then i'm going to do the adobe reader dc uninstall and now any user that i add to the available group here they're going to be able to see this in their company portal for example so with the group selected what's also really cool and similar to configuration manager again is that you can then choose what is your end user experience so for example should the user see all toast notifications so or do you want them just to see computer restarts or do you want it hidden completely so maybe you're deploying a required application that you don't want anyone to know about you can just hide autos notifications you can then choose you know what kind of content delivery optimization do you want in foreground or background and then when is this application available i'm just going to leave it as as soon as possible but you know you can actually go ahead and choose a specific date and time and that's really it's the assignment so i recommend just have a look at this and play with this and see what those different experiences are for your end users as you start creating more and more apps in in microsoft intune and that's really all there is to it from here you can just go ahead and review all the settings that you've put in and everything you've done and then just click create and once you click create now that you know we had that file that was being done it's going to go ahead and start uploading that to intune and it will let us know when it's when it's ready and that's it we can now see that the adobe acrobat reader file has been uploaded and the application now doesn't say that it's not ready so let's go ahead and just dive into the end user experience so let's go have a look at the end user experience we've done all the hard work let's go see what we've done so i just went to start and then company portal and the first thing that you'll see here is straight away i'm being told look there's a new application which is adobe acrobat reader dc and that's what we just packaged so that's awesome now if we click into this now as a user we can just go ahead and click install so after you click install it's then going to give the users you're going to see the experience where it says downloading and then in this case all the toast notifications are going to pop up as well because that's what we chose we chose for all test notifications to be shown and then once it's completed you can actually be told that your application has been installed and you can reinstall it if you need you can also have a look if we bring up the notifications you can see here that it clearly said you know adobe acrobat was installed successfully it also let them know that this application was downloading and installing we can now see the you know there's a desktop shortcut for adobe reader we could also see it in our start menu so let's go ahead and just load it up and see if it did what we expected and what's good news here is that we did ask for it in the mst to not show any euler or anything like that we also asked for it to update itself to the latest version in the msp so the original msi was version 15. if we go to about we can now see its version 2020. so it did do everything we expected it listened to the mst it listen to the msp so that really goes to show that we can do advanced deployments within microsoft intune and using this win32 app method then the last thing i want to show on here and we're not going to go very deep into this but this is just to show you if you do need to troubleshoot for any reason or you're just interested to see what happened is when we install these applications it uses our intune management extension so you can navigate to this location here see program data is microsoft entry management extension then logs and then load up the intune management extension something like cm trace and then you'll be able to see look here's what the installation behavior will be we can actually see what executed on the device and these are all the things that we put into the application and you can scroll down a little bit more and you can see here that the exit code is zero which we all know is successful so that was a successful install and that was the user experience that you would expect so let's now just dive in and see the reporting in the endpoint management console the last thing i want to show was just what does this look like inside intune so i'm just going to go to apps and then windows and then we're just going to go to the adobe reader application and from there we already can see that i've got a one in user and device and it's saying it's installed so for example i can go look at the user and we can see look it installed here for harry lauton yeah that's a success and i can also click into this and that will allow us to see what device did i install that on so we can see that this desktop here got the application installed and really that's all i wanted to show you know how do you get yourself prepared to get one of these win32 applications in microsoft intune and then also you know how do you then configure it in tune deploy it and what that end user experience looks like hopefully this video was helpful make sure you like subscribe and we'll see you next week for another video
Info
Channel: Harry Lowton
Views: 78,109
Rating: undefined out of 5
Keywords: Win32, MicrosoftIntune, microsoft intune, windows 10, microsoft intune tutorial, microsoft endpoint management, microsoft endpoint management intune, intune application management, deploy software intune, microsoft intune tutorial 2020, microsoft intune tutorial youtube, microsoft intune setup step by step, microsoft intune for beginners, microsoft intune training, intune applications, microsoft endpoint management training
Id: qWpgFAGUr_I
Channel Id: undefined
Length: 21min 9sec (1269 seconds)
Published: Tue Dec 08 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.