Updates to the Inno-setup script.
This commit is contained in:
parent
d5bc39970c
commit
808e946f85
1 changed files with 56 additions and 44 deletions
|
@ -1,44 +1,56 @@
|
||||||
; Script generated by the Inno Setup Script Wizard.
|
; Script generated by the Inno Setup Script Wizard.
|
||||||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
;
|
;
|
||||||
; This script creates an installable FlightGear package for Win32 using the
|
; This script creates an installable FlightGear package for Win32 using the
|
||||||
; "Inno Setup" package builder. Inno Setup is free (but probably not open
|
; "Inno Setup" package builder. Inno Setup is free (but probably not open
|
||||||
; source?.) The official web site for this package building software is:
|
; source?.) The official web site for this package building software is:
|
||||||
;
|
;
|
||||||
; http://www.jrsoftware.org/isinfo.php
|
; http://www.jrsoftware.org/isinfo.php
|
||||||
|
;
|
||||||
[Setup]
|
; You can use something like the following to help the script find
|
||||||
AppName=FlightGear
|
; your official flightgear tree location:
|
||||||
AppVerName=FlightGear 0.9.3-pre1
|
;
|
||||||
AppPublisher=The FlightGear Organization
|
; C:\> subst X: F:\Path\to\FlightGear\root
|
||||||
AppPublisherURL=http://www.flightgear.org
|
;
|
||||||
AppSupportURL=http://www.flightgear.org
|
|
||||||
AppUpdatesURL=http://www.flightgear.org
|
[Setup]
|
||||||
DefaultDirName={pf}\FlightGear-0.9.3-pre1
|
AppName=FlightGear
|
||||||
DefaultGroupName=FlightGear
|
AppVerName=FlightGear 0.9.3
|
||||||
LicenseFile=F:\data\COPYING
|
AppPublisher=The FlightGear Organization
|
||||||
Uninstallable=yes
|
AppPublisherURL=http://www.flightgear.org
|
||||||
|
AppSupportURL=http://www.flightgear.org
|
||||||
[Tasks]
|
AppUpdatesURL=http://www.flightgear.org
|
||||||
; 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.
|
DefaultDirName={sd}\FlightGear\FlightGear-0.9.3
|
||||||
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
|
DefaultGroupName=FlightGear-0.9.3
|
||||||
|
LicenseFile=X:\data\COPYING
|
||||||
[Files]
|
Uninstallable=yes
|
||||||
Source: "F:\*.*"; DestDir: "{app}"; Flags: ignoreversion
|
|
||||||
Source: "F:\bin\*.*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs
|
[Tasks]
|
||||||
Source: "F:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs
|
; 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.
|
||||||
Source: "F:\docs\*.*"; DestDir: "{app}\docs"; Flags: ignoreversion recursesubdirs
|
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
|
||||||
Source: "F:\src\*.*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs
|
|
||||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
[Files]
|
||||||
|
Source: "X:\*.*"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
[Icons]
|
Source: "X:\bin\*.*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs
|
||||||
Name: "{group}\FlightGear-0.9.3-pre1"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}";
|
Source: "X:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs
|
||||||
Name: "{group}\FlightGear Manual"; Filename: "{app}\data\docs\index.html"
|
Source: "X:\docs\*.*"; DestDir: "{app}\docs"; Flags: ignoreversion recursesubdirs
|
||||||
Name: "{group}\Explore Documentation Folder"; Filename: "{app}\docs"
|
Source: "X:\bin\Win32\fgrun.prefs"; DestDir: "{userappdata}\flightgear.org"; Flags: ignoreversion onlyifdoesntexist uninsneveruninstall
|
||||||
Name: "{group}\Uninstall FlightGear-0.9.3-pre1"; Filename: "{uninstallexe}"
|
; Source: "X:\src\*.*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs
|
||||||
Name: "{userdesktop}\FlightGear-0.9.3-pre1"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
[Run]
|
[Icons]
|
||||||
; NOTE: The following entry contains an English phrase ("Launch"). You are free to translate it into another language if required.
|
Name: "{group}\FlightGear-0.9.3"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}";
|
||||||
Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent
|
Name: "{group}\Fgrun FlightGear"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}";
|
||||||
|
Name: "{group}\FlightGear Documentation"; Filename: "{app}\data\docs\index.html"
|
||||||
|
Name: "{group}\Explore Documentation Folder"; Filename: "{app}\docs"
|
||||||
|
Name: "{group}\Uninstall FlightGear-0.9.3"; Filename: "{uninstallexe}"
|
||||||
|
Name: "{userdesktop}\FlightGear-0.9.3"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon
|
||||||
|
; For running flightgear directly
|
||||||
|
; Name: "{userdesktop}\FlightGear-0.9.3"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
; 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue