scoop-nonportable icon indicating copy to clipboard operation
scoop-nonportable copied to clipboard

powertoys installer not silent nor passive

Open TonyApuzzo opened this issue 1 year ago • 0 comments

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

TonyApuzzo avatar Sep 12 '22 16:09 TonyApuzzo