Quote:
Originally Posted by BAMsE
winzip too and probably everything that uses deflate algorithm  Simply zip all setup files and change an extension to cab. You can do it even by WinRAR 
|
you can use winrar but the converter doesnt like winrar cab files ( Yener told me to use 7-zip not winrar for making cab files )
Quote:
Originally Posted by BAMsE
@ yener90 can you explain how to achieve lang sensitive reg values? Setting different values for each lang is rather troubling. I guess you're using some variable (defined in custom mesages?) to get proper lang entry 
|
in Registry Section of ISS script:
Code:
Root: HKLM; Subkey: SOFTWARE\ABCDEF\GAMENAME; ValueName: Language; ValueType: String; ValueData: {code:GetLngID}; Flags: uninsdeletekey
Then in the code section of the ISS script
Code:
function GetLngID(Param: string): string;
begin
case GetUILanguage of
1040: Result:='IT';
1033: Result:='EN';
1034: Result:='ES';
1031: Result:='DE';
1036: Result:='FR';
1029: Result:='CS';
1045: Result:='PL';
1049: Result:='RU';
else Result:='EN';
end;
The installer looks to your Windows OS for languageID, so that will autofill in the proper registry value. The bold value above can be set to whatever default you choose.