]> git.mxchange.org Git - flightgear.git/blob - package/Win32-Inno/FlightGear-64.iss
New FGCom standalone re-wrote from scratch
[flightgear.git] / package / Win32-Inno / FlightGear-64.iss
1 ; Script generated by the Inno Setup Script Wizard.
2 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3 ;
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:
7 ;
8 ;     http://www.jrsoftware.org/isinfo.php
9 ;
10 ; Note: the files must appear in the X: drive.
11 ; You can do this with the command below:
12 ;
13 ;     subst X: path_to_files
14 ;
15 ; For example:
16 ;
17 ;     C:\> subst X: F:\Path\to\FlightGear\root
18 ;     C:\> subst X: F:\
19 ;
20
21 [Setup]
22 AppId=FlightGear
23 AppName=FlightGear 64-bit
24 AppPublisher=The FlightGear Team
25 OutputBaseFilename=fgsetup64-2.0.0
26 AppVerName=FlightGear 64-bit v2.0.0
27 AppPublisherURL=http://www.flightgear.org
28 AppSupportURL=http://www.flightgear.org
29 AppUpdatesURL=http://www.flightgear.org
30 DefaultDirName={pf}\FlightGear
31 DefaultGroupName=FlightGear v2.0.0
32 LicenseFile=X:\data\COPYING
33 Uninstallable=yes
34 SetupIconFile=x:\flightgear64.ico
35 VersionInfoVersion=2.0.0.0
36 WizardImageFile=X:\setupimg.bmp
37 WizardSmallImageFile=X:\setupsmall.bmp
38 ;UpdateUninstallLogAppName=No
39 ;CreateUninstallRegKey=no
40 ArchitecturesInstallIn64BitMode=x64
41 ArchitecturesAllowed=x64
42 VersionInfoCompany=The FlightGear Team
43 UninstallDisplayIcon={app}\bin\Win64\fgrun.exe
44
45 [Tasks]
46 ; 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.
47 Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
48
49 [Files]
50 ; NOTE: run subst X: F:\ (or whatever path the expanded tree resides at)
51 Source: "X:\*.txt"; DestDir: "{app}"; Flags: ignoreversion
52 Source: "X:\bin\Win64\*.*"; DestDir: "{app}\bin\Win64"; Flags: ignoreversion recursesubdirs
53 Source: "X:\bin\vcredist_x64.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
54
55 [Icons]
56 Name: "{group}\FlightGear 64-bit Launcher"; Filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}";
57 Name: "{userdesktop}\FlightGear 64-bit v2.0.0"; Filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon
58
59 [Run]
60 Filename: "{app}\bin\vcredist_x64.exe"; WorkingDir: "{app}"; Parameters: "/qb!"; Description: "Installing Flightgear prerequisites"
61 ; Put installation directory into the fgrun.prefs
62 filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}\bin\Win64"; Parameters: "--silent ""--fg-exe={app}\bin\Win64\fgfs.exe"""
63
64 ;Filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent
65