1
0
Fork 0
flightgear/package/Win32-Inno/FlightGear-1.9.iss

88 lines
4.6 KiB
Text
Raw Normal View History

2008-12-07 09:13:12 +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
;
; Note: the files must appear in the X: drive.
; You can do this with the command below:
;
; subst X: path_to_files
;
; For example:
;
; C:\> subst X: F:\Path\to\FlightGear\root
; C:\> subst X: F:\
;
[Setup]
AppName=FlightGear
2009-01-25 22:30:12 +00:00
OutputBaseFilename=fgsetup-1.9.1
AppVerName=FlightGear v1.9.1
2008-12-07 09:13:12 +00:00
AppPublisher=The FlightGear Organization
AppPublisherURL=http://www.flightgear.org
AppSupportURL=http://www.flightgear.org
AppUpdatesURL=http://www.flightgear.org
DefaultDirName={pf}\FlightGear
2009-01-25 22:30:12 +00:00
DefaultGroupName=FlightGear v1.9.1
2008-12-07 09:13:12 +00:00
LicenseFile=X:\data\COPYING
Uninstallable=yes
SetupIconFile=x:\flightgear.ico
2009-01-25 22:30:12 +00:00
VersionInfoVersion=1.9.1.0
2008-12-07 09:13:12 +00:00
WizardImageFile=X:\setupimg.bmp
WizardSmallImageFile=X:\setupsmall.bmp
[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:"
2008-12-20 15:15:30 +00:00
Name: "insoal"; Description: "Install OpenAL (the sound engine)"
2008-12-07 09:13:12 +00:00
[Files]
; NOTE: run subst X: F:\ (or whatever path the expanded tree resides at)
2008-12-20 15:15:30 +00:00
Source: "X:\*.txt"; DestDir: "{app}"; Flags: ignoreversion
2008-12-07 09:13:12 +00:00
Source: "X:\bin\*.*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs
Source: "X:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
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}";
2008-12-20 15:15:30 +00:00
Name: "{group}\FlightGear Manual"; Filename: "{app}\data\Docs\getstart.pdf"
2008-12-07 09:13:12 +00:00
Name: "{group}\FlightGear Documentation"; Filename: "{app}\data\Docs\index.html"
Name: "{group}\Flightgear Wiki"; Filename: "http://wiki.flightgear.org"
2009-01-25 22:30:12 +00:00
Name: "{userdesktop}\FlightGear v1.9.1"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon
2008-12-20 15:15:30 +00:00
Name: "{group}\Tools\Install & Uninstall Scenery"; Filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}";
Name: "{group}\Tools\TerraSync"; Filename: "{app}\bin\Win32\terrasync.exe"; Parameters: "-S -p 5505 -d ""{app}\terrasync"""; WorkingDir: "{app}";
Name: "{group}\Tools\Uninstall FlightGear"; Filename: "{uninstallexe}"
2009-01-31 09:08:55 +00:00
Name: "{group}\Tools\fgjs"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\fgjs.exe"" ""--fg-root={app}\data"""; WorkingDir: "{app}\bin\Win32";
2008-12-20 15:41:45 +00:00
Name: "{group}\Tools\GPSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\GPSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
Name: "{group}\Tools\UGsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\UGsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
Name: "{group}\Tools\MIDSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\MIDSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32";
Name: "{group}\Tools\metar"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\metar.exe"" -h"; WorkingDir: "{app}\bin\Win32";
Name: "{group}\Tools\yasim"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\yasim.exe"" -h"; WorkingDir: "{app}\bin\Win32";
2008-12-20 15:15:30 +00:00
Name: "{group}\Tools\Explore Documentation Folder"; Filename: "{app}\data\Docs"
2008-12-07 09:13:12 +00:00
; For running flightgear directly
2009-01-25 22:30:12 +00:00
; Name: "{userdesktop}\FlightGear v1.9.1"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon
2008-12-07 09:13:12 +00:00
[Run]
; Put installation directory into the fgrun.prefs
2008-12-20 15:15:30 +00:00
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;{app}\terrasync"""
2008-12-07 09:13:12 +00:00
; Put installation and source directories into the fgadmin.prefs
filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--install-source={src}\..\Scenery"" ""--scenery-dest={app}\scenery"""
; Make the user installable scenery directory
filename: "{app}\bin\Win32\mkscenerydir.bat"; WorkingDir: "{app}"
2008-12-20 15:15:30 +00:00
Filename: "{app}\bin\OpenAL\oalinst.exe"; WorkingDir: "{app}"; Description: "Installing OpenAL"; Tasks: insoal
2008-12-07 09:13:12 +00:00
Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent