jberezanski / ChocolateyPackages

Chocolatey packages maintained by me
MIT License
86 stars 52 forks source link

Visual Studio 2022 Preview Support #109

Closed JRSerjeant closed 3 years ago

JRSerjeant commented 3 years ago

Appologies if this the wring place to ask. Will these be support provided for Visual Studio 2022 Preview?

PS C:\Users\user\Desktop> choco uninstall sn_VisualStudio2022Enterprise -y
Chocolatey v0.10.15
Uninstalling the following packages:
sn_VisualStudio2022Enterprise

sn_VisualStudio2022Enterprise v17.0.0.1-pre
False
pkgFile: \\nas1\installs\Development Tools\Visual Studio 2022 Preview\Offline\17.0.0.1\vs_Enterprise.exe
pkgName: sn_VisualStudio2022Enterprise
pkgYear: 2022
pkgEdition: Enterprise
ERROR: Cannot validate argument on parameter 'VisualStudioYear'. The argument "2022" does not belong to the set "2017,2019" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
sn_visualstudio2022enterprise uninstall not successful.
Error while running 'C:\ProgramData\chocolatey\lib\sn_VisualStudio2022Enterprise\tools\ChocolateyUninstall.ps1'.
 See log for details.
sn_VisualStudio2022Enterprise not uninstalled. An error occurred during uninstall:
 sn_visualstudio2022enterprise uninstall not successful.
jberezanski commented 3 years ago

Oh, thanks for bringing this up! I was watching for the first preview yet I missed it. I'll work on it over the next couple of days.

jberezanski commented 3 years ago

I've added VS 2022 support to the extension version 1.10.0-preview2 (I'll take it out of preview status once I'm certain there are no issues with other changes in that version, probably in a week or so).

I've also published packages for all VS 2022 Preview products (visualstudio2022enterprise-preview and so on), together with one workload package for now (visualstudio2022-preview-workload-manageddesktop).

JRSerjeant commented 3 years ago

Thanks for the quick turn around.

I have tested the new preview and I get the error in the logs below and the uninstall fails.

Do you think this is something in my environment or in the extension? I'm running on Windows 10 Enterprise.

