Ask Your Question
0

Can we install any EXE file on windows using puppet?

asked 2014-04-08 08:05:15 -0500

srini gravatar image

In general we install exe file by double clik and then provide our inputs to the installtion process once done we click on finish.

How we can achieve the same by using puppet script.

By using exec () resource type we can invoke the exe file. But how we can provide (inputs=configuration )details .

So, how can we specify the configuration for exe file.

I heard that some softwares have silent installation through command prompt and configuration files. If we don't have silent mode option and configuration file, is it possible to install a EXE file ?

edit retag flag offensive close merge delete

Comments

Srini, Curious to know if you were able to get past your issue? Thanks

vishwanathj gravatar imagevishwanathj ( 2014-04-14 23:25:16 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-04-08 15:57:57 -0500

vishwanathj gravatar image

updated 2014-04-08 15:58:38 -0500

Most software packages have a silent install option and some packages provide silent option and also provide for inputs from a configuration file (such as SQL). You can provide those options as part of the 'command' attribute. If you were to install the citrix xd7 module from http://forge.puppetlabs.com/martezr/citrixxd7 and open the init.pp file you will notice the below exec { 'Install XD': command => "XenDesktopServerSetup.exe /components $controllerinstall$desktopstudioinstall$licenseserverinstall$desktopdirectorinstall$storefrontinstall $sqlinstall /quiet /configure_firewall", path => "$source", }

The /quiet that is supported for silent citrix component installs can be ... (more)

edit flag offensive delete link more
0

answered 2014-04-08 15:40:37 -0500

ffrank gravatar image

No, there are no builtin mechanics to enable you to do this.

That being said, you may want to go ahead and write your own script to run your setup process. I have no experience doing such things, but there is a Stack Overflow thread that holds some pointers.

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

Stats

Asked: 2014-04-08 08:05:15 -0500

Seen: 701 times

Last updated: Apr 08 '14