Visual Studio 2017 Enterprise offline installation stuck - visual-studio

I had to disconnect my laptop from the internet for some time (before disconnecting the offline installation was working just fine and had already downloaded 11.6GB). When I got back I ran the vs_enterprise.exe --layout C:\vs2017offline --lang en-US command again but now it gets stuck on
=> Layout operation correlation: {"id":"5c09fc12-236c-4c7e-9a8e-7d24500b9e1d"}
I checked my error log file and it is empty.
Below are my log files. I can't understand why this is happening, so any help will be appreciated.
=>[29e8:000f][2017-03-18T10:56:51] Download requested: https://go.microsoft.com/fwlink/?linkid=833502
=>[29e8:000c][2017-03-18T10:56:51] Download requested: https://go.microsoft.com/fwlink/?linkid=833501
=>[29e8:0012][2017-03-18T10:56:51] Attempting download 'https://go.microsoft.com/fwlink/?linkid=833502' using engine 'WebClient'
=>[29e8:0013][2017-03-18T10:56:51] Attempting download 'https://go.microsoft.com/fwlink/?linkid=833501' using engine 'WebClient'

Related

Visual Studio perpetually reinstalls Cloud SDK

I have Visual Studio installed on Manjaro. After the last system update, Visual Studio stopped working with the Cloud Code extension. It perpetually installs and uninstalls the extension and throws the next error message:
Cloud SDK was installed but was found to be invalid or corrupted so it was removed. Attempting to reinstall. Managed dependencies will be unavailable during this process. (install attempt 1)
I tried to reinstall the SDK, the extension, and the Visual Studio. Nothing changes at all.
I am able to install Cloud Code without any any issues, using the below steps as provided here. This includes the dependencies like Cloud SDK, kubectl etc.
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
ext install GoogleCloudTools.cloudcode

Can't download Visual Studio Installer

I am trying to install the Visual Studio Community Edition.
Unfortunately the Installer can't be downloaded. When I look at the logs I get the following messages:
[12/17/2020, 10:31:35] The entire Box execution exiting with result code: 0x0
[12/17/2020, 10:31:35] Launched extracted application exiting with result code: 0x138b
The bootstrapper can't access the file at C:\ProgramData\Microsoft\VisualStudio\Packages_bootstrapper\vs_installer\sjbe34w.nig and throws a System.UnauthorizedAccessException.
I allready tried, deleting the Packages Folder and clearing the Temp Folder and running the install-programm as administrator. I also allready cheked my Windows Managment INtrsument in services.msc, and it is running and starts automatically. As I am installing Visual Studio on a computer from my work place I can't stop the antivirus-software.
The permissions on the Package-Folder should actually allow the Software to access it, so I'm confused.

How to resume a Visual Studio 2017 intentionally stopped

I started downloading Visual Studio for offline installation using layout switch. When the installation was 19.1Go, I closed the console and the download got stopped. Today I restarted it in the same folder (where previous files were) thinking it would continue. However, from what I see, it simply overwrites the previous files (files are still downloaded from internet). So, I am wondering if someone has a way to make it continue.
Thank you.
simple retype the command after opening command prompt in my case it was vs_community.exe --layout c:\vs2017layout --lang en-US
NOTE directory should be same as previous
it first verify the previously downloaded packages and then resumed the downloading here are some logs
Verified existing package 'Microsoft.VisualC.140.CRT.Redist.X86.Msi,version=14.0.24225'
Verified existing package 'Microsoft.VisualC.140.CRT.Source.Msi,version=14.0.24225'
Verified existing package 'Microsoft.VisualC.140.CRT.x64.Desktop.Msi,version=14.0.24225'
Verified existing package 'Microsoft.VisualC.140.CRT.x64.OneCore.Desktop.Msi,version=14.0.24225'
Verified existing package 'Microsoft.VisualC.140.CRT.x64.Store.Msi,version=14.0.24225'
Verified existing package 'Microsoft.VisualStudio.OfficeDeveloperTools.WIF.WindowsFeature,version=15.0.26621.2'
Total packages to download: 307
Starting 'UpdateLayout' operation
Download of 'https://download.visualstudio.microsoft.com/download/pr/10661194/7385009d7cc46622284fa28aea9a82bf/netfx45_dtp.msi' succeeded using engine 'WebClient'
Download of 'https://download.visualstudio.microsoft.com/download/pr/10715705/f34cc4a1fd105b0276170faf7f5e0271/VC_CRT.X86.Desktop.msi' succeeded using engine 'WebClient'
Download of 'https://download.visualstudio.microsoft.com/download/pr/10715705/f34cc4a1fd105b0276170faf7f5e0271/cab2.cab' succeeded using engine 'WebClient'Download of 'https://download.visualstudio.microsoft.com/download/pr/10661194/7385009d7cc46622284fa28aea9a82bf/netfx45_dtp.cab' succeeded using engine 'Bits'
UpdateLayout progress: 0.06%
Download of 'https://download.visualstudio.microsoft.com/download/pr/10715069/2f1ac63ac0488abe845c76ad6690d8c9/VC_CRT.X86.OneCoreDesktop.msi' succeeded using engine 'Bits'
Download of 'https://download.visualstudio.microsoft.com/download/pr/10715705/f34cc4a1fd105b0276170faf7f5e0271/cab1.cab' succeeded using engine 'WebClient'
Yes , now we can resume the offline installation. Latest installer Verifies the files if directory is unchanged and Resumes from there But they should provide torrent links of at least VS community edition, it is more reliable especially if files are multiple and are large in size.

Installation : Microsoft Visual C++ Redistributable stuck at 'Processing: Windows7_MSU_X64'

