Download geek uninstaller to program files and add a shortcut
This commit is contained in:
parent
5004885bc3
commit
07ab009f2b
1 changed files with 5 additions and 1 deletions
|
@ -123,7 +123,11 @@ wsl --unregister Ubuntu
|
||||||
:: Install Geek Uninstaller
|
:: Install Geek Uninstaller
|
||||||
PowerShell -Command "$archive = '%TEMP%\geek.zip';" ^
|
PowerShell -Command "$archive = '%TEMP%\geek.zip';" ^
|
||||||
"Invoke-WebRequest -Uri https://geekuninstaller.com/geek.zip -OutFile $archive;" ^
|
"Invoke-WebRequest -Uri https://geekuninstaller.com/geek.zip -OutFile $archive;" ^
|
||||||
"Expand-Archive -Path $archive -DestinationPath $env:HOMEPATH\Documents\Local"
|
"Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\Geek Uninstaller';" ^
|
||||||
|
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||||
|
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Geek Uninstaller.lnk');" ^
|
||||||
|
"$Shortcut.TargetPath = '%ProgramFiles%\Geek Uninstaller\geek.exe';" ^
|
||||||
|
"$Shortcut.Save()"
|
||||||
|
|
||||||
:: === Firefox configuration ==
|
:: === Firefox configuration ==
|
||||||
"%ProgramFiles%\Mozilla Firefox\firefox.exe"
|
"%ProgramFiles%\Mozilla Firefox\firefox.exe"
|
||||||
|
|
Loading…
Reference in a new issue