Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22-04-2009, 02:11
The One The One is offline
Registered User
 
Join Date: Sep 2001
Location: EARTH
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
The One
Here's some changes I made to mondragon's script. I've never used Inno Setup before but I've used other script based install makers. I prefer Wise products to others but they didn't compress as much as Inno. I like the fact that it fits onto one DVD5 with Inno Setup.

I noticed that there were 2 uninstall keys created. I liked the original uninstaller which gives you the option to delete the saved games so I decided to keep this uninstaller and get rid of the Inno created uninstall entry. I added this line to the Setup section

Uninstallable=no

Also another option would be

CreateUninstallRegKey=no

which would still create the install log and uninstall program but not the reg key. The other option would have been to delete from the Registry section of the script, the original installers uninstall key. The only problem with the original unistall program is it will leave the Start Menu shortcuts in Vista since the original installer didn't create them. On XP the uninstall will remove all game files/registry keys except for GameUX. On Vista I changed it so the Start Menu links are not created as it is with the original installer. Only the Game Explorer link is created.

I added the GameUX registry keys, leaving out the RatingsInfo.

Rather than install the nodvd seperately, I just replaced the original biahh.exe with the cracked one before creating the setup.

Code:
[Setup]
AppName=Brothers in Arms: Hell's Highway
appvername=Brothers in Arms: Hell's Highway
defaultdirname={pf}\Ubisoft\Gearbox Software\Brothers in Arms - Hell's Highway
sourcedir=.\
diskspanning=yes
compression=lzma/ultra64
;compression=none
;compression=lzma
ShowUndisplayableLanguages=yes
ShowLanguageDialog=yes
;LanguageDetectionMethod=locale
compressionthreads=auto
solidcompression=yes
slicesperdisk=1
diskslicesize=736000000
DisableProgramGroupPage=yes
DirExistsWarning=no
PrivilegesRequired=none
AllowRootDirectory=yes
DefaultGroupName=Ubisoft\Gearbox Software\Brothers in Arms - Hell's Highway
SetupIconFile=.\IconEntry_1.ico
OutputBaseFilename=setup
Uninstallable=no
UsePreviousAppDir=yes
WizardImageFile=sideimage.bmp
WizardSmallImageFile=topimage.bmp
AppId=Brothers in Arms - Hell's Highway

[files]
source: ".\Brothers in Arms - Hell's Highway\*"; Excludes: "Brothers in Arms - Hell's Highway\SumacGame\Movies\*,*.bik"; DestDir: "{app}" ;  Flags: ignoreversion recursesubdirs createallsubdirs
source: ".\Brothers in Arms - Hell's Highway\SumacGame\Movies\*"; DestDir: "{app}\SumacGame\Movies\" ;Flags: ignoreversion nocompression recursesubdirs createallsubdirs
;for other language add before both lines ';' and remove ';' from below line
;source: ".\Brothers in Arms - Hell's Highway\*"; DestDir: "{app}" ;  Flags: ignoreversion recursesubdirs createallsubdirs

[languages]
Name: "en"; MessagesFile: "compiler:Default.isl"

[Registry]
;HKEY_CURRENT_USER\Software\UBISOFT
Root: HKCU; Subkey: "Software\UBISOFT\"

;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\biahh.exe
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\biahh.exe"; ValueType: string; ValueName: ""; ValueData: {app}\Binaries\biahh.exe ;Flags: uninsdeletekey

;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway_is1
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway_is1\"; Flags:  uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway_is1"; ValueType: string; ValueName: Inno Setup: App Path; ValueData: {app}

;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway\";    Flags:  uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway"; ValueType: string; ValueName: DisplayIcon; ValueData: {app}\Binaries\biahh.exe
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway"; ValueType: string; ValueName: DisplayName; ValueData: Brothers in Arms: Hell's Highway
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway"; ValueType: string; ValueName: DisplayVersion; ValueData: 1.0.0.0
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway"; ValueType: string; ValueName: InstallDir; ValueData: {app}
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway"; ValueType: string; ValueName: InstallLang; ValueData: 1033
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway"; ValueType: string; ValueName: NoModify; ValueData: 1
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway"; ValueType: string; ValueName: NoRepair; ValueData: 1
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway"; ValueType: string; ValueName: Publisher; ValueData: Ubisoft
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway"; ValueType: string; ValueName: UninstallString; ValueData: {app}\Binaries\uninst.exe
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brothers in Arms - Hell's Highway"; ValueType: string; ValueName: URLInfoAbout; ValueData: http://www.hellshighwaygame.com/

