2003-10-23 18:05:18 +00:00
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
;
; This script creates an installable FlightGear package for Win32 using the
; "Inno Setup" package builder. Inno Setup is free (but probably not open
; source?.) The official web site for this package building software is:
;
; http://www.jrsoftware.org/isinfo.php
;
2003-10-23 21:03:47 +00:00
; Note: the files must appear in the X: drive.
; You can do this with the command below:
;
; subst X: path_to_files
;
; For example:
2003-10-23 18:05:18 +00:00
;
; C:\> subst X: F:\Path\to\FlightGear\root
;
[Setup]
AppName=FlightGear
2003-10-23 21:17:43 +00:00
AppVerName=FlightGear v0.9.3
2003-10-23 18:05:18 +00:00
AppPublisher=The FlightGear Organization
AppPublisherURL=http://www.flightgear.org
AppSupportURL=http://www.flightgear.org
AppUpdatesURL=http://www.flightgear.org
2003-10-23 21:03:47 +00:00
DefaultDirName={pf}\FlightGear-0.9.3
2003-10-23 21:17:43 +00:00
DefaultGroupName=FlightGear v0.9.3
2003-10-23 18:05:18 +00:00
LicenseFile=X:\data\COPYING
Uninstallable=yes
[Tasks]
; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required.
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
[Files]
Source: "X:\*.*"; DestDir: "{app}"; Flags: ignoreversion
Source: "X:\bin\*.*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs
Source: "X:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs
Source: "X:\docs\*.*"; DestDir: "{app}\docs"; Flags: ignoreversion recursesubdirs
2003-10-23 21:03:47 +00:00
Source: "X:\bin\Win32\fgrun.prefs"; DestDir: "{userappdata}\flightgear.org"; Flags: ignoreversion
2003-10-23 18:05:18 +00:00
; Source: "X:\src\*.*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
2003-10-23 21:17:43 +00:00
Name: "{group}\FlightGear Launcher"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}";
; Name: "{group}\FlightGear"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}";
2003-10-23 18:05:18 +00:00
Name: "{group}\FlightGear Documentation"; Filename: "{app}\data\docs\index.html"
Name: "{group}\Explore Documentation Folder"; Filename: "{app}\docs"
2003-10-23 21:17:43 +00:00
Name: "{group}\Uninstall FlightGear v0.9.3"; Filename: "{uninstallexe}"
Name: "{userdesktop}\FlightGear v0.9.3"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon
2003-10-23 18:05:18 +00:00
; For running flightgear directly
2003-10-23 21:17:43 +00:00
; Name: "{userdesktop}\FlightGear v0.9.3"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon
2003-10-23 18:05:18 +00:00
[Run]
2003-10-23 21:03:47 +00:00
; Put installation directory in the fgrun.prefs
filename: "{app}\bin\win32\mkfgrunp.bat"; WorkingDir: "{app}\bin\win32"; Parameters: """{app}"" ""{userappdata}"""
2003-10-23 18:05:18 +00:00
; NOTE: The following entry contains an English phrase ("Launch"). You are free to translate it into another language if required.
Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent
; For running flightgear directly
; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent