Driver San Fransisco 2xDVD5 Inno Setup
*Tested in Win7 x86
Automatic instal:
DirectX,
VisualC++ 2005&2008,
Ubisoft Launcher
Code:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Driver San Francisco"
#define MyAppVersion "1.0"
#define MyAppPublisher "Ubisoft"
#define MyAppExeName "Driver.exe"
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{0DF4B8BB-C9B5-41E9-990B-7ABCD8B5D2C0}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName}
AppPublisher={#MyAppPublisher}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AppPublisherURL=http://driver-thegame.ubi.com/driver-san-francisco/en-GB/home/
AppSupportURL=http://driver-thegame.ubi.com/driver-san-francisco/en-GB/home/
AppUpdatesURL=http://driver-thegame.ubi.com/driver-san-francisco/en-GB/home/
AllowNoIcons=yes
OutputDir=D:\Downloads\Driver San Fransisco
OutputBaseFilename=setup
Compression=lzma2/ultra
SolidCompression=yes
DiskSpanning=yes
SlicesPerDisk=3
DiskSliceSize=1406000000
ShowComponentSizes=yes
WizardImageFile=D:\Downloads\logo.bmp
WizardSmallImageFile=D:\Downloads\banner.bmp
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Registry]
Root: HKLM; Subkey: SOFTWARE\Ubisoft; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: SOFTWARE\Ubisoft\Driver San Francisco; ValueName: GameLocation; ValueType: String; ValueData: {app}; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Ubisoft\Driver San Francisco; ValueName: launcherLanguage; ValueType: String; ValueData: en-US; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Ubisoft\Driver San Francisco\GameUpdate; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: SOFTWARE\Ubisoft\Driver San Francisco\GameUpdate; ValueName: execPath; ValueType: String; ValueData: {app}\Driver.exe; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Ubisoft\Driver San Francisco\GameUpdate; ValueName: info; ValueType: String; ValueData: a8330dc8ce7d4a0fbb89f6f5ba8d1f20; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Ubisoft\Driver San Francisco\GameUpdate; ValueName: installdir; ValueType: String; ValueData: {app}; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Ubisoft\Driver San Francisco\GameUpdate; ValueName: language; ValueType: String; ValueData: us; Flags: uninsdeletekey
[Files]
Source: "C:\Program Files\Inno Setup 5\Examples\MyProg.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Program Files\Ubisoft\Driver San Francisco\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: {app}\Support\DirectX\DXSETUP.exe; Description: {cm:LaunchProgram,DirectX}
Filename: {app}\support\VCRedist\vcredist_2005_x86.exe; Description: {cm:LaunchProgram,Microsoft visual C++ 2005 x86}
Filename: {app}\support\VCRedist\vcredist_2008_x86.exe; Description: {cm:LaunchProgram,Microsoft visual C++ 2008 x86}
Filename: {app}\support\UbisoftGameLauncherInstaller-0255.exe; Description: {cm:LaunchProgram,Ubisoft Game Launcher}
Filename: "{app}\Driver.exe"; Description: "{cm:LaunchProgram,Driver San Francisco}"; Flags: nowait postinstall skipifsilent
Change with your pictures:
Code:
WizardImageFile=D:\Downloads\logo.bmp
WizardSmallImageFile=D:\Downloads\banner.bmp
logo.bmp = 164x314
banner.bmp = 55x58
Change:
Code:
OutputDir=D:\Downloads\Driver San Fransisco
Output directory location
Game must be installed in:
Code:
C:\Program Files\Ubisoft\Driver San Francisco\
Install Sequence: DVD1-DVD2