Forum Discussion
Intune Deployment of MSI with CMD File
- Feb 10, 2022
Hi
Converting the MSI to a win32 app with the intunewinapputil?
https://github.com/microsoft/Microsoft-Win32-Content-Prep-ToolQuit 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
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\
Or alternatively also be queried via Powershell:
get-wmiobject Win32_Product | Sort-Object -Property Name |Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize
Once you have found the Product-GUID of your Jabra-Xpress .msi Package you just could create another .cmd batch like this:
And add it to your intunewin package like this:
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.