[1984:0001][2021-06-28T10:04:02] Saving the current locale (en-US) to user.json.
[1984:0001][2021-06-28T10:04:02] Setting the telemetry services
[1984:0003][2021-06-28T10:04:02] Creating a new telemetry service.
[1984:0001][2021-06-28T10:04:02] Visual Studio Installer Version: 3.0.132-develop-gfaa3f5ca
[1984:0001][2021-06-28T10:04:02] Raw Command line: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" uninstall --productId Microsoft.VisualStudio.Product.EnterprisePreview --quiet --channelId VisualStudio.17.Release --norestart
[1984:0001][2021-06-28T10:04:02] Parsed command line options: uninstall --channelId VisualStudio.17.Release --norestart --productId Microsoft.VisualStudio.Product.EnterprisePreview --quiet
[1984:0001][2021-06-28T10:04:02] Using registry value of (1) to theme installer.
[1984:0001][2021-06-28T10:04:02] Getting singleton lock. Mutex name: DevdivInstallerUI
[1984:0003][2021-06-28T10:04:02] Telemetry session ID: d99a43fa-7437-4da8-ac00-69d74e3be2bc
[1984:0003][2021-06-28T10:04:02] Creating new ExperimentationService
[1984:0001][2021-06-28T10:04:02] Getting singleton lock succeed.
[1984:0003][2021-06-28T10:04:02] Telemetry property VS.ABExp.Flights : lazytoolboxinit;fwlargebuffer;refactoring;spmoretempsbtn1;asloff;keybindgoldbarext;asynccsproj;vsfricheditor;completionapi;tn-vsmacnps-7;toggleblockcomment;tasmigddvs;multitenanttasmigration_002;vsfdevcom2;lsprmsgvol;debugger-init-asynccf
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.source : WPF
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.locale : en-US
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.installerversion : 3.0.132.41978
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.startmethod : direct
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.activityid : e5c0ec10-0fc2-4e28-a992-58e7f615f9f1
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.campaign :
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.passive : False
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.quiet : True
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.processtype : ui
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.force : False
[1984:0003][2021-06-28T10:04:03] Telemetry property vs.willow.noweb : False
[1984:0001][2021-06-28T10:04:04] Navigation requested from ApplicationViewModel to MainPageViewModel
[1984:0003][2021-06-28T10:04:05] Telemetry property vs.setup.WorkloadOverrides.DidReceiveOverride : False
[1984:0003][2021-06-28T10:04:05] Telemetry property vs.setup.WorkloadOverrides.RuleId : None
[1984:000a][2021-06-28T10:04:06] Telemetry property VS.SetupEngine.ChannelUpdateDisabled : False
[1984:000e][2021-06-28T10:04:06] Uri 'https://go.microsoft.com/fwlink/?linkid=857708' redirected to 'https://sendvsfeedback2.azurewebsites.net/api'
[1984:000a][2021-06-28T10:04:06] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\4CB340F5\installChannelManifest.json
[1984:000a][2021-06-28T10:04:06] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\4CB340F5\install_catalog.json
[1984:000a][2021-06-28T10:04:06] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\7074001C\installChannelManifest.json
[1984:000a][2021-06-28T10:04:06] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\7074001C\install_catalog.json
[1984:000a][2021-06-28T10:04:06] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\installChannelManifest.json
[1984:000a][2021-06-28T10:04:06] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\install_catalog.json
[1984:000a][2021-06-28T10:04:06] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\4CB340F5\installChannelManifest.json
[1984:000a][2021-06-28T10:04:06] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\4CB340F5\install_catalog.json
[1984:000a][2021-06-28T10:04:06] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\7074001C\installChannelManifest.json
[1984:000a][2021-06-28T10:04:06] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\7074001C\install_catalog.json
[1984:000a][2021-06-28T10:04:06] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\installChannelManifest.json
[1984:000a][2021-06-28T10:04:06] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\install_catalog.json
[1984:000d][2021-06-28T10:04:06] Error 0x80131501: [1984:000d][2021-06-28T10:04:06] Authentication failed: A call to SSPI failed, see inner exception.
   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost)
   at Microsoft.VisualStudio.Setup.Installer.DeveloperNews.ServerCertificateVerifier.VerifyUrl(Uri uri, String trustedIssuerCommonName)
[1984:000d][2021-06-28T10:04:06] Error 0x80131501: [1984:000d][2021-06-28T10:04:06] Error happend when fetching developer news: A call to SSPI failed, see inner exception.
   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost)
   at Microsoft.VisualStudio.Setup.Installer.DeveloperNews.ServerCertificateVerifier.VerifyUrl(Uri uri, String trustedIssuerCommonName)
   at Microsoft.VisualStudio.Setup.Installer.DeveloperNews.DeveloperNewsProvider.<>c__DisplayClass5_0.<<FetchLatest>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
Warning: [1984:000a][2021-06-28T10:04:23] Shutting down the application with exit code 1
Warning: [1984:000a][2021-06-28T10:04:23] An installed product matching the following parameters cannot be found:  \n  \nchannelId: VisualStudio.17.Release  \nproductId: Microsoft.VisualStudio.Product.EnterprisePreview
[1984:0001][2021-06-28T10:04:23] Releasing singleton lock.
[1984:0001][2021-06-28T10:04:23] Releasing singleton lock succeed.
[1984:0001][2021-06-28T10:04:23] Releasing singleton lock.
[1984:0001][2021-06-28T10:04:23] Singleton lock does not exist. Releasing singleton lock skipped.
[1984:0001][2021-06-28T10:04:23] Closing the installer with exit code 1
[1984:0001][2021-06-28T10:04:23] Exit Code: 1
[1984:0001][2021-06-28T10:04:23] Cleared previous session ID.
[1984:0019][2021-06-28T10:04:24] Download requested: https://aka.ms/vs/15/release/channel
ERROR: Running ["C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" uninstall --productId Microsoft.VisualStudio.Product.EnterprisePreview --quiet --channelId VisualStudio.17.Release --norestart] was not successful. Exit code was '1'. See log for possible error messages.
sn_visualstudio2022enterprisepreview uninstall not successful.
Error while running 'C:\ProgramData\chocolatey\lib\sn_VisualStudio2022EnterprisePreview\tools\ChocolateyUninstall.ps1'.
 See log for details.
