Skip to content

Can't import Macrium ReflextX license #181

@JonRFleming

Description

@JonRFleming

Checklist

  • I looked at https://github.com/PhoenixPE/PhoenixPE/wiki/FAQ to see if my question has already been answered.
  • I performed a search in the issue tracker for similar issues using keywords relevant to my problem, such as the error message I got from the log.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions