Fixed ATI2021 would not recognize host licenses registered in WoW64.

This commit is contained in:
Homes32
2025-08-05 23:07:49 -05:00
parent 2ad175d0c9
commit 6c3259db69

View File

@@ -38,8 +38,8 @@ Author=Homes32
Level=5 Level=5
Selected=False Selected=False
Mandatory=False Mandatory=False
Version=1.1.0.0 Version=1.2.0.0
Date=2023-11-04 Date=2025-08-05
[Variables] [Variables]
%ProgramFolder%="TrueImage2021" %ProgramFolder%="TrueImage2021"
@@ -140,7 +140,14 @@ If,%cb_Include_iSCSI_Drivers%,Equal,True,Run,%ScriptFile%,iSCSIsupport
// License // License
If,%cmb_SoftwareLicense%,Equal,"Use Host License",Begin If,%cmb_SoftwareLicense%,Equal,"Use Host License",Begin
If,ExistRegSubKey,HKLM,"Software\Acronis\TrueImage",RegCopy,HKLM,"Software\Acronis\TrueImage",HKLM,"Tmp_Software\Acronis\TrueImage" If,ExistRegValue,HKLM,"Software\Acronis\TrueImage","standard",Begin
RegRead,HKLM,"Software\Acronis\TrueImage","standard",%RegValue%
RegWrite,HKLM,REG_SZ,"Tmp_Software\Acronis\TrueImage","standard",%RegValue%
End
Else,If,ExistRegValue,HKLM,"Software\WOW6432Node\Acronis\TrueImage","standard",Begin
RegRead,HKLM,"Software\WOW6432Node\Acronis\TrueImage","standard",%RegValue%
RegWrite,HKLM,REG_SZ,"Tmp_Software\WOW6432Node\Acronis\TrueImage","standard",%RegValue%
End
Else,Echo,"Warning: The software license was not found in the Host registry. Acronis True Image will run in Evaluation Mode.",Warn Else,Echo,"Warning: The software license was not found in the Host registry. Acronis True Image will run in Evaluation Mode.",Warn
End End
Else,If,%cmb_SoftwareLicense%,Equal,"License from .reg file",Begin Else,If,%cmb_SoftwareLicense%,Equal,"License from .reg file",Begin