How to push MSI with parameter using SCCM server

前端 未结 3 1924
予麋鹿
予麋鹿 2021-01-29 07:47

I want to push MSI installer with parameter using SCCM server. i.e.

msiexec.exe /i \"setup.msi\" INSTALLFOLDER=\"SpecifiedInstallationLocation\" CONFIGFILE=\"Fi         


        
3条回答
  •  隐瞒了意图╮
    2021-01-29 08:00

    You can set two general types of properties on an msiexec.exe command line:

    1. The public properties listed here, public meaning uppercase. https://msdn.microsoft.com/en-us/library/windows/desktop/aa370905(v=vs.85).aspx

    In reality there aren't all that many that can be usefully set.

    1. The public properties that the install was designed to accept when it was designed. For example, if the installer has a UI that accepts a textbox value property name SERVERTHING, then the install should be designed to accept SERVERTHING on the command line in a silent install. Depending on the directory names used, other popular choices are INSTALLFOLDER or TARGETDIR to set the default main application folder. So if that install was designed to expect CONFIGFILE to be set on the command line it should work, but it's the same as running a program and giving it a bunch of arguments: if the program isn't coded to deal with them then they have no effect.

提交回复
热议问题