ACooper81 / scoop-apps

A personal bucket for http://scoop.sh
51 stars 13 forks source link

[BUG] Visual Studio Community 2022 / 2019 doesn't install #145

Open anderlli0053 opened 1 year ago

anderlli0053 commented 1 year ago

Prints error 87

Package Name: MicrosoftVisualStudioCommunity2019-Install AND ALSO MicrosoftVisualStudioCommunity2022-Install

Current Behaviour Puts the Visual Studio installer on your machine, but doesn't install Visual Studio 2019, nor 2022

Expected Behaviour Should download and install Visual Studio 2019 or 2022. (Probably to the default install location with no workflows added)

scoop install ACooper81_scoop-apps/MicrosoftVisualStudioCommunity2019-Install
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'MicrosoftVisualStudioCommunity2019-Install' (16.11.22) [64bit] from ACooper81_scoop-apps bucket
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 65bd30|OK  |   719KiB/s|C:/Users/ander/scoop/cache/MicrosoftVisualStudioCommunity2019-Install#16.11.22#https_aka.ms_vs_16_release_vs_community.exe
Download: Status Legend:
Download: (OK):download completed.
Checking hash of vs_community.exe ... ok.
Running installer script...
ERROR Exit code was 87!
Linking ~\scoop\apps\MicrosoftVisualStudioCommunity2019-Install\current => ~\scoop\apps\MicrosoftVisualStudioCommunity2019-Install\16.11.22
'MicrosoftVisualStudioCommunity2019-Install' (16.11.22) was installed successfully!
anderlli0053 commented 1 year ago

@ACooper81

ACooper81 commented 1 year ago

I have made an update to both MicrosoftVisualStudioCommunity2019-Install and MicrosoftVisualStudioCommunity2022-Install manifests. I have tested both installs and they are installing Visual Studio Installer and Visual Studio 2019/2022 Community. They still come up with errors but they seem to be working now. You will still need to run Visual Studio Installer after the install finishes to add any required workloads.

dong-lufei commented 1 year ago

I can install it (but there is an error during the installation process, and it is not installed to the path I specified), and after installation, open it and continue to check the relevant components to work.

anderlli0053 commented 1 year ago

@ACooper81

ACooper81 commented 1 year ago

All the install manifest that I create will install to the default install path. The install doesn't install any workloads or components but should update them when a new version of Visaul Studio is released. I have set it up this way because I don't know what workloads or components that are required.