]> git.mxchange.org Git - flightgear.git/blobdiff - package/Win32-Inno/FlightGear-0.9.3.iss
add propmerge utility, which merges <PropertyList> XML files. Writes
[flightgear.git] / package / Win32-Inno / FlightGear-0.9.3.iss
index 7abd19fd8ab7f7aeada4d3aa12131edfd968561f..8a72d7221c177cedf58681ac82d2c85170c82f57 100755 (executable)
@@ -1,44 +1,75 @@
-; Script generated by the Inno Setup Script Wizard.\r
-; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!\r
-;\r
-; This script creates an installable FlightGear package for Win32 using the\r
-; "Inno Setup" package builder.  Inno Setup is free (but probably not open\r
-; source?.)  The official web site for this package building software is:\r
-;\r
-;     http://www.jrsoftware.org/isinfo.php\r
-\r
-[Setup]\r
-AppName=FlightGear\r
-AppVerName=FlightGear 0.9.3-pre1\r
-AppPublisher=The FlightGear Organization\r
-AppPublisherURL=http://www.flightgear.org\r
-AppSupportURL=http://www.flightgear.org\r
-AppUpdatesURL=http://www.flightgear.org\r
-DefaultDirName={pf}\FlightGear-0.9.3-pre1\r
-DefaultGroupName=FlightGear\r
-LicenseFile=F:\data\COPYING\r
-Uninstallable=yes\r
-\r
-[Tasks]\r
-; 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.\r
-Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"\r
-\r
-[Files]\r
-Source: "F:\*.*"; DestDir: "{app}"; Flags: ignoreversion\r
-Source: "F:\bin\*.*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs\r
-Source: "F:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs\r
-Source: "F:\docs\*.*"; DestDir: "{app}\docs"; Flags: ignoreversion recursesubdirs\r
-Source: "F:\src\*.*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs\r
-; NOTE: Don't use "Flags: ignoreversion" on any shared system files\r
-\r
-[Icons]\r
-Name: "{group}\FlightGear-0.9.3-pre1"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}";\r
-Name: "{group}\FlightGear Manual"; Filename: "{app}\data\docs\index.html"\r
-Name: "{group}\Explore Documentation Folder"; Filename: "{app}\docs"\r
-Name: "{group}\Uninstall FlightGear-0.9.3-pre1"; Filename: "{uninstallexe}"\r
-Name: "{userdesktop}\FlightGear-0.9.3-pre1"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon\r
-\r
-[Run]\r
-; NOTE: The following entry contains an English phrase ("Launch"). You are free to translate it into another language if required.\r
-Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent\r
-\r
+; 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
+;
+
+[Setup]
+AppName=FlightGear
+AppVerName=FlightGear v0.9.3
+AppPublisher=The FlightGear Organization
+AppPublisherURL=http://www.flightgear.org
+AppSupportURL=http://www.flightgear.org
+AppUpdatesURL=http://www.flightgear.org
+DefaultDirName={pf}\FlightGear-0.9.3
+DefaultGroupName=FlightGear v0.9.3
+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]
+; NOTE: run subst X: F:\ (or whatever path the expanded tree resides at)
+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
+; Source: "X:\bin\Win32\fgrun.prefs"; DestDir: "{userappdata}\flightgear.org"; Flags: ignoreversion
+; Source: "X:\bin\Win32\fgadmin.prefs"; DestDir: "{userappdata}\flightgear.org"; Flags: ignoreversion
+; Source: "X:\src\*.*"; DestDir: "{app}\src"; 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}";
+Name: "{group}\Install & Uninstall Scenery"; Filename: "{app}\bin\Win32\fgadmin.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 v0.9.3"; Filename: "{uninstallexe}"
+Name: "{userdesktop}\FlightGear v0.9.3"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon
+; For running flightgear directly
+; Name: "{userdesktop}\FlightGear v0.9.3"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon
+
+[Run]
+; Put installation directory into the fgrun.prefs
+; filename: "{app}\bin\Win32\mkfgrunp.bat"; WorkingDir: "{app}\bin\Win32"; Parameters: """{app}"" ""{userappdata}"""
+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"""
+
+; Put installation and source directories into the fgadmin.prefs
+; filename: "{app}\bin\Win32\mkfgadminp.bat"; WorkingDir: "{app}\bin\Win32"; Parameters: """{src}"" ""{app}"" ""{userappdata}"""
+filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--install-source={src}\."" ""--scenery-dest={app}\scenery"""
+; filename: "{app}\bin\Win32\testbatch.bat"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--install-source={src}"" ""--scenery-dest={app}\scenery"""
+
+; Make the user installable scenery directory
+filename: "{app}\bin\Win32\mkscenerydir.bat"; WorkingDir: "{app}"
+
+; 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
+