installer.bat
The installer for windows servers/windows operating systems without GUI support.
Errors
error
Introduced in
v1.0.0-alpha3
Base error function used for all other errors.
installer.bat | |
---|---|
Arguments
1
- First line of the error message. Does not include indentation at the beginning. Should be under 60 characters in length.
2
- Second line of the error message. Does not include indentation at the beginning. Should be under 60 characters in length.
3
- Exit code. See here.
Returns
Exit with the code specified as 3
.
not_installed_error
Error raised, when something necessary for the installer to work is not installed.
installer.bat | |
---|---|
Arguments
1
- The name of the thing not installed. First letter should be uppercase.
2
- The name of the thing not installed. First letter should be lowercase.
Returns
Exit with error code 1.
os_error
Error raised, when the OS the installer is ran on is not windows.
installer.bat | |
---|---|
Returns
Exit with error code 2.
Exit codes
Exit code | Description | Example |
---|---|---|
1 | See not_installed_error |
Python is not installed. |
2 | See os_error |
OS is not windows. |