Hello, alias-as
To register make this section as follows;
[Registry]
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueName: PATH_APPLICATION; ValueData: {app}; ValueType: string; Flags: UninsDeleteKey;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueName: LANGUAGE; ValueData: 1036; ValueType: string; Flags: UninsDeleteKey;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueName: locale; ValueData: 1036; ValueType: string; Flags: UninsDeleteKey;
Your setup.ini should look like;
[InstallOptions]
ApplicationName=F1 2011
Publisher=Codemasters
To better understand;
HKLM is the default key HKEY_LOCAL_MACHINE
ApplicationName=F1 2011 is the {code:GetAppName}
Publisher=Codemasters is the {code:GetAppPublisher}
Then you have the record;
"HKEY_LOCAL_MACHINE\SOFTWARE\Codemasters\F1 2011"
{app} is the installation location of the User selects, from what I understand
PATH_APPLICATION the key is to define where the game is installed, so it can change depending on where the User to install the game.
If Win is 64 bit it will automatically add the correct key for the 64.
Language and Locale as I understand it is to set the language, 1036 = France?

If you do only one language is ready ... just save the script and compile it to create Setup.exe with the new settings.