FlorianSLZ / IntuneWin32Deployer

Create and deploy winget and chocolatey (win32) apps to Intune with one click!
GNU General Public License v3.0
49 stars 10 forks source link

Fix: winget uninstall template script & remnant of deprecated chocolatey argument #15

Closed n4kama closed 1 year ago

n4kama commented 1 year ago

Hello,

The source\ressources\template\winget\uninstall.ps1 script was calling winget_exe uninstall with the accept-package-agreements argument which does not exist. This causes the script and uninstall process to fail (cf screenshot).

winget-fail

I also fixed a minor issue where one choco.exe --localonly was still present in the code.