windows - Passing install parameters to MSI installer with Puppet -
programs installed pc running windows 7. in past have installed program this:
msiexec /qn /i "c:\installer.msi"
i automate installation puppet.
package {'program': ensure => '3.1', source => '\\server\installer.msi', install_options => [ '/qn', '/i'], }
however there parameters not accept installer. either puppet gives error of "invalid command line arguments" or parameters wont applied.
i have tried using different syntaxes: parameters inside same quotes, different order of parameters, 1 parameter @ time... nothing has worked.
what correct way of passing them?
this because puppet windows package provider passes arguments /i , /qn. msiexec fails if pass /i twice. try running without install options.
Comments
Post a Comment