Squirrel.Windows icon indicating copy to clipboard operation
Squirrel.Windows copied to clipboard

[Feature Request] Add switch to view available install switches

Open o-l-a-v opened this issue 4 years ago • 3 comments

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:

  • /?
  • /h
  • /help
  • -?
  • -h
  • -help
  • --?
  • --h
  • --help

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:

  • https://github.com/desktop/desktop/issues/9408

o-l-a-v avatar Mar 30 '20 15:03 o-l-a-v

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

anaisbetts avatar Apr 07 '20 02:04 anaisbetts

@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?

o-l-a-v avatar Apr 07 '20 21:04 o-l-a-v

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

Bertaz avatar Dec 07 '20 20:12 Bertaz