view build/win32/installer/devkit.iss @ 697:ecaa4d98f05f tip

Abstracted the GUI code and refactored the GUIChan-specific code into its own module. * Most of the GUIChan code has been refactored into its own gui/guichan module. However, references to the GuiFont class still persist in the Engine and GuiManager code and these will need further refactoring. * GuiManager is now an abstract base class which specific implementations (e.g. GUIChan) should subclass. * The GUIChan GUI code is now a concrete implementation of GuiManager, most of which is in the new GuiChanGuiManager class. * The GUI code in the Console class has been refactored out of the Console and into the GUIChan module as its own GuiChanConsoleWidget class. The rest of the Console class related to executing commands was left largely unchanged. * Existing client code may need to downcast the GuiManager pointer received from FIFE::Engine::getGuiManager() to GuiChanGuiManager, since not all functionality is represented in the GuiManager abstract base class. Python client code can use the new GuiChanGuiManager.castTo static method for this purpose.
author M. George Hansen <technopolitica@gmail.com>
date Sat, 18 Jun 2011 00:28:40 -1000
parents 9fba00d9cdd5
children
line wrap: on
line source

; TODO:
;   * Run oalinst.exe if openal DLL is not installed?
;   * Test that the installer works as non-admin on xp, vista and win7

[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={{FE01A2E9-77CE-4293-B667-2FA8A184D4E7}
AppName=FIFE Development Kit (November 2010)
; Version is yyyy.mm
AppVerName=FIFE DevKit 2010.11
AppPublisher=FIFE Team
AppPublisherURL=http://www.fifengine.net
AppSupportURL=http://www.fifengine.net
AppUpdatesURL=http://www.fifengine.net
DefaultDirName={sd}\FIFE\build\win32\
DefaultGroupName=FIFE\Devkit
DirExistsWarning=No
EnableDirDoesntExistWarning=Yes
AllowNoIcons=yes
LicenseFile=license.rtf
Compression=lzma
SolidCompression=yes
OutputBaseFilename=FIFE_Development_Kit_Nov2010
OutputDir=.
DisableReadyPage=yes
; This will require some testing. We can't install to Program files if the user is not an admin.
; PrivilegesRequired=none

[Types]
Name: "full"; Description: "Full installation"
Name: "compact"; Description: "Compact installation"
Name: "custom"; Description: "Custom installation"; Flags: iscustom

[Components]
Name: "common"; Description: "Common files"; Types: full compact custom; Flags: fixed
Name: "compilers"; Description: "Compiler specific files"; Types: full custom
Name: "compilers\mingw"; Description: "MinGW"; Types: full compact custom
Name: "compilers\msvc2005"; Description: "Visual Studio 2005"; Types: full custom
Name: "compilers\msvc2008"; Description: "Visual Studio 2008"; Types: full custom

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Files]
; Common
Source: "..\applications\scons\*"; DestDir: "{app}\applications\scons"; Excludes: ".svn"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\applications\swigwin-2.0.1\*"; DestDir: "{app}\applications\swigwin-2.0.1"; Excludes: ".svn"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\includes\*"; DestDir: "{app}\includes"; Excludes: ".svn"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "README_DevKit_Nov2010.txt"; DestDir:"{app}"; Flags: isreadme

; MinGW
Source: "..\applications\mingw\*"; DestDir: "{app}\applications\mingw"; Excludes: ".svn"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\binaries\mingw\*"; DestDir: "{app}\binaries\mingw"; Excludes: ".svn"; Components: compilers\mingw; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\static_libs\mingw\*"; DestDir: "{app}\static_libs\mingw"; Excludes: ".svn"; Components: compilers\mingw; Flags: ignoreversion recursesubdirs createallsubdirs

; MSVC8
Source: "..\binaries\msvc2005\*"; DestDir: "{app}\binaries\msvc2005"; Excludes: ".svn"; Components: compilers\msvc2005; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\static_libs\msvc2005\*"; DestDir: "{app}\static_libs\msvc2005"; Excludes: ".svn"; Components: compilers\msvc2005; Flags: ignoreversion recursesubdirs createallsubdirs

; MSVC9
Source: "..\binaries\msvc2008\*"; DestDir: "{app}\binaries\msvc2008"; Excludes: ".svn"; Components: compilers\msvc2008; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\static_libs\msvc2008\*"; DestDir: "{app}\static_libs\msvc2008"; Excludes: ".svn"; Components: compilers\msvc2008; Flags: ignoreversion recursesubdirs createallsubdirs

[Icons]
Name: "{group}\{cm:ProgramOnTheWeb,FIFE}"; Filename: "http://www.fifengine.net/"
Name: "{group}\{cm:UninstallProgram,FIFE}"; Filename: "{uninstallexe}"