|
here is my inno script for 2xdvd5
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[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={{38E0C525-3E8C-4A8C-B6C1-E53C754F2F57}
AppName=The Adventures of Tintin - The Secret of the Unicorn
AppVersion=1.0
;AppVerName=The Adventures of Tintin - The Secret of the Unicorn 1.0
AppPublisher=Ubisoft
AppPublisherURL=http://tintin-thegame.ubi.com/the-adventures-of-tintin/en-GB/
AppSupportURL=http://tintin-thegame.ubi.com/the-adventures-of-tintin/en-GB/
AppUpdatesURL=http://tintin-thegame.ubi.com/the-adventures-of-tintin/en-GB/
DefaultDirName={pf}\Ubisoft\The Adventures of Tintin - The Secret of the Unicorn
DefaultGroupName=The Adventures of Tintin - The Secret of the Unicorn
LicenseFile=D:\Program Files\Ubisoft\The Adventures of Tintin - The Secret of the Unicorn\Support\License\English(US)\lic.rtf
InfoAfterFile=D:\Program Files\Ubisoft\The Adventures of Tintin - The Secret of the Unicorn\Support\Readme\English\ReadMe.txt
OutputDir=E:\The Adventures of Tintin - The Secret of the Unicorn
OutputBaseFilename=Setup
SetupIconFile=D:\The_Adventures of Tintin Secret of the Unicorn\TINTIN0.ico
Compression=lzma
SolidCompression=yes
DiskSpanning=yes
SlicesPerDisk=3
DiskSliceSize=1550000000
[Languages]
Name: "default"; MessagesFile: "compiler: Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "D:\Program Files\Ubisoft\The Adventures of Tintin - The Secret of the Unicorn\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\The Adventures of Tintin - The Secret of the Unicorn"; Filename: "{app}\Launcher.exe"; WorkingDir: {app}
Name: "{group}\The Adventures of Tintin - The Secret of the Unicorn Game Manual"; Filename: "{app}\Support\Manual\English\TintinManual.pdf "; WorkingDir: {app}
Name: "{group}\{cm:ProgramOnTheWeb,The Adventures of Tintin - The Secret of the Unicorn}"; Filename: "http://tintin-thegame.ubi.com/the-adventures-of-tintin/en-GB/"
Name: "{group}\{cm:UninstallProgram,The Adventures of Tintin - The Secret of the Unicorn}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\The Adventures of Tintin - The Secret of the Unicorn"; Filename: "{app}\Launcher.exe"; WorkingDir: {app}; Tasks: desktopicon
[Run]
Filename: {app}\Support\DirectX\DXSETUP.exe; Description: {cm:LaunchProgram,DirectX}
Filename: {app}\Support\vcredist_x86.exe; Description: {cm:LaunchProgram,Microsoft visual C++ 2008 x86}
Filename: {app}\Support\UbisoftGameLauncher\UbisoftGameLaunc herInstaller.exe; Description: {cm:LaunchProgram,Ubisoft Game Launcher}
[Registry]
Root: HKLM; Subkey: "SOFTWARE\UBISOFT"; MinVersion: 0.0,5.0; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\The Adventures of Tintin"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\The Adventures of Tintin"; ValueName: "installdir"; ValueType: String; ValueData: "{app}"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\The Adventures of Tintin\1.0"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\The Adventures of Tintin\GameUpdate"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\The Adventures of Tintin\GameUpdate"; ValueName: "execPath"; ValueType: String; ValueData: "{app}\TINTIN.exe"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\The Adventures of Tintin\GameUpdate"; ValueName: "installdir"; ValueType: String; ValueData: "{app}"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\The Adventures of Tintin\GameUpdate"; ValueName: "language"; ValueType: String; ValueData: "us"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\UBISOFT\The Adventures of Tintin\GameUpdate"; ValueName: "info"; ValueType: String; ValueData: "5b7dba39c7494b598096d08ac13ca4ab"; MinVersion: 0.0,5.0; Flags: uninsdeletekey
Games install ok. But seems something missing in registry settings. When I press Launcher.exe to play game. Game seems like it is not installed. So I am not able to press "Play" button. Game also not starting from Tintin.exe
Hope someone can fix it.
|