Ask Your Question

What is the best method for upgrading software on a Windows client?

asked 2013-10-16 08:41:18 -0500

machaon gravatar image

updated 2013-10-16 08:57:59 -0500

I've seen the videos on Chocolatey and that looks great whenever that gets added to Puppet Enterprise, but in the meantime what is recommended for upgrading the Windows software too a newer version?

From what I've gathered, would it be to check out the current version installed, uninstall it and then install the new one?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-21 23:34:16 -0500

joshc gravatar image

updated 2013-10-22 12:35:22 -0500

GregLarkin gravatar image

Puppet natively provides support for managing exe and msi type packages, e.g. to install mysql silently:

package { 'mysql': 
  ensure          => installed, 
  source          => 'path\to\mysql-5.5.16-winx64.msi', 
  install_options => [ '/S', { 'INSTALLDIR' => 'C:\mysql-5.5' } ], 

Note that you must specify the path to the package, which can be a UNC path, mapped drive, etc. You should also specify the necessary options to install the package silently, which can vary depending on what software was used to create the installer.

Make sure that the package name you specify, e.g. mysql, matches the name of the software once it's installed, e ... (more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-10-16 08:41:18 -0500

Seen: 102 times

Last updated: Oct 22 '13