sn_VisualStudio2022EnterprisePreview not uninstalled. An error occurred during uninstall:
 sn_visualstudio2022enterprisepreview uninstall not successful.

Chocolatey uninstalled 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - sn_visualstudio2022enterprisepreview (exited 1) - Error while running 'C:\ProgramData\chocolatey\lib\sn_VisualStudio2022EnterprisePreview\tools\ChocolateyUninstall.ps1'.
 See log for details.

If a package uninstall is failing and/or you've already uninstalled the
 software outside of Chocolatey, you can attempt to run the command
 with `-n` to skip running a chocolateyUninstall script, additionally
 adding `--skip-autouninstaller` to skip an attempt to automatically
 remove system-installed software. This will only remove the packaging
 files and not things like software installed to Programs and Features.

If a package is failing because it is a dependency of another package
 or packages, then you may first need to consider if it needs removed
 as it is typically installed as a dependency for a reason. If you
 decide that you still want to remove it, head into
 `$env:ChocolateyInstall\lib` and find the package folder you want
 removed. Then delete the folder for the package. This option should
 only be used as a last resort.
jberezanski commented 3 years ago

I don't have access to a computer at the moment to check, but this looks wrong:

An installed product matching the following parameters cannot be found: \n \nchannelId: VisualStudio.17.Release \nproductId: Microsoft.VisualStudio.Product.EnterprisePreview

I'm pretty sure the channelid should be "VisualStudio.17.Preview" and productid "Microsoft.VisualStudio.Product.Enterprise".

jberezanski commented 3 years ago

I can see you are using your own package. Could you check if the visualstudio2022enterprise-preview package I published recently has the same issue?

JRSerjeant commented 3 years ago

I don't have access to a computer at the moment to check, but this looks wrong:

An installed product matching the following parameters cannot be found: \n \nchannelId: VisualStudio.17.Release \nproductId: Microsoft.VisualStudio.Product.EnterprisePreview

I'm pretty sure the channelid should be "VisualStudio.17.Preview" and productid "Microsoft.VisualStudio.Product.Enterprise".

Here is the vswhere out put if that helps:

instanceId: a7781cfa
installDate: 28/06/2021 09:11:56
installationName: VisualStudioPreview/17.0.0-pre.1.0+31410.414
installationPath: C:\Program Files (x86)\Microsoft Visual Studio\2022\EnterprisePreview
installationVersion: 17.0.31410.414
productId: Microsoft.VisualStudio.Product.Enterprise
productPath: C:\Program Files (x86)\Microsoft Visual Studio\2022\EnterprisePreview\Common7\IDE\devenv.exe
state: 4294967295
isComplete: 1
isLaunchable: 1
isPrerelease: 1
isRebootRequired: 0
displayName: Visual Studio Enterprise 2022
description: Scalable, end-to-end solution for teams of any size
channelId: VisualStudio.17.Preview
channelUri: https://aka.ms/vs/17/pre/channel
enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service
layoutPath: \\nas1\installs\Development Tools\Visual Studio 2022 Preview\Offline\17.0.0.1
releaseNotes: https://go.microsoft.com/fwlink/?LinkId=661273#17.0.0-pre.1.0
thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=661288
updateDate: 2021-06-28T08:11:56.565451Z
catalog_buildBranch: d17.0
catalog_buildVersion: 17.0.31410.414
catalog_id: VisualStudioPreview/17.0.0-pre.1.0+31410.414
catalog_localBuild: build-lab
catalog_manifestName: VisualStudioPreview
catalog_manifestType: installer
catalog_productDisplayVersion: 17.0.0 Preview 1.0
catalog_productLine: Dev17
catalog_productLineVersion: 2022
catalog_productMilestone: Preview
catalog_productMilestoneIsPreRelease: True
catalog_productName: Visual Studio
catalog_productPatchVersion: 0
catalog_productPreReleaseMilestoneSuffix: 1.0
catalog_productSemanticVersion: 17.0.0-pre.1.0+31410.414
catalog_requiredEngineVersion: 3.0.132.41978
properties_campaignId:
properties_channelManifestId: VisualStudio.17.Preview/17.0.0-pre.1.0+31410.414
properties_nickname:
properties_setupEngineFilePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe
JRSerjeant commented 3 years ago

