It turned out that it was a small typo in the documentation of the .exe 
file.

I resolved this issue by simply providing the correct switches to the 
install_options parameter.

Thanks!



On Friday, December 12, 2014 5:50:06 PM UTC+1, Rob Reynolds wrote:
>
>
>
> On Wed, Dec 10, 2014 at 5:23 AM, cko <[email protected] <javascript:>> 
> wrote:
>>
>> Hi,
>>
>> I'm trying to get the following manifest to work on a Windows Server 
>> 2008R2 node:
>>
>> *package { 'signotec WinUSB':*
>> * ensure           => '1.0.4',*
>> * source           => "E:/signotec_WinUSB_1.0.4_64Bit.exe",*
>> * install_options  => ['/S', '/vn'],*
>> *}*
>>
>> Running 'puppet agent -t --debug' shows that the following command is 
>> executed:
>>
>> *Debug: Executing 'cmd.exe /c start "puppet-install" /w 
>> E:\signotec_WinUSB_1.0.4_64Bit.exe /S /vn'*
>>
>> About a second later, the MSI help pops up ( 
>> http://i.imgur.com/PpW5zVB.png ).
>>
>> When i manually run the command "*E:\signotec_WinUSB_1.0.4_64Bit.exe /S 
>> /vn"* the package Installation works as expected.
>>
>> Note that the /S /vn switches are mandatory with this particular package 
>> to perform a silent installation.
>>
>>
>> What Puppet actually does is probably something like this:
>>
>> *msiexec.exe /qn /norestart /i E:/signotec_WinUSB_1.0.4_64Bit.exe /S /vn*
>>
>
>
> Unlikely. Have you tried running the full command that Puppet is reporting 
> that it is running?
>
> *cmd.exe /c start "puppet-install" /w E:\signotec_WinUSB_1.0.4_64Bit.exe 
> /S /vn*
>  
>
>>
>>
>>
>> Which fails because the past two parameters are not supported my msiexec.
>>
>>
>>
>> Any ideas how to work around this issue?
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/625500ec-db79-4564-ae25-883747c7ae54%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/puppet-users/625500ec-db79-4564-ae25-883747c7ae54%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Rob Reynolds
> Developer, Puppet Labs
>
> *Join us at **PuppetConf 2015, October 5-9 in Portland, OR - *
> http://2015.puppetconf.com/
> *Register early to save 40%!*
>  

-- 
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/20581ead-156d-4d1f-bfe3-efeada5d6121%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to