Provide all installer options as command line arguments
Closed this issue · 2 comments
mavaddat commented
The ysetup.exe
yori installer provides several options in its GUI that are not exposed as command line arguments or switches. This prevents unattended (non-interactive) installation with the full range of install preferences.
The GUI installer:
The CLI installer:
.\ysetup.exe -?
Ysetup 1.60
Installs a basic Yori system.
YSETUP [-license] [directory]
mavaddat commented
Here are the ten options provided by the GUI installer (as a table somewhat corresponding to the UI layout):
Install Type | Install Options |
---|---|
☑️ Install Core Core includes the Yori shell and commands that are equivalent to those included in CMD |
☑️ Install Desktop shortcut |
☑️ Install Typical Typical includes Core plus useful tools and utilities such as cvtvt , df , du , hash , hexdump iconv , lines , Isof , mount , nice , sdir , tail , tee , touch and which |
☑️ Install Start Menu shortcut |
☑️ Install Complete Complete includes Typical plus a CMD version of for and clmp multiprocessor compiler wrapper |
☑️ Install Windows Terminal profile |
☑️ Add Yori to system path | |
☑️ Add Yori to user path | |
☑️ Install source code | |
☑️ Install debugging symbols Q Register uninstall handler |
malxau commented
Heh, as luck would have it I wrote this last weekend and just pushed it now, before seeing your message.
The new installer has a TUI which mirrors the GUI.
The CLI options have been expanded to be fully descriptive of their GUI counterparts:
Ysetup 1.60
Installs a basic Yori system.
YSETUP [-license] [-core|-typical|-complete] [-desktop] [-gui] [-source]
[-start] [-symbols] [-systempath] [-terminal] [-text] [-uninstall]
[-userpath] [directory]
-gui Use graphical installer (default)
-text Use text installer
-core Install minimal components.
-typical Install typical components.
-complete Install all components.
-desktop Install a desktop shortcut.
-source Install source code.
-start Install a start menu shortcut.
-symbols Install debugging symbols.
-systempath Add path to the system path.
-terminal Install Windows Terminal profile.
-uninstall Install an uninstall entry.
-userpath Add path to the user path.