您的[Registry]
部分将如下所示:
[Registry]
Root: HKCU; Subkey: Software\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "ShortcutProgramMenu"; ValueData: "Installed";
Root: HKCU; Subkey: Software\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "Language"; ValueData: "en_UK";
Root: HKCU; Subkey: Software\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "Speech"; ValueData: "en_UK";
Root: HKCU; Subkey: Software\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "MovieTrack"; ValueData: "5";
Root: HKCU; Subkey: Software\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "CurrentVersion"; ValueData: "2.34.0.0";
Root: HKCU; Subkey: Software\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "InstallPath"; ValueData: "{app}\";
Root: HKCU; Subkey: Software\Ascaron Entertainment\Sacred 2;
ValueType: dword; ValueName: "LastUpdateCheck"; ValueData: "$000b3872";
Root: HKLM; Subkey: SOFTWARE\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "Language"; ValueData: "en_UK";
Root: HKLM; Subkey: SOFTWARE\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "Speech"; ValueData: "en_UK";
Root: HKLM; Subkey: SOFTWARE\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "MovieTrack"; ValueData: "5";
Root: HKLM; Subkey: SOFTWARE\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "InstallPath"; ValueData: "{app}\";
Root: HKLM; Subkey: SOFTWARE\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "CurrentVersion"; ValueData: "2.34.0.0";
在这种情况下,如果您将在系统上安装应用程序64bit
,您将HKLM
在Wow6432Node
. 但是,如果您希望/需要将密钥添加到 64 位分支,您可以使用Check: IsWin64
.
例子:
Root: HKLM; Subkey: SOFTWARE\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "CurrentVersion"; ValueData: "2.34.0.0"; Check: not IsWin64
Root: HKLM64; Subkey: SOFTWARE\Ascaron Entertainment\Sacred 2;
ValueType: string; ValueName: "CurrentVersion"; ValueData: "2.34.0.0"; Check: IsWin64