I can see you are using your own package. Could you check if the visualstudio2022enterprise-preview package I published recently has the same issue?

I will test this now.

JRSerjeant commented 3 years ago

Looks like this is now a issue on my end. I think our custom packages does not include the same dependencies as yours. I will take a look at that.

choco uninstall visualstudio2022enterprise-preview
Chocolatey v0.10.15
Uninstalling the following packages:
visualstudio2022enterprise-preview

visualstudio2022enterprise-preview v17.0.0.10100-preview1
The package visualstudio2022enterprise-preview wants to run 'ChocolateyUninstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): a

Installing visualstudio2022enterprise-preview...

[2b14:0001][2021-06-28T12:06:54] Saving the current locale (en-US) to user.json.
[2b14:0001][2021-06-28T12:06:54] Setting the telemetry services
[2b14:0003][2021-06-28T12:06:54] Creating a new telemetry service.
[2b14:0001][2021-06-28T12:06:54] Visual Studio Installer Version: 3.0.132-develop-gfaa3f5ca
[2b14:0001][2021-06-28T12:06:54] Raw Command line: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" uninstall --productId Microsoft.VisualStudio.Product.Enterprise --quiet --channelId VisualStudio.17.Preview --norestart
[2b14:0001][2021-06-28T12:06:54] Parsed command line options: uninstall --channelId VisualStudio.17.Preview --norestart --productId Microsoft.VisualStudio.Product.Enterprise --quiet
[2b14:0001][2021-06-28T12:06:54] Using registry value of (1) to theme installer.
[2b14:0001][2021-06-28T12:06:54] Getting singleton lock. Mutex name: DevdivInstallerUI
[2b14:0001][2021-06-28T12:06:54] Getting singleton lock succeed.
[2b14:0003][2021-06-28T12:06:54] Telemetry session ID: 1c016229-f63d-46f0-8275-0f807342791c
[2b14:0003][2021-06-28T12:06:54] Creating new ExperimentationService
[2b14:0003][2021-06-28T12:06:54] Telemetry property VS.ABExp.Flights : lazytoolboxinit;fwlargebuffer;refactoring;spmoretempsbtn1;asloff;keybindgoldbarext;asynccsproj;vsfricheditor;completionapi;tn-vsmacnps-7;toggleblockcomment;tasmigddvs;multitenanttasmigration_002;vsfdevcom2;lsprmsgvol;debugger-init-asynccf
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.source : WPF
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.locale : en-US
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.installerversion : 3.0.132.41978
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.startmethod : direct
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.activityid : 84a6dc45-cbdb-453d-9c35-b57a2854dd26
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.campaign :
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.passive : False
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.quiet : True
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.processtype : ui
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.force : False
[2b14:0003][2021-06-28T12:06:55] Telemetry property vs.willow.noweb : False
[2b14:0001][2021-06-28T12:06:55] Navigation requested from ApplicationViewModel to MainPageViewModel
[2b14:000d][2021-06-28T12:06:57] Telemetry property VS.SetupEngine.ChannelUpdateDisabled : False
[2b14:000e][2021-06-28T12:06:57] Uri 'https://go.microsoft.com/fwlink/?linkid=857708' redirected to 'https://sendvsfeedback2.azurewebsites.net/api'
[2b14:000d][2021-06-28T12:06:58] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\4CB340F5\installChannelManifest.json
[2b14:000d][2021-06-28T12:06:58] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\4CB340F5\install_catalog.json
[2b14:000d][2021-06-28T12:06:58] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\7074001C\installChannelManifest.json
[2b14:000d][2021-06-28T12:06:58] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\7074001C\install_catalog.json
[2b14:000d][2021-06-28T12:06:58] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\installChannelManifest.json
[2b14:000d][2021-06-28T12:06:58] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\install_catalog.json
[2b14:000f][2021-06-28T12:06:58] Telemetry property vs.setup.WorkloadOverrides.DidReceiveOverride : False
[2b14:000f][2021-06-28T12:06:58] Telemetry property vs.setup.WorkloadOverrides.RuleId : None
[2b14:000d][2021-06-28T12:06:58] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\4CB340F5\installChannelManifest.json
[2b14:000d][2021-06-28T12:06:58] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\4CB340F5\install_catalog.json
[2b14:000d][2021-06-28T12:06:58] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\7074001C\installChannelManifest.json
[2b14:000d][2021-06-28T12:06:58] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\7074001C\install_catalog.json
[2b14:000d][2021-06-28T12:06:58] Trying to remove channel manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\installChannelManifest.json
[2b14:000d][2021-06-28T12:06:58] Trying to remove product manifest: C:\Users\USER\AppData\Local\Microsoft\VisualStudio\Packages\_Channels\A0FE1051\install_catalog.json
[2b14:000f][2021-06-28T12:06:59] Error 0x80131501: [2b14:000f][2021-06-28T12:06:59] Authentication failed: A call to SSPI failed, see inner exception.
   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost)
   at Microsoft.VisualStudio.Setup.Installer.DeveloperNews.ServerCertificateVerifier.VerifyUrl(Uri uri, String trustedIssuerCommonName)
