Visualstudio-docs: %ERRORLEVEL% == 1, I need to know the meaning, because ...

Created on 1 Jul 2018  路  7Comments  路  Source: MicrosoftDocs/visualstudio-docs

All 7 comments

@Blonder Thanks for your inquiry. It looks like this is being addressed in the proper place, which is through the Developer Community. We'll close this GitHub Issue for now (because it's designed specifically for documentation issues).

It is a documentaion issue, https://docs.microsoft.com/en-us/visualstudio/install/create-a-network-installation-of-visual-studio

Value | Result
-- | --
0 | Operation completed successfully
3010 | Operation completed successfully, but install requires reboot before it can be used
Other | Failure condition occurred - check the logs for more information

What is Other? I always get a 1, I would like to know the meaning of 1.
Thanks for the help,
Andreas.

@Blonder Thanks for the further clarification re: the page you'd like to see updated. We'll investigate doing so and report back.

Thanks a lot, this may help me with offline installation issues.

In the meantime I got another error, I think it was 5007, because of a path length problem - the path of the offline layout folder must not exceed 80 characters. It would be nice if all of the error codes and the meaning would be listed here, that would save me a lot of time. Thanks for the help, Andreas.

@tydunkel FYI about the customer request to add more error-related info to the Create a network installation of Visual Studio page.

@Blonder We've updated the following pages to include an expanded error list:

The additional information includes the following:

| Value | Result |
| --------- | ---------- |
| 0 | Operation completed successfully |
| 1602 | Operation was canceled |
| 1641 | Operation completed successfully, and reboot was initiated |
| 3010 | Operation completed successfully, but install requires reboot before it can be used |
| 5003 | Bootstrapper failed to download installer |
| 5004 | Operation was canceled |
| 5005 | Bootstrapper command-line parse error |
| 5007 | Operation was blocked - the computer does not meet the requirements |
| -1073741510 | Microsoft Visual Studio Installer was terminated (by the user or external process) |
| Other
(for example:
-1, 1, 1603) | Failure condition occurred - check the logs for more information |

We'll close this issue now. And thanks again for helping us to improve the documentation!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

patrikhuber picture patrikhuber  路  4Comments

ChrisMaddock picture ChrisMaddock  路  3Comments

CeciAc picture CeciAc  路  3Comments

nitinjs picture nitinjs  路  3Comments

realbart picture realbart  路  3Comments