My blog post:

As we know, RSAT 1809 is not something we download and install anymore, but in order for us to make RSAT available through the Company Portal for devices managed by Microsoft Intune, we need to have RSAT packaged as a .MSI, .MSIX or .EXE file.

So this is where I spent some time in Advanced Installer to create a .MSI. The outcome is a .MSI which runs parts of my Powershell script and which can be used to install and uninstall RSAT


What does it do?

My original script has 2 primary installation options; basic and all, where basic only installed DHCP, DNS, AD, GPO Managementand Server Manager.

The same options are available through the .MSI in terms of Typical and Complete. Typical install the basic RSAT tools and Complete installs everything


Behind the scenes is a few simple Powershell scripts, which is built on Get-WindowsCapability, Add-WindowsCapability and Remove-WindowsCapability. Exactly as my original script which I have referenced a few times during this post.


Now, I’m by no means any software packaging superhero and it probably tells. The .MSI is created with Advanced Installer and is based on Custom Actions. The Custom Actions are triggering my Powershell scripts.

A silent installation running msiexec.exe /i thefile.msi /quiet installs the basic set of RSAT features.

Running the installation manually, will give you options to install either the basic set of features or all the features.

NOTE: It’s currently not possible to install ALL the RSAT features unattended. This is a result of my .MSI packaging shortcomings and I’m working on a solution. For now, you will have to accept that only the most basic RSAT features are being installed when running the .MSI with a silent switch.