If you execute update, it will return a non-zero exit code. Installer also be updated offline prior to updating Visual Studio?Īnd -noUpdateInstaller means that it will prevent updating vs_installer.exe. Is there a way to actually force -noUpdateInstaller, can the Visual And as you described, you use vs_Professional.exe update -wait -norestart -noweb -noUpdateInstaller, it means that you are updating the vs_installer program. fails with exit code '1' pretty quick after it was invoked.Īctually, every time you update vs, you must first update the vs_installer program. The call to vs_Professional.exe update -wait -norestart -noweb I'm using a script such as described in workaround #2 wrapped in a Chocolatey Package and getting good results so far. Vs_professional.exe $updatePrefix -passive -norestart -wait -productkey $productKey -nocache $updateInstaller -noWeb $selectedWorkloads in our deployment script: $hasInternetConnection = try Is there a way to actually force -noUpdateInstaller, can the Visual Installer also be updated offline prior to updating Visual Studio?Įdit: a possible workaround to this problem may be to determine if the target workstation is connected to the internet or not - and specify use '-noUpdateInstaller' based on the result of this check. We’re already using the -noweb and -noUpdateInstaller flags when calling the Visual Studio Installer, which leads me to the assumption that those parameters are not handled correctly. VisualStudio Bootstrapper: 10:17:56: Bootstrapper failed with client process error or unknown error. VisualStudio Bootstrapper: 10:17:56: VS setup process exited with code 1 VisualStudio Bootstrapper: 10:17:54: Pipe disconnected. VisualStudio Bootstrapper: 10:17:49: Waiting for setup process to complete. VisualStudio Bootstrapper: 10:17:49: VS setup process C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe started. Looking at the dd_ logs in TEMP, we find: VisualStudio Bootstrapper: 10:17:49: Starting VS setup process 'vs_installer.exe' with arguments ' -layoutPath "\vs2019_250520_layout" -in "\\vs2019_250520_layout\Response.json" update -passive -norestart -productkey -) -nocache -noUpdateInstaller -noWeb -add -add -add -add -add .v141.MFC -includeOptional -includeRecommended -addProductLang en-us -locale de-DE -activityId "2e4fbc9e-37da-4791-9228-11b9649b69fa" -pipe "d549be32-ee39-49d5-b871-bed44625cafb"'. fails with exit code '1' pretty quick after it was invoked. The call to vs_Professional.exe update -wait -norestart -noweb -noUpdateInstaller. Up until lately, the installation/ update from previous VS instances (16.3 to be exact) worked quite well.Ĭurrently, we cannot use the offline layout to install the local cached version of Visual Studio any more, because computers connected to the internet want to update “Visual Studio Installer” prior to installing anything. We use a “Visual Studio Offline Layout” to deploy VS 16.6 to both developers and buildservers with mixed internet connections (offline / proxy / direct).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |