View Single Post
  #3  
Old 23-09-2007, 14:06
BarryB BarryB is offline
Die Hard Member
 
Join Date: Jun 2004
Location: In a House
Posts: 1,972
Thanks: 0
Thanked 1 Time in 1 Post
BarryB is on a distinguished road
OK, I've knocked up a rough installer script that uses Italian Language (Inno has support for various langauges) but I've ignored the registry entries for now! It uses MAXIMUM compression so it may take a while to compress, if you have a Dual Core processor it will help It will split the files into CD size chunks so you can put it onto CD's or hopefully 1 DVD!!

If you want the Italian NoDVD, copy it into the game directory BEFORE compiling the setup:

Code:
http://dl.gamecopyworld.com/?d=2007&f=Runaway2ita!rar
You also need to install Inno Setup itself on your system to compile the setup files:

Code:
http://www.jrsoftware.org/download.php/is.exe
Once downloaded install it, associate ISS (Inno Setup Script) files with INNO if asked, then cut/paste the following text to a file with an .iss extension e.g.: r2.iss, this is so you can compile it with Inno:

Code:
[Setup]
AppName=Runaway 2
AppVerName=Runaway 2
DefaultDirName={pf}\Runaway 2
DefaultGroupName=Runaway 2
OutputBaseFilename=setup
Compression=lzma/ultra
CompressionThreads=auto
DiskSpanning=yes
SlicesPerDisk=1
DiskSliceSize=736000000
SolidCompression=yes

[Languages]
Name: "it"; MessagesFile: "compiler:Languages\Italian.isl"

[Files]
Source: "C:\Giochi\Runaway 2\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

[Registry]
Root: HKLM; Subkey: "SOFTWARE\FX interactive\Runaway 2"; ValueName: "Path"; ValueType: String; ValueData: "{app}";
Root: HKLM; Subkey: "SOFTWARE\FX interactive\Runaway 2"; ValueName: "Accesos"; ValueType: String; ValueData: "{groupname}\";

[Run]
Filename: "{app}\Runaway 2.exe"; Description: "{cm:LaunchProgram,'Runaway 2'}"; Flags: postinstall unchecked

[Icons]
Name: "{group}\Runaway 2"; Filename: "{app}\Runaway2.exe"; WorkingDir: "{app}"; IconFilename: "{app}\Runaway 2.ico"
Name: "{group}\Configurazione scheda grafica"; Filename: "{app}\Video card setup.exe"; WorkingDir: "{app}"
Name: "{group}\Pagina Web di Runaway 2"; Filename: "http://www.fxinteractive.com/it/p148/p148web.htm"; WorkingDir: "{app}"
Name: "{group}\Trailer FX"; Filename: "{app}\Inizio del gioco.exe"; WorkingDir: "{app}"; Parameters: "Trailers"; IconFilename: "{app}\fx.ico"
Name: "{group}\{cm:UninstallProgram,Runaway 2}"; Filename: "{uninstallexe}";
Name: "{userdesktop}\Runaway 2"; Filename: "{app}\Runaway2.exe"; Tasks: "desktopicon"; WorkingDir: "{app}"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
I've used C:\Giochi\Runaway 2 as the SOURCE directory for the files and the DESTINATION directory will be wherever you put the .ISS file, it will create a folder called OUTPUT with the setup files in it so best put the .ISS file into a new folder on its own!

To compile the script just click on the 'r2.iss' file and Inno should launch, then find the 'compile' button (4th from the left on my system) and click it, then WAIT!!!! Hopefully if your game is installed to 'C:\Giochi\Runaway 2' it will create the new install files, hopefully to fit a DVD5!! If the game needs registry entries then it's no problem to add these (once we find out what they are) into the script and re-run!

See how you go

Last edited by BarryB; 24-09-2007 at 05:08.
Reply With Quote