Issue #11452 has been reported by Mark Plaksin.
----------------------------------------
Bug #11452: Windows: Can't mind msiexec.exe even though it's there
https://projects.puppetlabs.com/issues/11452
Author: Mark Plaksin
Status: Unreviewed
Priority: Normal
Assignee:
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 mscexe.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.