added icon for uninstall panel
parent
f30250b4f3
commit
056acae8aa
|
@ -217,6 +217,7 @@ function Install-WingetAutoUpdate{
|
|||
$regPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Winget-AutoUpdate"
|
||||
New-Item $regPath -Force
|
||||
New-ItemProperty $regPath -Name DisplayName -Value "Winget-AutoUpdate (WAU)" -Force
|
||||
New-ItemProperty $regPath -Name DisplayIcon -Value "C:\Windows\System32\shell32.dll,-16739" -Force
|
||||
New-ItemProperty $regPath -Name DisplayVersion -Value 1.11.0 -Force
|
||||
New-ItemProperty $regPath -Name InstallLocation -Value $WingetUpdatePath -Force
|
||||
New-ItemProperty $regPath -Name UninstallString -Value "powershell.exe -noprofile -executionpolicy bypass -file `"$WingetUpdatePath\WAU-Uninstall.ps1`"" -Force
|
||||
|
|
|
@ -10,6 +10,7 @@ function Invoke-PostUpdateActions {
|
|||
if (!(test-path $regPath)) {
|
||||
New-Item $regPath -Force
|
||||
New-ItemProperty $regPath -Name DisplayName -Value "Winget-AutoUpdate (WAU)" -Force
|
||||
New-ItemProperty $regPath -Name DisplayIcon -Value "C:\Windows\System32\shell32.dll,-16739" -Force
|
||||
New-ItemProperty $regPath -Name NoModify -Value 1 -Force
|
||||
New-ItemProperty $regPath -Name NoRepair -Value 1 -Force
|
||||
New-ItemProperty $regPath -Name Publisher -Value "Romanitho" -Force
|
||||
|
|
Loading…
Reference in New Issue