Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide all installer options as command line arguments #101

Closed
mavaddat opened this issue Nov 27, 2021 · 2 comments
Closed

Provide all installer options as command line arguments #101

mavaddat opened this issue Nov 27, 2021 · 2 comments
Labels
fixed in master Changes have been made but are not in a stable release

Comments

@mavaddat
Copy link

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:

screenshot of 1.60 yori installer

The CLI installer:

.\ysetup.exe -?
Ysetup 1.60

Installs a basic Yori system.

YSETUP [-license] [directory]

Related Issues: #43 #11 #12 #21

@mavaddat
Copy link
Author

mavaddat commented Nov 27, 2021

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
Copy link
Owner

malxau commented Nov 27, 2021

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.

@malxau malxau added the fixed in master Changes have been made but are not in a stable release label Nov 27, 2021
@malxau malxau closed this as completed Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in master Changes have been made but are not in a stable release
Projects
None yet
Development

No branches or pull requests

2 participants