Squirrel / Squirrel.Windows

An installation and update framework for Windows desktop apps
MIT License
7.36k stars 1.03k forks source link

[Feature Request] Add switch to view available install switches #1603

Open o-l-a-v opened 4 years ago

o-l-a-v commented 4 years ago

Please add a default option to view available install parameters (such as "-s") with a common switch for getting such info. By a commonly used switch I mean any of the following:

This has been a problem for all Squirrel.Windows applications I've tried it on, like Teams, Yammer and GitHub Desktop.

Reference to related feature request: #1602

Reference to my related GitHub Desktop installer issue:

anaisbetts commented 4 years ago

This seems Legit though it's not so easy since Setup.exe isn't a console app

o-l-a-v commented 4 years ago

@anaisbetts

At least stop triggering an install if any of those switches are provided, that would be a great improvement. If squirrel can handle "/s" there's already something there to handle arguments from console, right?

Bertaz commented 3 years ago

Another option, if printing to console isn't possible, would be to show a popup with a list of the parameters. Similar to: image

In any case please make it so it doesn't install with --help et similia, it's not what anyone would expect