Hi,
I was trying to get Vmware Remote Console [10.0.2, exe file] installed on a Windows 10 system. Based on the Vmware forum, I got to know that it needs elevated permissions on the cli if we do a silent install. Below is the recipie :
windows_package ‘VMware-VMRC-10.0.2-7096020’ do
source “http://XXXXXX/VMware-VMRC-10.0.2-7096020.exe”
options “/V /Qn EULAS_AGREED=1”
#installer_type :custom
action :install
end
If I open a command line and “Run as administrator” and if I execute the above command with options, it installs the software without any error. However, if I do not run the command line as administrator, then once I execute the command it asks for local administrator credentials. So I think when chef-client runs, it may not be running with elevated permissions/rights. Is there any way this can be fixed ? Or how can I make this recipie to install this software ? Any thoughts will be highly appreciated.
Thanks and Regards,
Praveen