Hi All,

I am trying to install msi file from the chef recipe which is stored in .rb 
file and that I am calling in the Powershell script, which is being called 
from the packer template.

Powershell code contents
$ruby = "C:\opscode\chef\embedded\bin\rubyw.exe"
& $ruby `"$deploydir\ABBYY\deploy_app_ruby.rb`"


Chef recipe contents


powershell_script 'install_app' do

  code <<-EOH

  msiexec /i "$deploydir\ABBYY\EsdServerSetup.msi" /quiet /log 
"c:\temp\install.log"

  EOH

end



However, it is not working . I would need help, thank you!

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" 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/packer-tool/49f3d937-cd99-4648-806e-09ca14965e2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to