Open pjeby opened 1 year ago
Bug of function Invoke-ExternalCommand
. if you execute the same command via PowerShell Core(e.g. 7.2.8), it works as expected.
Related: https://github.com/ScoopInstaller/Scoop/issues/5231
BTW, This manifest should be moved to nonportable bucket.
Prerequisites
Package Name
speedfan
Expected/Current Behaviour
I expected a silent portable installation of speedfan, but got a global, not-silent install (in "Program Files (x86)") and a "Can't shim 'speedfan.exe': File doesn't exist." error. The install is marked as failed, but speedfan works. Uninstalling removes the useless bits from
scoop\apps\speedfan
, but actually uninstalling speedfan requires the use of Programs and Features.It appears that the speedfan452.exe installer does not accept the command line arguments it's given.
Steps to Reproduce
Possible Solution
Presumably the issue is that the installer needs some changes to the command line, but I don't know what they'd be. Alternately, the issue might be that running the installer as a pre-install script is bypassing installer detection? Don't know enough about how that works to speculate, thoguh.
Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response