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!