We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
currently deployed: https://omnitruck.chef.io/install.ps1
Windows with non-English locale, x64
Run install.ps1, appropriate version should be installed automatically.
install.ps1
x86_64 architecture is detected
x86_64
i386 architecture is detected
i386
I've traced the problem to here:
mixlib-install/lib/mixlib/install/generator/powershell/scripts/helpers.ps1.erb
Line 23 in 56a250b
According to documentation, value of OSArchitecture property is localized. For me, it is 64-разрядная (in Russian).
OSArchitecture
64-разрядная
However, I'm not sure on the best fix for this.
WMI has Locale parameter, but passing MS_409 doesn't change anything.
Locale
MS_409
The same issue: belowaverage-org/SuperGrate#45. They ended up with simple checking for substring 64.
64
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version:
currently deployed: https://omnitruck.chef.io/install.ps1
Environment:
Windows with non-English locale, x64
Scenario:
Run
install.ps1
, appropriate version should be installed automatically.Expected Result:
x86_64
architecture is detectedActual Result:
i386
architecture is detectedAdditional info
I've traced the problem to here:
mixlib-install/lib/mixlib/install/generator/powershell/scripts/helpers.ps1.erb
Line 23 in 56a250b
According to documentation, value of
OSArchitecture
property is localized.For me, it is
64-разрядная
(in Russian).However, I'm not sure on the best fix for this.
WMI has
Locale
parameter, but passingMS_409
doesn't change anything.The same issue: belowaverage-org/SuperGrate#45. They ended up with simple checking for substring
64
.The text was updated successfully, but these errors were encountered: