Skip to content

Install-VSCode.ps1 not detecting 64-bit architechture in Windows 10 #3390

New issue

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

Closed
mat-ocl opened this issue Jun 2, 2021 · 1 comment · Fixed by #3392
Closed

Install-VSCode.ps1 not detecting 64-bit architechture in Windows 10 #3390

mat-ocl opened this issue Jun 2, 2021 · 1 comment · Fixed by #3392
Labels

Comments

@mat-ocl
Copy link
Contributor

mat-ocl commented Jun 2, 2021

System Details

System Details Output

### PowerShell version:
 
Name                           Value                                                                     
----                           -----                                                                      
PSVersion                      5.1.18362.1474                                                            
PSEdition                      Desktop                                                                   
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                   
BuildVersion                   10.0.18362.1474                                                           
CLRVersion                     4.0.30319.42000                                                           
WSManStackVersion              3.0                                                                       
PSRemotingProtocolVersion      2.3                                                                       
SerializationVersion           1.1.0.1   

Issue Description

I'm installing VSCode on a 64-bit Windows 10 but i get a message like this:
WARNING: 64-bit install requested on 32-bit system. Installing 32-bit VSCode

Expected Behaviour

64-bit VSCode should install on a 64-bit Windows 10

Actual Behaviour

The function Test-IsOsArchX64 is testing the OS Architechture with:
(Get-CimInstance -ClassName Win32_OperatingSystem).OSArchitecture -eq '64-bit'

Because of language version different from English the answer is not '64-bit' even though the system is 64-bit. In my case it's '64-bittinen' as my OS is in Finnish. Other languages probably have this issue too.

@ghost ghost added the Needs: Triage Maintainer attention needed! label Jun 2, 2021
@andyleejordan andyleejordan added Area-Build & Release Issue-Bug A bug to squash. and removed Needs: Triage Maintainer attention needed! labels Jun 2, 2021
@andyleejordan
Copy link
Member

Thanks @mat-ocl!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants