nice job on the conversion, few things you missed changing noted below:
The file should be attached to your post here, rather then a 3rd party hosting site. So I'll upload it here for you.
Some changes NEEDED in BOTH ISS scripts.
ANNO 2070.ISS changes, so that the multilanguage works properly, you had it set to english:
Code:
[REGISTRY]
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\ANNO 5\"; ValueName: "Language"; ValueType: String; ValueData: {code:GetLngID}; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\ANNO 5\GameUpdate\"; ValueType: string; ValueName: "Language"; ValueData: {code:GetLngID}; Flags: uninsdeletekey
Autorun.iss
'
InstallFolder', appath)
AND
'
InstallPath', appath)
BOTH need to be changed to
installdir because of this line, or else the autorun wont run properly:
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\ANNO 5\GameUpdate\"; ValueType: string; ValueName: "
installdir"; ValueData: "{app}"; Flags: uninsdeletekey
Also MISSED changing a section in autorun.iss as well:
Code:
begin
PlaySound(expandConstant('{tmp}\Click.wav'),0,SND_OPT);
if TNewButton(sender).caption=ExpandConstant('{cm:AInstall}') then begin
HForm.Close
Install:=True;
end else begin
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\UBISOFT\ANNO 5',
'InstallPath', appath)
if not Exec(appath+'\LANLauncher.exe', '', '', SW_SHOW,
ewNoWait, ResultCode) then MsgBox(SysErrorMessage(ResultCode)+': Anno5.exe', mbCriticalError, MB_OK)
else begin
HForm.Close;
Install:=False;
The LANLauncher.exe needs to be changed to Anno5.exe.
Another note IF you goto C:\xxx\ANNO 2070\maindata subfolder & DELETE all languages you dont want
you'll save 2.33GB in space & possibly result in 1xDVD5 !!