Romanitho / Winget-AutoUpdate

WAU daily updates apps as system and notify connected users. (Allowlist and Blocklist support)
MIT License
1.17k stars 141 forks source link

[Feature Request]: replace invisible.vbs with run-hidden #465

Closed andreasbrett closed 1 month ago

andreasbrett commented 1 year ago

The request

Microsoft officially announced last month that VBS will be deprecated in the future. No deadlines or time frames were mentioned. Nevertheless since invisible.vbs is merely used for spawning a powershell.exe process in a hidden fashion, it should be easy to migrate to another workaround before Microsoft decides to kill off VBS.

https://github.com/PowerShell/PowerShell/issues/3028 mentions a C++ implementation. You can find it here: https://github.com/stax76/run-hidden. It would be a great drop-in replacement. License allows deploying WAU with the run-hidden binary. Of course using an external binary might trigger some AV/EDR tools and is worse than using embedded OS tools. VirusTotal result is 1/72.

Background info on VBS deprecation: https://isvbscriptdead.com/ https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features

Is your feature request related to a problem?

No response

Additional information

No response

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.

Romanitho commented 2 months ago

Will be fixed with msi version

Romanitho commented 1 month ago

fixed with the current beta wau.msi