Warning, /education/marble/install/windows/marble-common.iss is written in an unsupported language. File is not indexed.

0001 #define MyAppVersion "2.2.0"
0002 
0003 #define MySrcDir SourcePath + "\..\..\"
0004 #define MyAppName "Marble"
0005 #define MyAppPublisher "KDE"
0006 #define MyAppURL "https://marble.kde.org/"
0007 #define MyAppExeName "marble-qt.exe"
0008 
0009 [Setup]
0010 ; NOTE: The value of AppId uniquely identifies this application.
0011 ; Do not use the same AppId value in installers for other applications.
0012 ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
0013 AppId={{E4E20D3E-4180-4747-A111-9A835A6FB1F0}
0014 AppName={#MyAppName}
0015 AppVersion={#MyAppVersion}
0016 AppPublisher={#MyAppPublisher}
0017 AppPublisherURL={#MyAppURL}
0018 AppSupportURL={#MyAppURL}
0019 AppUpdatesURL={#MyAppURL}
0020 DefaultDirName={pf}\{#MyAppName}
0021 DisableProgramGroupPage=yes
0022 LicenseFile={#MySrcDir}\LICENSE.txt
0023 OutputBaseFilename={#MyAppName}-setup_{#MyAppVersion}_{#MyArch}
0024 SetupIconFile={#MySrcDir}\data\ico\marble.ico
0025 Compression=lzma
0026 SolidCompression=yes
0027 ChangesAssociations=yes
0028 
0029 [Languages]
0030 Name: "english"; MessagesFile: "compiler:Default.isl"
0031 
0032 [Tasks]
0033 Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
0034 
0035 [Files]
0036 Source: "{#MySrcDir}\marble.kde.org.url"; DestDir: "{app}"
0037 Source: "{#MyBuildDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
0038 
0039 ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
0040 
0041 [Icons]
0042 Name: "{commonprograms}\{#MyAppName}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
0043 Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
0044 Name: "{commonprograms}\{#MyAppName}\Marble Website"; Filename: "{app}\marble.kde.org.url"
0045 
0046 [Tasks]
0047 Name: kmlAssociation; Description: "Associate ""kml"" extension (KML files from e.g. Google Earth)"; GroupDescription: File extensions:
0048 Name: kmzAssociation; Description: "Associate ""kmz"" extension (Compressed KML files from e.g. Google Earth)"; GroupDescription: File extensions:
0049 Name: gpxAssociation; Description: "Associate ""gpx"" extension (GPS Exchange Format)"; GroupDescription: File extensions:
0050 Name: jsonAssociation; Description: "Associate ""json"" extension (GeoJSON files)"; Flags: unchecked; GroupDescription: File extensions:
0051 Name: geojsonAssociation; Description: "Associate ""geojson"" extension (GeoJSON files)"; GroupDescription: File extensions:
0052 
0053 [Registry]
0054 
0055 Root: HKCR; Subkey: ".kml";                             ValueData: "{#MyAppName}";             Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; Tasks: kmlAssociation 
0056 Root: HKCR; Subkey: ".kmz";                             ValueData: "{#MyAppName}";             Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; Tasks: kmzAssociation  
0057 Root: HKCR; Subkey: ".gpx";                             ValueData: "{#MyAppName}";             Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; Tasks: gpxAssociation 
0058 Root: HKCR; Subkey: ".json";                            ValueData: "{#MyAppName}";             Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; Tasks: jsonAssociation 
0059 Root: HKCR; Subkey: ".geojson";                         ValueData: "{#MyAppName}";             Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; Tasks: geojsonAssociation 
0060 
0061 Root: HKCR; Subkey: "{#MyAppName}";                     ValueData: "Program {#MyAppName}";     Flags: uninsdeletekey;   ValueType: string;  ValueName: ""
0062 Root: HKCR; Subkey: "{#MyAppName}\DefaultIcon";         ValueData: "{app}\{#MyAppExeName},0";                           ValueType: string;  ValueName: ""
0063 Root: HKCR; Subkey: "{#MyAppName}\shell\open\command";  ValueData: """{app}\{#MyAppExeName}"" ""%1""";                  ValueType: string;  ValueName: ""
0064 
0065 [Run]
0066 Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent