tihiy_don
Старожил
Здравствуйте. Делаю репак для игры The Battle for Middle-earth II + аддон The Rise of the Witch-king + мод AOTR 5.1
Вопрос заключается в следующем, когда я добавляю данные в реестр, нужно ли их прописывать как для 64-битных систем, так и для 32 по отдельности? Я знаю, что есть параметр Check: not IsWin64, но тогда мне придется дублировать код. А оригинальный инсталлятор пишет в реестр с подпапкой WOW6432Node, которая для 64 битных систем.
Вот мой код:
Вопрос заключается в следующем, когда я добавляю данные в реестр, нужно ли их прописывать как для 64-битных систем, так и для 32 по отдельности? Я знаю, что есть параметр Check: not IsWin64, но тогда мне придется дублировать код. А оригинальный инсталлятор пишет в реестр с подпапкой WOW6432Node, которая для 64 битных систем.
Вот мой код:
Код:
[Registry]
//Реестр The Battle for Middle-earth II
Root: HKLM; Subkey: "Software\Electronic Arts"; Flags: createvalueifdoesntexist uninsdeletekeyifempty
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts"; Flags: createvalueifdoesntexist uninsdeletekey
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Battle for Middle-earth II"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "InstallPath"; ValueData: "{app}\The Battle for Middle-earth II\"
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Language"; ValueData: "english"
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Battle for Middle-earth II"; ValueType: dword; ValueName: "MapPackVersion"; ValueData: "10000"
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Battle for Middle-earth II"; ValueType: dword; ValueName: "UseLocalUserMaps"; ValueData: "0"
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "UserDataLeafName"; ValueData: "My Battle for Middle-earth(tm) II Files"
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Battle for Middle-earth II"; ValueType: dword; ValueName: "Version"; ValueData: "10006"
Root: HKLM; SubKey: "Software\Electronic Arts\Electronic Arts\The Battle for Middle-earth II\ergc"; ValueType: string; ValueName: ; ValueData: "EYXXH34M3GWZ4YQ5LK22"
//Реестр The Lord of the Rings, The Rise of the Witch-king
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "InstallPath"; ValueData: "{app}\The Battle for Middle-earth II\ep1\"
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Language"; ValueData: "english"
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: dword; ValueName: "MapPackVersion"; ValueData: "20000"
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: dword; ValueName: "UseLocalUserMaps"; ValueData: "0"
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "UserDataLeafName"; ValueData: "My The Lord of the Rings, The Rise of the Witch-king Files"
Root: HKLM; Subkey: "Software\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: dword; ValueName: "Version"; ValueData: "20001"
Root: HKLM; SubKey: "Software\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\ergc"; ValueType: string; ValueName: ; ValueData: "6YUCKNSWSK9HZCL2Q99X"
///////////////////
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; Flags: uninsdeletekey
///////////////////
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II\1.0"; ValueType: string; ValueName: "DisplayName"; ValueData: "The Battle for Middle-earth (tm) II"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II\1.0"; ValueType: dword; ValueName: "Language"; ValueData: "13"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II\1.0"; ValueType: string; ValueName: "LanguageName"; ValueData: "English UK"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "CacheSize"; ValueData: "5499066368"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "CD Drive"; ValueData: "{src}"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "DisplayName"; ValueData: "The Battle for Middle-earth (tm) II"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Folder"; ValueData: "{group}"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Install Dir"; ValueData: "{app}\The Battle for Middle-earth II\"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Installed From"; ValueData: "{src}"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Language"; ValueData: "English UK"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Locale"; ValueData: "en_uk"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Patch URL"; ValueData: "http://transtest.ea.com/Electronic Arts/The Battle for Middle-earth 2/NorthAmerica"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Product GUID"; ValueData: "{{2A9F95AB-65A3-432c-8631-B8BC5BF7477A}"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Region"; ValueData: "NorthAmerica"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Registration"; ValueData: "SOFTWARE\Electronic Arts\Electronic Arts\The Battle for Middle-earth II\ergc"
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "Suppression Exe"; ValueData: ""
Root: HKLM; Subkey: "Software\Electronic Arts\The Battle for Middle-earth II"; ValueType: string; ValueName: "SwapSize"; ValueData: "0"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\1.0"; ValueType: string; ValueName: "DisplayName"; ValueData: "The Lord of the Rings, The Rise of the Witch-king"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\1.0"; ValueType: dword; ValueName: "Language"; ValueData: "13"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\1.0"; ValueType: string; ValueName: "LanguageName"; ValueData: "English UK"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "CacheSize"; ValueData: "3139187712"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "CD Drive"; ValueData: "{src}"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "DisplayName"; ValueData: "The Lord of the Rings, The Rise of the Witch-king"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Folder"; ValueData: "{group}"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Install Dir"; ValueData: "{app}\The Battle for Middle-earth II\ep1\"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Installed From"; ValueData: "{src}"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Language"; ValueData: "English UK"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Locale"; ValueData: "en_uk"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Patch URL"; ValueData: "http://transtest.ea.com/Electronic Arts/The Battle for Middle-earth 2/NorthAmerica"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Product GUID"; ValueData: "{{B931FB80-537A-4600-00AD-AC5DEDB6C25B}"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Region"; ValueData: "NorthAmerica"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Registration"; ValueData: "SOFTWARE\Electronic Arts\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\ergc"
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "Suppression Exe"; ValueData: ""
Root: HKLM; Subkey: "Software\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king"; ValueType: string; ValueName: "SwapSize"; ValueData: "0"