Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 18-05-2011, 06:37
chaser8x chaser8x is offline
Registered User
 
Join Date: Nov 2007
Location: VN
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
chaser8x is on a distinguished road
Sample script for who want to use inno setup


Code:
; 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={{6C957611-2E23-44B2-9766-4DFA12228C66}
AppName=The Witcher 2
AppVerName=The Witcher 2 
AppPublisher=CD Projekt Red
AppPublisherURL=http://www.en.thewitcher.com/
AppSupportURL=http://www.en.thewitcher.com/
AppUpdatesURL=http://www.en.thewitcher.com/
DefaultDirName={pf}\The Witcher 2
DefaultGroupName=The Witcher 2
LicenseFile=G:\xxxx\Info.txt
InfoBeforeFile=G:\xxxx\ReadMe.txt
OutputDir=C:\xxx
OutputBaseFilename=setup
SetupIconFile=G:\xxxx\Icon.ico
Compression=none
SolidCompression=yes
SourceDir=G:\xxxx
WizardImageFile=setup.bmp
WizardSmallImageFile=123.bmp
DiskSpanning=yes
SlicesPerDisk=4
DiskSliceSize=1076000000

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1

[Files]
Source: "I:\The Witcher 2\bin\witcher2.exe"; DestDir: "{app}\Bin"; Flags: ignoreversion
Source: "I:\The Witcher 2\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\The Witcher 2"; Filename: "{app}\Bin\witcher2.exe"
Name: "{group}\{cm:ProgramOnTheWeb,The Witcher 2}"; Filename: "http://www.en.thewitcher.com/"
Name: "{group}\{cm:UninstallProgram,The Witcher 2}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\The Witcher 2"; Filename: "{app}\Bin\witcher2.exe"; WorkingDir: "{app}\Bin"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\The Witcher 2"; Filename: "{app}\Bin\witcher2.exe"; WorkingDir: "{app}\Bin"; Tasks: quicklaunchicon

[Registry]
Root: HKLM; Subkey: "Software\CD Projekt Red\The Witcher 2"; ValueType: string; ValueName: "InstallFolder"; ValueData: "{app}"
Root: HKLM; Subkey: "Software\CD Projekt Red\The Witcher 2"; ValueType: string; ValueName: "Language"; ValueData: "EN"
Root: HKLM; Subkey: "Software\CD Projekt Red\The Witcher 2"; ValueType: string; ValueName: "Release"; ValueData: "EFIGS"
Root: HKLM; Subkey: "Software\CD Projekt Red\The Witcher 2\1.00.0000";

[Run]
Filename: "{app}\witcher2.exe"; Description: "{cm:LaunchProgram,The Witcher 2}"; Flags: nowait postinstall skipifsilent
Filename: "{app}\vcredist_x86.EXE"; StatusMsg: "Installing Visual C++ 2005 ..."
Filename: "{app}\DirectX\DXSETUP.EXE"; StatusMsg: "Installing DirectX..."
Filename: "{app}\PerformanceTester.EXE"; StatusMsg: "Performance Tester..."
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INDEX - CD2DVD Conversion Index **UPDATED: 17-07-2024** Grumpy PC Games - CD/DVD Conversions 252 16-07-2024 20:35
Assassins Creed [FULL Backup] (DVD9 to 2x DVD5) FREEMAN100 PC Games - CD/DVD Conversions 16 26-12-2016 17:18
Command & Conquer: Red Alert 3 (MULTI 4) DVD9 to 2xDVD5 jta PC Games - CD/DVD Conversions 22 05-08-2012 16:55
The Witcher [UK Only] (DVD9 To DVD5) FREEMAN100 PC Games - CD/DVD Conversions 9 25-09-2008 03:41



All times are GMT -7. The time now is 07:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com