From 92ad0d00ea3faa153df52dc4d54494fbe81a9a21 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 18 May 2023 13:42:33 +0200 Subject: [PATCH] Add regkeys for geek and opentabletdriver since we install them in programfiles --- windows11.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows11.bat b/windows11.bat index fc21250..cb509ab 100644 --- a/windows11.bat +++ b/windows11.bat @@ -128,6 +128,8 @@ PowerShell -Command "$archive = '%TEMP%\geek.zip';" ^ "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Geek Uninstaller.lnk');" ^ "$Shortcut.TargetPath = '%ProgramFiles%\Geek Uninstaller\geek.exe';" ^ "$Shortcut.Save()" +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\geek" /f /v DisplayName /t REG_SZ /d "Geek Uninstaller" +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\geek" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\Geek Uninstaller" :: === Firefox configuration == "%ProgramFiles%\Mozilla Firefox\firefox.exe" @@ -180,6 +182,8 @@ PowerShell -Command "$WshShell = New-Object -comObject WScript.Shell;" ^ "$Shortcut.TargetPath = '%ProgramFiles%\OpenTabletDriver\OpenTabletDriver.UX.Wpf.exe';" ^ "$Shortcut.WorkingDirectory = '%ProgramFiles%\OpenTabletDriver';" ^ "$Shortcut.Save()" +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenTabletDriver" /f /v DisplayName /t REG_SZ /d "OpenTabletDriver" +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenTabletDriver" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\OpenTabletDriver" :: WindowsInk PowerShell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/vmulti-bin/releases/download/v1.0/Driver.zip -OutFile '%TEMP%\Driver-VMulti.zip'"