1 ; Script generated by the Inno Setup Script Wizard.
2 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
4 ; This script creates an installable FlightGear package for Win32 using the
5 ; "Inno Setup" package builder. Inno Setup is free (but probably not open
6 ; source?.) The official web site for this package building software is:
8 ; http://www.jrsoftware.org/isinfo.php
10 ; Note: the files must appear in the X: drive.
11 ; You can do this with the command below:
13 ; subst X: path_to_files
17 ; C:\> subst X: F:\Path\to\FlightGear\root
22 AppVerName=FlightGear v0.9.3
23 AppPublisher=The FlightGear Organization
24 AppPublisherURL=http://www.flightgear.org
25 AppSupportURL=http://www.flightgear.org
26 AppUpdatesURL=http://www.flightgear.org
27 DefaultDirName={pf}\FlightGear-0.9.3
28 DefaultGroupName=FlightGear v0.9.3
29 LicenseFile=X:\data\COPYING
33 ; 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.
34 Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
37 ; NOTE: run subst X: F:\ (or whatever path the expanded tree resides at)
38 Source: "X:\*.*"; DestDir: "{app}"; Flags: ignoreversion
39 Source: "X:\bin\*.*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs
40 Source: "X:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs
41 Source: "X:\docs\*.*"; DestDir: "{app}\docs"; Flags: ignoreversion recursesubdirs
42 ; Source: "X:\bin\Win32\fgrun.prefs"; DestDir: "{userappdata}\flightgear.org"; Flags: ignoreversion
43 ; Source: "X:\bin\Win32\fgadmin.prefs"; DestDir: "{userappdata}\flightgear.org"; Flags: ignoreversion
44 ; Source: "X:\src\*.*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs
45 ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
48 Name: "{group}\FlightGear Launcher"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}";
49 ; Name: "{group}\FlightGear"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}";
50 Name: "{group}\Install & Uninstall Scenery"; Filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}";
51 Name: "{group}\FlightGear Documentation"; Filename: "{app}\data\docs\index.html"
52 Name: "{group}\Explore Documentation Folder"; Filename: "{app}\docs"
53 Name: "{group}\Uninstall FlightGear v0.9.3"; Filename: "{uninstallexe}"
54 Name: "{userdesktop}\FlightGear v0.9.3"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon
55 ; For running flightgear directly
56 ; Name: "{userdesktop}\FlightGear v0.9.3"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon
59 ; Put installation directory into the fgrun.prefs
60 ; filename: "{app}\bin\Win32\mkfgrunp.bat"; WorkingDir: "{app}\bin\Win32"; Parameters: """{app}"" ""{userappdata}"""
61 filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--fg-exe={app}\bin\Win32\fgfs.exe"" ""--fg-root={app}\data"" ""--fg-scenery={app}\data\Scenery;{app}\scenery"""
63 ; Put installation and source directories into the fgadmin.prefs
64 ; filename: "{app}\bin\Win32\mkfgadminp.bat"; WorkingDir: "{app}\bin\Win32"; Parameters: """{src}"" ""{app}"" ""{userappdata}"""
65 filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--install-source={src}\."" ""--scenery-dest={app}\scenery"""
66 ; filename: "{app}\bin\Win32\testbatch.bat"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--install-source={src}"" ""--scenery-dest={app}\scenery"""
68 ; Make the user installable scenery directory
69 filename: "{app}\bin\Win32\mkscenerydir.bat"; WorkingDir: "{app}"
71 ; NOTE: The following entry contains an English phrase ("Launch"). You are free to translate it into another language if required.
72 Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent
73 ; For running flightgear directly
74 ; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent