You could set up a file resource with ensure => absent and set up a relationship[1] to ensure it is checked after the MSI install. Another thing you would also look at with respect to Windows software management is Chocolatey[2][3].
[1] https://docs.puppet.com/puppet/latest/reference/lang_relationships.html#syntax-relationship-metaparameters [2] https://chocolatey.org/docs/getting-started#what-are-chocolatey-packages [3] https://forge.puppet.com/puppetlabs/chocolatey On Tue, May 17, 2016 at 3:43 PM, KC Johnson <[email protected]> wrote: > I'm new to puppet, trying to find a way to do MSI installs but ensure the > installer file is removed afterwards. Any tricks on this? > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/c06e4f27-2f0b-46c0-b11f-1dc7bfd98e12%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/c06e4f27-2f0b-46c0-b11f-1dc7bfd98e12%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rob Reynolds Developer, Puppet PuppetConf 2016 <http://2016.puppetconf.com/>, October 17-21, San Diego, California *Early Birds save $350* <https://www.eventbrite.com/e/puppetconf-2016-october-17-21-tickets-18750712887?discount=EarlyBird> - Register by June 30th -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMJiBK4NYnOHZYed-Tb8PQ2UeHGuXOsJwhUs-_s%2B9zNDf9bdaw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
