Closed seeven-kathan closed 4 years ago
Hello, anyone can help? thanks, Regards, Seeven
@seeven-kathan Currently, we don't support installing chef-client on windows at a custom location, Even though we can force the MSI installer to change the installation directory to some other location but the resultant installation will be broken(Cannot be done by modifying chef_client_updater) References: https://github.com/chef-cookbooks/chef_client_updater/pull/80#issuecomment-353213646 https://github.com/chef-cookbooks/chef_client_updater/pull/166#issuecomment-555741634
Closing based on @Nirbhay1997's comment.
With reference to @Nirbhay1997's comment #https://github.com/chef-cookbooks/chef_client_updater/issues/205#issuecomment-685427918 We have updated documents in #245
Hello,
I am facing an issuer using chef_client_updater. I have used the attribute ["chef_client_updater"]["chef_install_path"] to specify the path where chef is installed. Somehow, when the powershell(after chef create it on the machine) script doing the installation of the new version, is not taking any argument to point the install location. the rendered command is as follows in the chef_upgrade.ps1 file (#L565):
is it possible to make it something that :
where
$msi_install_path
be the value of["chef_client_updater"]["chef_install_path"]
?Thank you for your help. Regards, Seeven