Welcome! I'd actually install Chocolatey and use the provider from https://forge.puppet.com/modules/puppetlabs/chocolatey to manage packages like this on Windows.
On Tue, Nov 10, 2020 at 3:31 PM Jarod Schoen <poppetaskwe...@gmail.com> wrote: > Hi > so I just got started and I'm glad to be joining you. > > I have a question to get me started on my journey. > > Without escalating I get: > Error: Could not update: The requested operation requires elevation. - > CreateProcess > > So it looks like I have to run puppet with LocalService or some admin > account. That's fine. I'll have to sort that out later. > > The major issue is with running exes. > > Here's my pp: > > package { 'vlc': > ensure => '3.0.1', > source => 'somepath\vlc-3.0.1-win64.exe', > # install_options => ['INSTALLDIR=C:\blabla'], > } > > When I run the Start Command Prompt as admin, it runs... but then VLC asks > me for input which completely defeats the purpose of puppet in the > environment. > > > Do you guys know how to get puppet to take care of these installs or would > I have to find an msi for everything... that already has built-in 'silent' > and other install config switches ? > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/fb546cff-2acf-4810-8fdf-58c39ef7ce67n%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/fb546cff-2acf-4810-8fdf-58c39ef7ce67n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CACkW_L4NT%3D2CPN85gjD18Kmj8H3KS_Njq18GP3-9Hs2EJRmXpg%40mail.gmail.com.