improved uninstall feature
parent
f552c5b261
commit
94b554e04c
|
@ -1,2 +0,0 @@
|
|||
@echo off
|
||||
powershell -Command "Start-Process powershell.exe -Argument '-noprofile -executionpolicy bypass -file """%~dp0WAU-Uninstall.ps1""" '" -Verb RunAs
|
|
@ -15,8 +15,8 @@ function Invoke-PostUpdateActions {
|
|||
New-ItemProperty $regPath -Name Publisher -Value "Romanitho" -Force
|
||||
New-ItemProperty $regPath -Name URLInfoAbout -Value "https://github.com/Romanitho/Winget-AutoUpdate" -Force
|
||||
New-ItemProperty $regPath -Name InstallLocation -Value $WorkingDir -Force
|
||||
New-ItemProperty $regPath -Name UninstallString -Value "$WorkingDir\WAU-Uninstall.bat" -Force
|
||||
New-ItemProperty $regPath -Name QuietUninstallString -Value "$WorkingDir\WAU-Uninstall.bat" -Force
|
||||
New-ItemProperty $regPath -Name UninstallString -Value "powershell.exe -noprofile -executionpolicy bypass -file `"$WingetUpdatePath\WAU-Uninstall.ps1`"" -Force
|
||||
New-ItemProperty $regPath -Name QuietUninstallString -Value "powershell.exe -noprofile -executionpolicy bypass -file `"$WingetUpdatePath\WAU-Uninstall.ps1`"" -Force
|
||||
New-ItemProperty $regPath -Name WAU_UpdatePrerelease -Value 0 -PropertyType DWord -Force
|
||||
|
||||
#log
|
||||
|
|
Loading…
Reference in New Issue