;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX\Games\{6AD1A63B-AB60-439B-AD8E-F28CAE8C631D}
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX\Games\{{6AD1A63B-AB60-439B-AD8E-F28CAE8C631D}"; ValueType: string; ValueName: ApplicationId; ValueData: {{6AD1A63B-AB60-439B-AD8E-F28CAE8C631D}; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX\Games\{{6AD1A63B-AB60-439B-AD8E-F28CAE8C631D}"; ValueType: string; ValueName: ConfigApplicationPath; ValueData: {app}
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX\Games\{{6AD1A63B-AB60-439B-AD8E-F28CAE8C631D}"; ValueType: string; ValueName: ConfigGDFBinaryPath; ValueData: {app}\Binaries\biahh.exe
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX\Games\{{6AD1A63B-AB60-439B-AD8E-F28CAE8C631D}"; ValueType: string; ValueName: ConfigInstallType; ValueData: 2
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX\Games\{{6AD1A63B-AB60-439B-AD8E-F28CAE8C631D}"; ValueType: string; ValueName: Title; ValueData: Brothers in Arms: Hell's Highway
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX\Games\{{6AD1A63B-AB60-439B-AD8E-F28CAE8C631D}"; ValueType: dword; ValueName: IsSigned; ValueData: 0000000

[Icons]
Name: "{group}\Brothers in Arms - Hell's Highway"; Filename: "{app}\Binaries\biahh.exe"; WorkingDir: "{app}\"; IconFilename: "{app}\Binaries\biahh.exe"; OnlyBelowVersion: 0,6
Name: "{group}\Manual"; Filename: "{app}\Support\Manual\Manual.pdf"; WorkingDir: "{app}\"; IconFilename: "{app}\Support\Manual\Manual.pdf"; OnlyBelowVersion: 0,6
Name: "{group}\Readme"; Filename: "{app}\Support\Readme.txt"; WorkingDir: "{app}\"; IconFilename: "{app}\Support\Readme.txt"; OnlyBelowVersion: 0,6
;Support\Register\Register.url

;Home Page http://www.hellshighwaygame.com/
Name: "{group}\Home Page"; Filename: "http://www.hellshighwaygame.com/"; WorkingDir: "{app}\"; IconFilename: "{app}\Binaries\uninst.exe"; OnlyBelowVersion: 0,6

;Name: "{group}\{cm:UninstallProgram,Brothers in Arms - Hell's Highway}"; Filename: "{uninstallexe}";IconFilename: "{app}\Binaries\uninst.exe"
Name: "{group}\{cm:UninstallProgram,Brothers in Arms - Hell's Highway}"; Filename: "{app}\Binaries\uninst.exe"; IconFilename: "{app}\Binaries\uninst.exe"; OnlyBelowVersion: 0,6
Name: "{userdesktop}\Brothers in Arms - Hell's Highway"; Filename: "{app}\Binaries\biahh.exe"; Tasks: "desktopicon"; WorkingDir: "{app}\"; OnlyBelowVersion: 0,6

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
Name: "vcredist_x86"; Description: "{cm:LaunchProgram,Visual C++ Redistributable Package}";
Name: "DXSETUP"; Description: "{cm:LaunchProgram,DirectX 9}";
Name: "PhysX_8"; Description: "{cm:LaunchProgram,PhysX Ageia Driver}";
[Run]
;for future automatic replacing crack
;Filename: "{src}\Redist\VC80\vcredist_x86.exe"; Parameters:"/q:a /c:""msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x86.log" ;Description: "{cm:LaunchProgram,Visual C++ Redistributable Package}"; Flags: postinstall unchecked
Filename: "{src}\Redist\VC80\vcredist_x86.exe"; Parameters:"/q:a /c:""msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x86.log" ; Tasks: "vcredist_x86";

;Filename: "{src}\Redist\DirectX\DXSETUP.EXE"; Parameters:"/silent"; Description: "{cm:LaunchProgram,DirectX 9}"; Flags: postinstall unchecked
Filename: "{src}\Redist\DirectX\DXSETUP.EXE"; Parameters:"/silent"; Description: "{cm:LaunchProgram,DirectX 9}"; Tasks: "DXSETUP";
;Filename: "{src}\Redist\PhysX\PhysX_8.04.25_SystemSoftware.exe"; Parameters:"/quiet"; Description: "{cm:LaunchProgram,PhysX Ageia Driver}"; Flags: postinstall unchecked
Filename: "{src}\Redist\PhysX\PhysX_8.04.25_SystemSoftware.exe"; Parameters:"/quiet";Tasks: "PhysX_8";
Filename: "{app}\Binaries\biahh.exe"; Description: "{cm:LaunchProgram,Brothers in Arms: Hell's Highway}"; Flags: postinstall unchecked nowait

Here's the installer images if anyone would like to use them






Last edited by The One; 02-05-2009 at 06:08.
Reply With Quote
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Brothers in Arms - Hell's Highway cdkiller PC Games - Protection List 0 24-10-2008 13:42
Phantasy Star Universe (DVD9 to 2 DVD5 OR DVD9 to 1 DVD5) Heretic666 PC Games - CD/DVD Conversions 6 26-12-2006 06:28
ParaWorld (DVD9 to 1x CD-R & 1x DVD5) OR (DVD9 to 1 DVD5) !HaGaR! PC Games - CD/DVD Conversions 11 25-10-2006 08:45



All times are GMT -7. The time now is 10:44.


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