[2b14:000f][2021-06-28T12:06:59] Error 0x80131501: [2b14:000f][2021-06-28T12:06:59] Error happend when fetching developer news: A call to SSPI failed, see inner exception.
   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost)
   at Microsoft.VisualStudio.Setup.Installer.DeveloperNews.ServerCertificateVerifier.VerifyUrl(Uri uri, String trustedIssuerCommonName)
   at Microsoft.VisualStudio.Setup.Installer.DeveloperNews.DeveloperNewsProvider.<>c__DisplayClass5_0.<<FetchLatest>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
[2b14:0019][2021-06-28T12:07:14] Decorating UnelevatedProductUninstaller with UnelevatedInstallerTelemetryDecorator
[2b14:0019][2021-06-28T12:07:14] Created a UnelevatedInstallerTelemetryDecorator
[2b14:000e][2021-06-28T12:07:14] Setup Engine v3.0.132-develop-gfaa3f5ca, Microsoft Windows NT 10.0.19043.0
[2b14:000e][2021-06-28T12:07:14] Command line: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" uninstall --productId Microsoft.VisualStudio.Product.Enterprise --quiet --channelId VisualStudio.17.Preview --norestart
[2b14:000e][2021-06-28T12:07:14] Loading packages for instance '6bd15e4d'
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{C34D7309-4E94-4B6A-ABE8-C1EE566E9C1F}' found for package 'Microsoft.VisualStudio.TypeScript.Sdk.4.2,version=4.2.10407.1'
[2b14:000e][2021-06-28T12:07:17] Compatible package is not installed. Code '{C34D7309-4E94-4B6A-ABE8-C1EE566E9C1F}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Switching package detection state from 'Superseded' to 'Absent' since package version '17.0.31404.187' is greater than installed version '16.0.102.0'
[2b14:000e][2021-06-28T12:07:17] Switching package detection state from 'Superseded' to 'Absent' since package version '17.0.31404.187' is greater than installed version '16.0.102.0'
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{413A1F9C-9349-4847-610E-BAB177A48ADE}' found for package 'Microsoft.Windows.UniversalCRT.Redistributable.Msi,version=10.0.26624'
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{812F31DC-FAA6-3979-B3D6-5D6BAAF2945D}' found for package 'Microsoft.PortableLibrary.TargetingPack.Msi,version=17.0.31408.249'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{812F31DC-FAA6-3979-B3D6-5D6BAAF2945D}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{BA3309CA-7099-3F6B-B386-EB7CC895C410}' found for package 'Microsoft.PortableLibrary.TargetingPack.Msi.Resources,version=17.0.31410.258,language=en-US'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{BA3309CA-7099-3F6B-B386-EB7CC895C410}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{CD06199B-41C1-AE6D-7567-984CC68792C3}' found for package 'Microsoft.Windows.UniversalCRT.Tools.Msi,version=10.0.26624,chip=x64'
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{BD75F257-50A4-E0CD-9942-C3550CA3E66A}' found for package 'Microsoft.Windows.UniversalCRT.Tools.Msi,version=10.0.26624,chip=x86'
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=cs-CZ'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=de-DE'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=es-ES'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=fr-FR'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=it-IT'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=ja-JP'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=ko-KR'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=pl-PL'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=pt-BR'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=ru-RU'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=tr-TR'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=zh-CN'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' found for package 'Microsoft.VisualC.140.EspC.Msi.Resources,version=14.0.24245,language=zh-TW'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{EC3E674C-14B1-3B19-9C16-2FD337A2D827}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{569D27D5-6ECD-3A57-B3B2-6B8FF5378C42}' found for package 'Microsoft.TeamFoundation.OfficeIntegration.Resources,version=17.0.31409.3,chip=x64,language=en-US'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{569D27D5-6ECD-3A57-B3B2-6B8FF5378C42}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{A1193EED-BD8A-3A21-A8B6-4D5D4F3CE283}' found for package 'Microsoft.TeamFoundation.OfficeIntegration,version=17.0.31409.3,chip=x64'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{A1193EED-BD8A-3A21-A8B6-4D5D4F3CE283}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Loaded existing instance for product 'Microsoft.VisualStudio.Product.Enterprise,version=17.0.31423.177,chip=x64,productarch=x64'
[2b14:000e][2021-06-28T12:07:17] Telemetry property VS.SetupEngine.Id : VisualStudioPreview/17.0.0-pre.1.1+31423.177
[2b14:000e][2021-06-28T12:07:17] Telemetry property VS.SetupEngine.Branch : d17.0
[2b14:000e][2021-06-28T12:07:17] Telemetry property VS.SetupEngine.BuildNumber : 17.0.31423.177
[2b14:000e][2021-06-28T12:07:17] Telemetry property VS.SetupEngine.InstanceId : 6bd15e4d
[2b14:000e][2021-06-28T12:07:17] Telemetry property VS.SetupEngine.EngineVersion : 3.0.132.41978
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{C34D7309-4E94-4B6A-ABE8-C1EE566E9C1F}' found for package 'Microsoft.VisualStudio.TypeScript.Sdk.4.2,version=4.2.10407.1'
[2b14:000e][2021-06-28T12:07:17] Compatible package is not installed. Code '{C34D7309-4E94-4B6A-ABE8-C1EE566E9C1F}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{413A1F9C-9349-4847-610E-BAB177A48ADE}' found for package 'Microsoft.Windows.UniversalCRT.Redistributable.Msi,version=10.0.26624'
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{812F31DC-FAA6-3979-B3D6-5D6BAAF2945D}' found for package 'Microsoft.PortableLibrary.TargetingPack.Msi,version=17.0.31408.249'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{812F31DC-FAA6-3979-B3D6-5D6BAAF2945D}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{BA3309CA-7099-3F6B-B386-EB7CC895C410}' found for package 'Microsoft.PortableLibrary.TargetingPack.Msi.Resources,version=17.0.31410.258,language=en-US'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{BA3309CA-7099-3F6B-B386-EB7CC895C410}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{CD06199B-41C1-AE6D-7567-984CC68792C3}' found for package 'Microsoft.Windows.UniversalCRT.Tools.Msi,version=10.0.26624,chip=x64'
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{569D27D5-6ECD-3A57-B3B2-6B8FF5378C42}' found for package 'Microsoft.TeamFoundation.OfficeIntegration.Resources,version=17.0.31409.3,chip=x64,language=en-US'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{569D27D5-6ECD-3A57-B3B2-6B8FF5378C42}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Compatible ProductCode '{A1193EED-BD8A-3A21-A8B6-4D5D4F3CE283}' found for package 'Microsoft.TeamFoundation.OfficeIntegration,version=17.0.31409.3,chip=x64'
[2b14:000e][2021-06-28T12:07:17] Compatible package version is less than or equal to the package version. Code '{A1193EED-BD8A-3A21-A8B6-4D5D4F3CE283}' will not be used for repair/uninstall attempts.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.NuGet.PowershellBindingRedirect is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.2)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.Debugger.DbgHelp.Win8 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.3]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.Debugger.Remote.DbgHelp.Win8 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.3]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.Debugger.Remote.DbgHelp.Win8 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.3]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Windows.UniversalCRT.Msu.7 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.2)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Windows.UniversalCRT.Msu.8 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.2,6.3)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Windows.UniversalCRT.Msu.81 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.3,6.4)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Net.4.8.FullRedist is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1.1,10.0.17763]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Net.4.8.KB5003306 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[10.0.18362,10.0.18363]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Net.4.8.KB5003793 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[10.0.20279,10.0.20348]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Net.4.8.KB5003792 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '10.0.21290'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.DiagnosticsHub.KB2882822.Win7 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.2)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Net.4.6.FullRedist is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1.1,6.4)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Ancm.IIS.Msi is not applicable: Required conditions are not satisfied: IISCoreWebEngineInstalledx64 And IISW3SvcInstalledx64
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Ancmv2.IIS.Msi is not applicable: Required conditions are not satisfied: IISCoreWebEngineInstalledx64 And IISW3SvcInstalledx64
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.ComponentGroup.IISDevelopment is not applicable: Required conditions are not satisfied: IISCoreWebEngineInstalledx64 And IISW3SvcInstalledx64
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Azure.PowerShell is not applicable: Required conditions are not satisfied: Not Powershell5
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.OfficeDeveloperTools.WindowsIdentityFoundation.Msu is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '(,6.2)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.NuGet.PowershellBindingRedirect is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.2)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.Debugger.DbgHelp.Win8 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.3]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.Debugger.Remote.DbgHelp.Win8 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.3]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.Debugger.Remote.DbgHelp.Win8 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.3]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Windows.UniversalCRT.Msu.7 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.2)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Windows.UniversalCRT.Msu.8 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.2,6.3)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Windows.UniversalCRT.Msu.81 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.3,6.4)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Net.4.8.FullRedist is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1.1,10.0.17763]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Net.4.8.KB5003306 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[10.0.18362,10.0.18363]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Net.4.8.KB5003793 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[10.0.20279,10.0.20348]'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Net.4.8.KB5003792 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '10.0.21290'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.DiagnosticsHub.KB2882822.Win7 is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1,6.2)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Net.4.6.FullRedist is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '[6.1.1,6.4)'.
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Ancm.IIS.Msi is not applicable: Required conditions are not satisfied: IISCoreWebEngineInstalledx64 And IISW3SvcInstalledx64
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.Ancmv2.IIS.Msi is not applicable: Required conditions are not satisfied: IISCoreWebEngineInstalledx64 And IISW3SvcInstalledx64
[2b14:000e][2021-06-28T12:07:17] Package Microsoft.VisualStudio.ComponentGroup.IISDevelopment is not applicable: Required conditions are not satisfied: IISCoreWebEngineInstalledx64 And IISW3SvcInstalledx64
[2b14:000e][2021-06-28T12:07:18] Package Microsoft.Azure.PowerShell is not applicable: Required conditions are not satisfied: Not Powershell5
[2b14:000e][2021-06-28T12:07:18] Package Microsoft.VisualStudio.OfficeDeveloperTools.WindowsIdentityFoundation.Msu is not applicable: The current OS Version '10.0.19043.0' is not in the supported version range '(,6.2)'.
[2b14:000f][2021-06-28T12:07:38] Shutting down the application with exit code 0
[2b14:0001][2021-06-28T12:07:38] Releasing singleton lock.
[2b14:0001][2021-06-28T12:07:38] Releasing singleton lock succeed.
[2b14:0001][2021-06-28T12:07:38] Releasing singleton lock.
[2b14:0001][2021-06-28T12:07:38] Singleton lock does not exist. Releasing singleton lock skipped.
[2b14:0001][2021-06-28T12:07:38] Closing the installer with exit code 0
[2b14:0001][2021-06-28T12:07:38] Exit Code: 0
[2b14:0001][2021-06-28T12:07:38] Cleared previous session ID.
[2b14:000d][2021-06-28T12:07:38] Download requested: https://aka.ms/vs/16/release/channel
[2b14:000e][2021-06-28T12:07:38] Download requested: https://aka.ms/vs/17/pre/channel
[2b14:000a][2021-06-28T12:07:38] Download requested: https://aka.ms/vs/15/release/channel
[2b14:001e][2021-06-28T12:07:38] Attempting download 'https://aka.ms/vs/16/release/channel' using engine 'WebClient'
[2b14:0020][2021-06-28T12:07:38] Attempting download 'https://aka.ms/vs/17/pre/channel' using engine 'WebClient'
[2b14:0021][2021-06-28T12:07:38] Attempting download 'https://aka.ms/vs/15/release/channel' using engine 'WebClient'
[2b14:0021][2021-06-28T12:07:38] Uri 'https://aka.ms/vs/15/release/channel' redirected to 'https://download.visualstudio.microsoft.com/download/pr/67f7bfaa-2635-43d9-ba82-26564f458881/339cc95f2abe3ce9d169a281e214850bba2c13e07b39669a7f964ddc36c53e8c/VisualStudio.15.Release.chman'
[2b14:001e][2021-06-28T12:07:38] Uri 'https://aka.ms/vs/16/release/channel' redirected to 'https://download.visualstudio.microsoft.com/download/pr/2d4f424c-910d-4198-80de-aa829c85ae6a/19a91cedf9f14350be7b7a713479c5aa555e3ed9bb3108a910c366d34ad9c079/VisualStudio.16.Release.chman'
[2b14:0020][2021-06-28T12:07:38] Uri 'https://aka.ms/vs/17/pre/channel' redirected to 'https://download.visualstudio.microsoft.com/download/pr/b6e51993-aee8-44a4-ab52-0fe6da4e98c6/fc835d63e2e1ef986d6258f7188ec96f035979f8df983a7d71228d48e182d9d0/VisualStudio.17.Preview.chman'
[2b14:001e][2021-06-28T12:07:38] ManifestVerifier Result: Success
[2b14:001e][2021-06-28T12:07:38] Download of 'https://aka.ms/vs/16/release/channel' succeeded using engine 'WebClient'
[2b14:0021][2021-06-28T12:07:38] ManifestVerifier Result: Success
[2b14:0021][2021-06-28T12:07:38] Download of 'https://aka.ms/vs/15/release/channel' succeeded using engine 'WebClient'
[2b14:0020][2021-06-28T12:07:38] ManifestVerifier Result: Success
[2b14:0020][2021-06-28T12:07:38] Download of 'https://aka.ms/vs/17/pre/channel' succeeded using engine 'WebClient'
[2b14:000e][2021-06-28T12:07:38] Channel manifest for https://aka.ms/vs/16/release/channel is already up to date.
[2b14:001a][2021-06-28T12:07:42] Channel manifest for https://aka.ms/vs/15/release/channel is already up to date.
visualstudio2022enterprise-preview has been installed.
WARNING: If Chocolatey asks permission to run the Auto Uninstaller, please answer No. Otherwise, you might lose other Visual Studio products installed on your machine.
 Skipping auto uninstaller - Package contains a skip file ('.skipAutoUninstall').
 visualstudio2022enterprise-preview has been successfully uninstalled.

Chocolatey uninstalled 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\Users\USER\Desktop>  
jberezanski commented 3 years ago

I suggest you compare the parameters you pass to Install-VisualStudio / Remove-VisualStudioProduct with https://github.com/jberezanski/ChocolateyPackages/tree/master/visualstudio2022enterprise-preview/tools.

JRSerjeant commented 3 years ago

Hello, apologies for the late reply. Unfortunately our install script is custom due to some complex requirements we have have. We are looking at moving over to installing with the extension in the further. I'm happy for this to be closed are the main issue, Visual Studio 2022, is resolved.

jberezanski commented 3 years ago

I see. Closing, then.