From 6f5d97dacb1002e16b84f6a38d71aabe234da9a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Pato=C4=8Dka?= Date: Tue, 19 Aug 2025 04:33:29 +0200 Subject: [PATCH] Fix StartIsBack++ build on x86 architecture, by moving the order of default (x64) .reg file and custom x86 RegWrite commands. (#155) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Vít Patočka <458745@muni.cz> --- Projects/PhoenixPE/Shell/051-StartIsBack++.script | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Projects/PhoenixPE/Shell/051-StartIsBack++.script b/Projects/PhoenixPE/Shell/051-StartIsBack++.script index 42b4c1c..df9e70d 100644 --- a/Projects/PhoenixPE/Shell/051-StartIsBack++.script +++ b/Projects/PhoenixPE/Shell/051-StartIsBack++.script @@ -78,6 +78,11 @@ ExtractAllFiles,%ScriptFile%,Reg,%ProjectTemp% RegHiveLoad,Tmp_Software,%RegSoftware% RegHiveLoad,Tmp_Default,%RegDefault% +// Default StartIsBack Config +RegImport,%ProjectTemp%\StartIsBack-RegDefault.reg +RegImport,%ProjectTemp%\StartIsBack-RegSoftware.reg +RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell","TabletMode",0 + If,%SourceArch%,Equal,x86,Begin RegWrite,HKLM,0x1,"Tmp_Software\Classes\CLSID\{865e5e76-ad83-4dca-a109-50dc2113ce9b}\InProcServer32","","X:\Program Files\StartIsBack\StartIsBack32.dll" RegWrite,HKLM,0x1,"Tmp_Software\Classes\CLSID\{99E2B362-3E4E-4255-9B29-41A7F40777BA}\InProcServer32","","X:\Program Files\StartIsBack\StartIsBack32.dll" @@ -89,11 +94,6 @@ If,%SourceArch%,Equal,x86,Begin RegWrite,HKLM,0x2,"Tmp_Software\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F}","LocalizedString","@X:\Program Files\StartIsBack\StartIsBack32.dll,-510" End -// Default StartIsBack Config -RegImport,%ProjectTemp%\StartIsBack-RegDefault.reg -RegImport,%ProjectTemp%\StartIsBack-RegSoftware.reg -RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell","TabletMode",0 - // User Defined StartIsBack Options // Style