I'm trying to install the package of Microsoft Visual C++ Redistributable as my xampp apache module cannot be installed. The installation take a very long time to complete. What should I do? Is this common and is all I have to do is wait?
They are dead stuck with this setup progress as the indication
Processing: Windows7_MSU_X64
To install the Visual C++ 2015 Redistributable, you do not need to remove or uninstall the previous versions.
Refer to the error message, you can have a look at the installation log file and search ‘error’, if you can find the error message about Windows6.1-KB2999226-x64.msu, check this similar issue and have a try with the following to troubleshot this issue:
Download the update KB2999226 for your OS edition from here: Update for Universal C Runtime in Windows and before it, since your OS is windows 7, make sure SP1 is installed.
Manually install the KB2999226 as below:
Find the Windows6.1-KB2999226-x64.msu from the folder C:\ProgramData\Package Cache\xxxxx\packages\Patch\x64, which you can the path from the installation log
Create a folder named ‘XXXX’ in that and execute following commands from Admin command prompt
wusa.exe Windows6.1-KB2999226-x64.msu /extract:XXXX
DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows6.1-KB2999226-x64.cab
vc_redist.x64.exe /repair
If you have no idea about the installation log, you can go to %temp% and order by ‘Date modified’, then you should find the installation log, or you can use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.
I first tried a clean boot and that didn't work so I opened up the task manager to see what other processes I might kill while it was stuck at "Processing: Windows7_MSU_X64" I killed the process titled "windows update standalone installer" and the install completed successfully the moment I killed that process.
Okay, I found the solution for my stucked installation. I updated my Windows manually using wsusoffline tools as my Windows can't seem to update with the usual ways.
Install wsusoffline and select all update for Windows (Windows 7 for me). Make sure to choose the folder to save your update.
Wait for the update to be downloaded
Install the update
Install the MV C++ Redistributable again
Done!
I finally can install my Xampp Apache module and access to the localhost.

Visual Studio 2015 Update 3 Installation/Change Fails - "The parameter is incorrect"

I am trying to install the Visual Studio 2015 Update 3, but I am receiving an error each time. I have tried both the web installer and the ISO, and I have also tried going into Control Panel/Programs and modifying the 2015 install. All of these result in the same error: "Setup Engine - The parameter is incorrect". I've read about some of the other issues with the installer, but I'm hoping somebody else might have seen this one or something similar. The logs always have the following error in them:
[1B10:1DA0][2016-07-18T11:39:28]e000: Error 0x80070057: Failed to convert version: to DWORD64 for ProductCode: {284FA9A0-CEDD-81D3-5A19-5858E95FD0C4}
[1B10:1DA0][2016-07-18T11:39:28]e151: Detect failed for package: Win10_Universal_CRT_SDK_Extension_SDK, error: 0x80070057
I have even tried to download the full installer for VS2015, but all installers seem to run through the same error. Any ideas on how I might repair this particular component so the installs will succeed?
Additional information, this is happening on a VM of Windows 10 running in Parallels 11.
Screen shot of installer failing
I found a similar issue here: https://connect.microsoft.com/VisualStudio/feedback/details/974081/visual-studio-update-3-installation-keeps-failing-error-message-setup-engine-the-parameter-is-incorrect
The reply from Heath[MSFT]:
The logs confirm that some of your Windows Installer product
registration is corrupt. For the first issue, open a command prompt
(preferably elevated to avoid multiple UAC prompts later) and run the
following:
start /wait msiexec /fomus {284FA9A0-CEDD-81D3-5A19-5858E95FD0C4} REINSTALL=ALL
That should get
you past the first problem. If it does not, manually remove the
product like so and re-install it from the package cache:
start /wait msiexec /x {284FA9A0-CEDD-81D3-5A19-5858E95FD0C4} IGNOREDEPENDENCIES=ALL
start /wait msiexec /i "C:\ProgramData\Package Cache\{A79F6653-6AF1-4AF2-BC15-F5D6C05E1E6A}v2.0.40326.0\packages\sptoolsDependencies\enu\WorkflowManagerTools_x64.msi" ADDLOCAL=ALL NOVSUI=1
(change the above file
WorkflowManagerTools_x64.msi according to your log file record) After
this, installing VS Update 3 should work.
I had a very similar problem which at its root exhibited the same issue identified above in the Visual Studio 2015 Update 3 setup error (I couldn't install SSMS 17.1 which uses the Visual Studio 2015 Isolated Shell). I tried the solution above which unfortunately did not work for me. I did some more digging through the vs_isoshell.exe log file and found lines similar to those below.
[6BE0:36E0][2017-07-13T13:05:36]i000: Error 0x80070057: Failed to convert version: to DWORD64 for ProductCode: {9A7E3828-17FB-3E0C-9B28-48493E01937A}
The ProductCode refers to the "Microsoft Visual C++ 15 x86 Debug Runtime - 14.10.24269".
A perusal of my installed programs showed I did not have this installed, and I was unable to install it again due to a later version being present (it turns out it was upgraded, or removed, when I installed Visual Studio 2017).
I did some more searching and came across this page which had steps I adapted to my situation. I performed the same registry profiling of the installer with Process Monitor and the same key was missing. I added a key called DisplayVersion (string - REG_SZ) to the path below with a value of 14.10.24629 and that worked.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\8283E7A9BF71C0E3B9828494E31039A7\InstallProperties]
Adding the key/value pair allowed the installation of the VS 2015 Update 3 Isolated Shell to finish successfully which in turn allowed the SSMS 17.1 installation to complete successfully.

Resources