From 4b872ad3668e9b1c6ce8e8b030e8c39622ef1516 Mon Sep 17 00:00:00 2001 From: romracer Date: Wed, 17 Apr 2024 10:44:39 -0500 Subject: [PATCH] Installer fixes * Update path and check for newer HidHide versions * Update the version string for RTSS and flag it as reboot required --- HandheldCompanion.iss | 7 ++++--- utils/Utils.iss | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/HandheldCompanion.iss b/HandheldCompanion.iss index 39a69311d..acbb24107 100644 --- a/HandheldCompanion.iss +++ b/HandheldCompanion.iss @@ -49,7 +49,8 @@ #define NewDirectXVersion "9.29.1974" #define NewViGemVersion "1.22.0.0" #define NewHidHideVersion "1.5.212" -#define NewRtssVersion "7.3.6" +; RTSS 7.3.6 +#define NewRtssVersion "7.3.5.28010" //#define DotNetX64DownloadLink "https://download.visualstudio.microsoft.com/download/pr/b280d97f-25a9-4ab7-8a12-8291aa3af117/a37ed0e68f51fcd973e9f6cb4f40b1a7/windowsdesktop-runtime-8.0.0-win-x64.exe" //#define DotNetX86DownloadLink "https://download.visualstudio.microsoft.com/download/pr/f9e3b581-059d-429f-9f0d-1d1167ff7e32/bd7661030cd5d66cd3eee0fd20b24540/windowsdesktop-runtime-8.0.0-win-x86.exe" @@ -724,11 +725,11 @@ end; procedure Dependency_AddRTSS; begin - Dependency_Add_With_Version('RTSSSetup735.exe', '{#NewRtssVersion}', regGetInstalledVersion('{#RtssName}'), + Dependency_Add_With_Version('RTSSSetup736.exe', '{#NewRtssVersion}', regGetInstalledVersion('{#RtssName}'), '/S', '{#RtssName}', '{#RtssDownloadLink}', - '', True, False); + '', True, True); stopProcess('{#EncoderServer64Exe}'); stopProcess('{#RTSSHooksLoader64Exe}'); diff --git a/utils/Utils.iss b/utils/Utils.iss index 1ace4e7bb..3c839b6dc 100644 --- a/utils/Utils.iss +++ b/utils/Utils.iss @@ -29,7 +29,7 @@ end; function isHidHideInstalled():boolean; begin result:= false; - if(FileExists(ExpandConstant('{commonpf}') + '\Nefarius Software Solutions\HidHide\HidHide_Updater.exe')) then + if(FileExists(ExpandConstant('{commonpf}') + '\Nefarius Software Solutions\HidHide\x64\HidHideClient.exe')) then begin log('HidHide is already installed.'); result:= true; @@ -42,7 +42,7 @@ var versionNumber, filePath:string; begin result:= ''; - filePath:= ExpandConstant('{commonpf}') + '\Nefarius Software Solutions\HidHide\HidHide_Updater.exe'; + filePath:= ExpandConstant('{commonpf}') + '\Nefarius Software Solutions\HidHide\x64\HidHideClient.exe'; if(FileExists(filePath)) then begin