Checklist
Report
MacriumReflectX.script "Import License from Host" doesn't work. The license is in HKCU not HKLM. Correct code:
// Product Registration
If,%cmb_RegMethod%,Equal,"Trial License",RegWrite,HKLM,REG_SZ,"Tmp_Default\Software\Macrium\reflect","License",""
Else,If,%cmb_RegMethod%,Equal,"Import License From Host",Begin
If,ExistRegKey,HKCU,"Software\Macrium\reflect","License",Begin,
RegRead,HKCU,"Software\Macrium\reflect","License",%TempValue%
RegWrite,HKLM,REG_SZ,"Tmp_Default\Software\Macrium\reflect","License",%TempValue%
RegRead,HKLM,"Software\Macrium\reflect","Licensee",%TempValue%
RegWrite,HKLM,REG_SZ,"Tmp_Software\Macrium\reflect","Licensee",%TempValue%
End
Else,Echo,"ERROR: Could not retrieve the license key from the host system. The software will run in Trial mode.",Warn
End
Else,Begin
If,%txt_LicKey%,Equal,"",Echo,"ERROR: A valid license key was not entered. The software will run in Trial mode.",Warn
Else,RegWrite,HKLM,REG_SZ,"Tmp_Default\Software\Macrium\Reflect","License",%txt_LicKey%
End
Checklist
Report
MacriumReflectX.script "Import License from Host" doesn't work. The license is in HKCU not HKLM. Correct code:
// Product Registration
If,%cmb_RegMethod%,Equal,"Trial License",RegWrite,HKLM,REG_SZ,"Tmp_Default\Software\Macrium\reflect","License",""
Else,If,%cmb_RegMethod%,Equal,"Import License From Host",Begin
If,ExistRegKey,HKCU,"Software\Macrium\reflect","License",Begin,
RegRead,HKCU,"Software\Macrium\reflect","License",%TempValue%
RegWrite,HKLM,REG_SZ,"Tmp_Default\Software\Macrium\reflect","License",%TempValue%
RegRead,HKLM,"Software\Macrium\reflect","Licensee",%TempValue%
RegWrite,HKLM,REG_SZ,"Tmp_Software\Macrium\reflect","Licensee",%TempValue%
End
Else,Echo,"ERROR: Could not retrieve the license key from the host system. The software will run in Trial mode.",Warn
End
Else,Begin
If,%txt_LicKey%,Equal,"",Echo,"ERROR: A valid license key was not entered. The software will run in Trial mode.",Warn
Else,RegWrite,HKLM,REG_SZ,"Tmp_Default\Software\Macrium\Reflect","License",%txt_LicKey%
End