SOLVED

Intune Deployment of MSI with CMD File

Copper Contributor

The following situation: I would like to order a large number of Jabra headsets for an investor group. There is a software package that can be downloaded from the Jabra Xpress Portal for Business and then deployed. This package consists of an MSI file with the program and a CMD file, which should be opened directly on the computer for installation. The CMD file is directed to the MSI and at the same time gives the MSI the URL on which server the software should subsequently register. The software then retrieves the settings configured online accordingly and automatically sets up all headsets connected to the PC to the company standard.
My problem now is, of course, that I can't just deploy the MSI via intune, since the URL is not included there. The installation then also fails accordingly.

How can I install the MSI via the CMD file.
I had the idea of ​​downloading the MSI into the C drive via a policy and then using a powershell to run the link and the installation.

The installation then takes place naturally silently.

 

Thanks in advance!

4 Replies
best response confirmed by ConradReichel (Copper Contributor)
Solution

Hi

Converting the MSI to a win32 app with the intunewinapputil?

https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool

 

Quit funny that I don't have a blog about how to use it but.. then again.. a lot of people already have done a blog about it

 

Deploy customized Win32 apps via Microsoft Intune – All about Microsoft Endpoint Manager (petervande...

Got it now, easier than I thought. I didn't think of it, that I can simply copy the installation command from the exe into the installation command.

@ConradReichel 

Here is a rough download pack from Xpress.pdfdoc for setting up. We have to make this doc anyway. You can use it as a template your creation.

https://elbclusiv-my.sharepoint.com/:b:/g/personal/c_reichel_elbclusiv_de/EYsb1qFuDWBGqoYYWwzCqFoBu_...

 

@ConradReichel 

Just for the record:

Since it's an .msi it's also quite easy to create a uninstall.cmd.
To do this you need to figure out the Product-GUID of the .msi package.

It can be either found in one of the Registry Uninstall-Hives:

 

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\

 

ll4mat_0-1679500901133.png


Or alternatively also be queried via Powershell:

 

get-wmiobject Win32_Product | Sort-Object -Property Name |Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize

 

ll4mat_1-1679501049007.png


Once you have found the Product-GUID of your Jabra-Xpress .msi Package you just could create another .cmd batch like this:

ll4mat_2-1679501244511.png


And add it to your intunewin package like this:

ll4mat_3-1679501361153.png

 


Works of course not only for Jabra Xpress but for any .msi package.

This way you can also uninstall the package via Intune again, if necessary.

Keep in mind that you might have to do it separately for the x64 and the x86 .msi packages - if you want to use both - as the Product-GUID's will most likely differ. I would also recommend you to use the Product-GUID in Intune as the detection rule.

1 best response

Accepted Solutions
best response confirmed by ConradReichel (Copper Contributor)
Solution

Hi

Converting the MSI to a win32 app with the intunewinapputil?

https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool

 

Quit funny that I don't have a blog about how to use it but.. then again.. a lot of people already have done a blog about it

 

Deploy customized Win32 apps via Microsoft Intune – All about Microsoft Endpoint Manager (petervande...

View solution in original post