Issue #11452 has been updated by Josh Cooper. Status changed from Needs More Information to Closed
Hi Mark, I'm going to close this issue as I haven't been able to reproduce, and we've had validation from other users that the package provider is working for them. If you encounter this issue again, please reopen. It might also be useful to include your PATH and PATHEXT environment variables. ---------------------------------------- Bug #11452: Windows: Can't find msiexec.exe even though it's there https://projects.puppetlabs.com/issues/11452 Author: Mark Plaksin Status: Closed Priority: Normal Assignee: Mark Plaksin Category: windows Target version: Affected Puppet version: 2.7.9 Keywords: Branch: Puppet says it can't find msiexe.exe but cmd.exe finds it. With this .pp: <pre> package { 'mplayer': ensure => installed, provider => 'msi', source => 'C:\Users\happy\Desktop\mplayer-setup_1.0rc2.msi', } </pre> I get this: <pre> debug: Puppet::Type::Package::ProviderMsi: file msiexec.exe does not exist </pre> In the same cmd.exe if I run msiexec.exe from the command-line, it runs fine. This is on 2008r2. If it matters, my cmd window is running as Administrator. If I replace this in msi.rb: <pre> commands :msiexec => "msiexec.exe" </pre> with this then it all works: <pre> commands: :msiexec => 'C:\Windows\System32\msiexec.exe' </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
