About MSIEXEC command line switches being used for an MSI Package

Version 6

    Verified Product Versions

    Endpoint Manager 9.6Endpoint Manager 2016.xEndpoint Manager 2017.x



    When creating a Software Distribution Package, there is an option to include a command line.  In the case of an MSI package, this field can only be used to specify a list of MSI Properties in the format property1=value1  property2=value2  property3=value etc.


    One example of an MSI Property is TRANSFORMS.    The command line switches that are documented in MSI related documentation, such as /q, /f etc., are msiexec command line switches. Only msiexec understands them.


    When Ivanti EPM distributes an MSI package, it calls the MSI APIs directly. It does not use msiexec.   Therefore, it is not possible to specify msiexec command line switches in the command line field.


    For many of the options that would be enabled with a command line switch when using msiexec, equivalent functionality is provided in Ivanti EPM's Delivery Method or in the Distribution Package. For others, no equivalent functionality is provided because it is not needed.





    Below is a list of some MSIEXEC command line switches and how equivalent functionality is provided (or not) in the Ivanti EPM GUI:


    /q: to control the user feedback options during an installation, use the Feedback options in the Ivanti EPM Distribution.


    /a: Administrative Installation would be meaningless under Ivanti EPM.  It needs to performed manually by the administrator. Therefore, no equivalent functionality is provided in Ivanti EPM.


    /f: reinstall an MSI package.  Ivanti EPM will always reinstall the primary packages so this option is implied.  (Note: If you do not want to reinstall, simply deploy the msi application as a dependent package instead of the primary package.  If you do not have another package to make primary, you can create a package to deploy an empty batch file and make the MSI a dependent package.  Then Detection will take affect for the MSI application and it will only be installed on computers that it is not already installed on.)


    /x: uninstall an MSI package. Equivalent functionality is provided by the uninstall radio button in an Ivanti package.


    /j: advertise an MSI package. Ivanti EPM implements similar concepts through Policies and the Software Distribution Portal.


    /l: logging.  Sdclient.exe gathers status and creates log files on the client by default.


    /p: install a patch; used to patch administrative images.  Equivalent functionality is provided under Ivanti EPM through Patch Manager and also with software distribution and dependent packages. (Note: Deploy the latest patch as the primary package and setup a dependency chain for the MSI application and/or other patches.)