How to fill in "install_flags" field in salt-stack when installing applications in Windows?

StackOverflow https://stackoverflow.com/questions/17591776

  •  02-06-2022
  •  | 
  •  

Question

I'm using salt-stack to manage the minion in Windows. I'm wondering that how to fill in install_flags field in salt-stack when installing applications in Windows?

Here is the document of salt-stack. http://docs.saltstack.com/ref/windows-package-manager.html You may see that: for installation, Firefox gets -ms and 7zip gets /q as their own install_flags.

Is there a rule to follow? i.e. "If I want to install apache-tomcat, what's the install_flags to fill in?"

Is there someone knows the secret? Thanks in advance.

Was it helpful?

Solution

I'm the author of Salt Windows package manager. Those install_flags refer to the silent install options that your application installer provides. Sometimes passing a /? or /h to the installer at the command line will tell you what options are available.

Also, the wpkg project has a fantastic wiki documenting many of the silent installer switches here: http://wpkg.org/Category:Silent_Installers

A quick Google search revealed this doc as well: http://documentation.softwareag.com/webmethods/wmsuites/wmsuite8_ga/System_Management_Hub/install/tomcat_windows_install.htm#d0e2149

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top