{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/core-setup/issues/3856","repository_url":"https://api.github.com/repos/dotnet/core-setup","labels_url":"https://api.github.com/repos/dotnet/core-setup/issues/3856/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/core-setup/issues/3856/comments","events_url":"https://api.github.com/repos/dotnet/core-setup/issues/3856/events","html_url":"https://github.com/dotnet/core-setup/issues/3856","id":306881586,"number":3856,"title":"Runtime installation fails on Server Core with WoW64 subsystem removed","user":{"login":"Petermarcu","id":8228359,"avatar_url":"https://avatars3.githubusercontent.com/u/8228359?v=4","gravatar_id":"","url":"https://api.github.com/users/Petermarcu","html_url":"https://github.com/Petermarcu","followers_url":"https://api.github.com/users/Petermarcu/followers","following_url":"https://api.github.com/users/Petermarcu/following{/other_user}","gists_url":"https://api.github.com/users/Petermarcu/gists{/gist_id}","starred_url":"https://api.github.com/users/Petermarcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petermarcu/subscriptions","organizations_url":"https://api.github.com/users/Petermarcu/orgs","repos_url":"https://api.github.com/users/Petermarcu/repos","events_url":"https://api.github.com/users/Petermarcu/events{/privacy}","received_events_url":"https://api.github.com/users/Petermarcu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-20T14:09:46Z","updated_at":"2018-03-20T14:13:16Z","closed_at":null,"author_association":"MEMBER","body":"@jberezanski commented on [Tue Mar 20 2018](https://github.com/dotnet/core/issues/1362)\n\nOn a Windows Server 2016 Core installation with the `WoW64-Support` feature removed, installation of the 64-bit .NET Core runtime fails:\r\n\r\n````\r\nPS C:\\Users\\Administrator> .\\dotnet-runtime-2.0.6-win-x64.exe /install /quiet /norestart\r\nProgram 'dotnet-runtime-2.0.6-win-x64.exe' failed to run: The application has failed to start because its side-by-side configuration is\r\nincorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail\r\n````\r\n\r\nThe Application event log gives more details:\r\n\r\n````\r\nPS C:\\Users\\Administrator> Get-WinEvent -ProviderName SideBySide -MaxEvents 10 | fl *\r\n(...)\r\nMessage              : Activation context generation failed for \"C:\\Users\\Administrator\\dotnet-runtime-2.0.6-win-x64.exe\". Dependent\r\n                       Assembly Microsoft.Windows.Common-Controls,language=\"&#x2a;\",processorArchitecture=\"X86\",publicKeyToken=\"6595b64144\r\n                       ccf1df\",type=\"win32\",version=\"6.0.0.0\" could not be found. Please use sxstrace.exe for detailed diagnosis.\r\n````\r\n\r\nApparently, the 64-bit .NET Core runtime installer is a 32-bit application and references the 32-bit common controls library, so it fails on servers with the 32-bit subsystem removed.\r\n\r\nSteps to reproduce:\r\n- install any Windows Server 2016 Core, for example Hyper-V Server 2016\r\n- start PowerShell\r\n- remove the 32-bit subsystem: \r\n    `Uninstall-WindowsFeature -Name WoW64-Support -Restart`\r\n- log on and start PowerShell again\r\n- download 64-bit .NET Core runtime 2.0.6 installer: \r\n    `Invoke-WebRequest -UseBasicParsing -Uri https://download.microsoft.com/download/8/D/A/8DA04DA7-565B-4372-BBCE-D44C7809A467/dotnet-runtime-2.0.6-win-x64.exe -OutFile dotnet-runtime-2.0.6-win-x64.exe`\r\n- attempt installation:\r\n    `.\\dotnet-runtime-2.0.6-win-x64.exe /install /quiet /norestart`\r\n\r\nUpdate: corrected download command.\n\n"},"comment":{"url":"https://api.github.com/repos/dotnet/core-setup/issues/comments/374612447","html_url":"https://github.com/dotnet/core-setup/issues/3856#issuecomment-374612447","issue_url":"https://api.github.com/repos/dotnet/core-setup/issues/3856","id":374612447,"user":{"login":"Petermarcu","id":8228359,"avatar_url":"https://avatars3.githubusercontent.com/u/8228359?v=4","gravatar_id":"","url":"https://api.github.com/users/Petermarcu","html_url":"https://github.com/Petermarcu","followers_url":"https://api.github.com/users/Petermarcu/followers","following_url":"https://api.github.com/users/Petermarcu/following{/other_user}","gists_url":"https://api.github.com/users/Petermarcu/gists{/gist_id}","starred_url":"https://api.github.com/users/Petermarcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petermarcu/subscriptions","organizations_url":"https://api.github.com/users/Petermarcu/orgs","repos_url":"https://api.github.com/users/Petermarcu/repos","events_url":"https://api.github.com/users/Petermarcu/events{/privacy}","received_events_url":"https://api.github.com/users/Petermarcu/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T14:13:15Z","updated_at":"2018-03-20T14:13:15Z","author_association":"MEMBER","body":"@livarcocc @joeloff as FYI that this will also impact upstack installers. It is correct that our 64-bit installers use a 32bit native stub both for extraction as well as execution and UI.\r\n\r\n@robmen @heaths have you seen what others are doing to support this? Just moving to 64-bit bootstrappers?"}}
{"actor":{"display_login":"Petermarcu"}}