TheRandomLabs / scoop-nonportable

A Scoop bucket for nonportable applications.
The Unlicense
136 stars 40 forks source link

powertoys installer not silent nor passive #363

Open TonyApuzzo opened 2 years ago

TonyApuzzo commented 2 years ago

The --silent flag used by the installer doesn't work and currently installing powertoys-np requires the user going through the full interactive wizard for both install and uninstall.

See https://docs.microsoft.com/en-us/windows/powertoys/install for correct flags, note that the documented silent option is /quiet (even though -silent is supposed to work also, it doesn't for me and /quiet does).

Note also that the install runs in the background independently of the scoop installer, which finishes instantly. The actual install takes ~30 seconds (on my system) but does eventually complete successfully in general. It seems that both the installer and uninstaller should wait for the completion since scoop usually runs installers synchronously.

The following command line works for silent and wait, but I am not sure how to integrate this into the scoop manifest, so I don't have a suggested PR:

start-process .\cache\powertoys-np#0.62.0#https_github.com_microsoft_PowerToys_releases_download_v0.62.0_PowerToysSetup-0.62.0-x64.exe_setup.exe -ArgumentList "/quiet" -Wait