stellarium.iss.cmake   stellarium.iss.cmake 
; Stellarium installer ; Stellarium installer
; Run "make install" first to generate the executable and translation files . ; Run "make install" first to generate the executable and translation files .
; @ISS_AUTOGENERATED_WARNING@ ; @ISS_AUTOGENERATED_WARNING@
[Setup] [Setup]
@ISS_ARCHITECTURE_SPECIFIC@ @ISS_ARCHITECTURE_SPECIFIC@
DisableStartupPrompt=yes DisableStartupPrompt=yes
WizardSmallImageFile=data\icon.bmp WizardSmallImageFile=@CMAKE_SOURCE_DIR@\data\icon.bmp
WizardImageFile=data\splash.bmp WizardImageFile=@CMAKE_SOURCE_DIR@\data\splash.bmp
WizardImageStretch=no WizardImageStretch=no
WizardImageBackColor=clBlack WizardImageBackColor=clBlack
AppName=Stellarium AppName=Stellarium
AppVersion=@PACKAGE_VERSION@ AppVersion=@PACKAGE_VERSION@
AppVerName=Stellarium @PACKAGE_VERSION@ AppVerName=Stellarium @PACKAGE_VERSION@
AppCopyright=Copyright (C) @COPYRIGHT_YEARS@ Stellarium team AppCopyright=Copyright (C) @COPYRIGHT_YEARS@ Stellarium team
AppPublisher=Stellarium team AppPublisher=Stellarium team
AppPublisherURL=http://www.stellarium.org/ AppPublisherURL=http://www.stellarium.org/
AppSupportURL=http://www.stellarium.org/ AppSupportURL=http://www.stellarium.org/
AppUpdatesURL=http://www.stellarium.org/ AppUpdatesURL=http://www.stellarium.org/
VersionInfoVersion=@PACKAGE_VERSION@ VersionInfoVersion=@PACKAGE_VERSION@
MinVersion=0,@MIN_VERSION@ MinVersion=0,@MIN_VERSION@
SetupIconFile=data\stellarium.ico SetupIconFile=@CMAKE_SOURCE_DIR@\data\@PACKAGE_ICON@.ico
OutputBaseFilename=stellarium-@PACKAGE_VERSION@-@ISS_PACKAGE_PLATFORM@ OutputBaseFilename=stellarium-@PACKAGE_VERSION@-@ISS_PACKAGE_PLATFORM@
OutputDir=installers OutputDir=@CMAKE_SOURCE_DIR@\installers
; In 64-bit mode, {pf} is equivalent to {pf64}, ; In 64-bit mode, {pf} is equivalent to {pf64},
; see http://www.jrsoftware.org/ishelp/index.php?topic=32vs64bitinstalls ; see http://www.jrsoftware.org/ishelp/index.php?topic=32vs64bitinstalls
DefaultDirName={pf}\Stellarium DefaultDirName={pf}\Stellarium
DefaultGroupName=Stellarium DefaultGroupName=Stellarium
UninstallDisplayIcon={app}\data\stellarium.ico UninstallDisplayIcon={app}\data\stellarium.ico
LicenseFile=COPYING LicenseFile=@CMAKE_SOURCE_DIR@\COPYING
ChangesAssociations=yes ChangesAssociations=yes
; LZMA2/max required 95 MB RAM for compression and 8 MB RAM for decompressi on ; LZMA2/max required 95 MB RAM for compression and 8 MB RAM for decompressi on
; Using LZMA2/max algorithm reduces size of package on ~10% ; Using LZMA2/max algorithm reduces size of package on ~10%
Compression=lzma2/max Compression=lzma2/max
[Files] [Files]
Source: "@CMAKE_INSTALL_PREFIX@\bin\stellarium.exe"; DestDir: "{app}" Source: "@CMAKE_INSTALL_PREFIX@\bin\stellarium.exe"; Flags: ignoreversion; DestDir: "{app}"
@STELMAINLIB@ @STELMAINLIB@
@MESALIB@ @MESALIB@
@REDIST_FILES@ @REDIST_FILES@
Source: "stellarium.url"; DestDir: "{app}" Source: "@CMAKE_SOURCE_DIR@\data\stellarium.url"; Flags: ignoreversion; Des
Source: "stellarium-guide.url"; DestDir: "{app}" tDir: "{app}"
Source: "stellarium-devdocs.url"; DestDir: "{app}" Source: "@CMAKE_SOURCE_DIR@\data\stellarium-guide.url"; Flags: ignoreversio
Source: "README"; DestDir: "{app}"; Flags: isreadme; DestName: "README.rtf" n; DestDir: "{app}"
Source: "INSTALL"; DestDir: "{app}"; DestName: "INSTALL.rtf" Source: "@CMAKE_SOURCE_DIR@\data\stellarium-devdocs.url"; Flags: ignorevers
Source: "COPYING"; DestDir: "{app}"; DestName: "GPL.rtf" ion; DestDir: "{app}"
Source: "AUTHORS"; DestDir: "{app}"; DestName: "AUTHORS.rtf" Source: "@CMAKE_SOURCE_DIR@\README"; DestDir: "{app}"; Flags: isreadme igno
Source: "ChangeLog"; DestDir: "{app}"; DestName: "ChangeLog.rtf" reversion; DestName: "README.rtf"
Source: "@CMAKE_SOURCE_DIR@\INSTALL"; DestDir: "{app}"; Flags: ignoreversio
n; DestName: "INSTALL.rtf"
Source: "@CMAKE_SOURCE_DIR@\COPYING"; DestDir: "{app}"; Flags: ignoreversio
n; DestName: "GPL.rtf"
Source: "@CMAKE_SOURCE_DIR@\AUTHORS"; DestDir: "{app}"; Flags: ignoreversio
n; DestName: "AUTHORS.rtf"
Source: "@CMAKE_SOURCE_DIR@\ChangeLog"; DestDir: "{app}"; Flags: ignorevers
ion; DestName: "ChangeLog.rtf"
Source: "@QtCore_location@"; DestDir: "{app}"; Source: "@QtCore_location@"; DestDir: "{app}";
Source: "@QtGui_location@"; DestDir: "{app}"; Source: "@QtGui_location@"; DestDir: "{app}";
Source: "@QtOpenGL_location@"; DestDir: "{app}"; Source: "@QtOpenGL_location@"; DestDir: "{app}";
Source: "@QtNetwork_location@"; DestDir: "{app}"; Source: "@QtNetwork_location@"; DestDir: "{app}";
Source: "@QtWidgets_location@"; DestDir: "{app}"; Source: "@QtWidgets_location@"; DestDir: "{app}";
Source: "@QtSql_location@"; DestDir: "{app}"; Source: "@QtSql_location@"; DestDir: "{app}";
Source: "@QtXmlPatterns_location@"; DestDir: "{app}"; Source: "@QtXmlPatterns_location@"; DestDir: "{app}";
Source: "@QtConcurrent_location@"; DestDir: "{app}"; Source: "@QtConcurrent_location@"; DestDir: "{app}";
Source: "@QtPrintSupport_location@"; DestDir: "{app}";
@ISS_QT_SCRIPT@ @ISS_QT_SCRIPT@
@ISS_QT_MULTIMEDIA@ @ISS_QT_MULTIMEDIA@
@ISS_QT_SERIALPORT@ @ISS_QT_SERIALPORT@
@ISS_ANGLE_LIBS@ @ISS_ANGLE_LIBS@
@ISS_ICU_LIBS@ @ISS_ICU_LIBS@
@ISS_QT_PLUGINS@ @ISS_QT_PLUGINS@
@ISS_MULTIMEDIA_PLUGINS@ ; Stellarium's stuff
Source: "@CMAKE_INSTALL_PREFIX@\share\stellarium\*"; DestDir: "{app}\"; Fla Source: "@CMAKE_INSTALL_PREFIX@\share\stellarium\*"; DestDir: "{app}\"; Fla
gs: recursesubdirs gs: recursesubdirs ignoreversion
[Tasks] [Tasks]
Name: desktopicon; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}" Name: desktopicon; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
Name: desktopicon\common; Description: "{cm:ForAllUsers}"; GroupDescription : "{cm:AdditionalIcons}"; Flags: exclusive Name: desktopicon\common; Description: "{cm:ForAllUsers}"; GroupDescription : "{cm:AdditionalIcons}"; Flags: exclusive
Name: desktopicon\user; Description: "{cm:ForCurrentUserOnly}"; GroupDescri ption: "{cm:AdditionalIcons}"; Flags: exclusive unchecked Name: desktopicon\user; Description: "{cm:ForCurrentUserOnly}"; GroupDescri ption: "{cm:AdditionalIcons}"; Flags: exclusive unchecked
Name: removecache; Description: "{cm:RemoveCache}"; GroupDescription: "{cm: RemoveFromPreviousInstallation}" Name: removecache; Description: "{cm:RemoveCache}"; GroupDescription: "{cm: RemoveFromPreviousInstallation}"
Name: removeconfig; Description: "{cm:RemoveMainConfig}"; GroupDescription: "{cm:RemoveFromPreviousInstallation}" Name: removeconfig; Description: "{cm:RemoveMainConfig}"; GroupDescription: "{cm:RemoveFromPreviousInstallation}"
Name: removeplugins; Description: "{cm:RemovePluginsConfig}"; GroupDescript ion: "{cm:RemoveFromPreviousInstallation}"; Flags: unchecked Name: removeplugins; Description: "{cm:RemovePluginsConfig}"; GroupDescript ion: "{cm:RemoveFromPreviousInstallation}"; Flags: unchecked
Name: removesolar; Description: "{cm:RemoveSolarConfig}"; GroupDescription: "{cm:RemoveFromPreviousInstallation}" Name: removesolar; Description: "{cm:RemoveSolarConfig}"; GroupDescription: "{cm:RemoveFromPreviousInstallation}"
Name: removelandscapes; Description: "{cm:RemoveUILandscapes}"; GroupDescri ption: "{cm:RemoveFromPreviousInstallation}"; Flags: unchecked Name: removelandscapes; Description: "{cm:RemoveUILandscapes}"; GroupDescri ption: "{cm:RemoveFromPreviousInstallation}"; Flags: unchecked
skipping to change at line 96 skipping to change at line 97
Type: files; Name: "{userappdata}\Stellarium\data\ssystem.ini"; Tasks: remo vesolar Type: files; Name: "{userappdata}\Stellarium\data\ssystem.ini"; Tasks: remo vesolar
Type: filesandordirs; Name: "{userappdata}\Stellarium\modules"; Tasks: remo veplugins Type: filesandordirs; Name: "{userappdata}\Stellarium\modules"; Tasks: remo veplugins
Type: filesandordirs; Name: "{userappdata}\Stellarium\landscapes"; Tasks: r emovelandscapes Type: filesandordirs; Name: "{userappdata}\Stellarium\landscapes"; Tasks: r emovelandscapes
Type: filesandordirs; Name: "{localappdata}\stellarium\stellarium"; Tasks: removecache Type: filesandordirs; Name: "{localappdata}\stellarium\stellarium"; Tasks: removecache
;Type: files; Name: "{userappdata}\Stellarium\data\shortcuts.json"; Tasks: removeshortcuts ;Type: files; Name: "{userappdata}\Stellarium\data\shortcuts.json"; Tasks: removeshortcuts
[UninstallDelete] [UninstallDelete]
[Icons] [Icons]
Name: "{group}\{cm:ProgramOnTheWeb,Stellarium}"; Filename: "{app}\stellariu m.url"; IconFilename: "{app}\data\stellarium.ico" Name: "{group}\{cm:ProgramOnTheWeb,Stellarium}"; Filename: "{app}\stellariu m.url"; IconFilename: "{app}\data\stellarium.ico"
Name: "{group}\{cm:UserGuideOnTheWeb}"; Filename: "{app}\stellarium-guide.u rl"; IconFilename: "{app}\data\stellarium.ico"
Name: "{group}\{cm:DevelopersDocsOnTheWeb}"; Filename: "{app}\stellarium-de vdocs.url"; IconFilename: "{app}\data\stellarium.ico" Name: "{group}\{cm:DevelopersDocsOnTheWeb}"; Filename: "{app}\stellarium-de vdocs.url"; IconFilename: "{app}\data\stellarium.ico"
Name: "{group}\Stellarium"; Filename: "{app}\stellarium.exe"; WorkingDir: " {app}"; IconFilename: "{app}\data\stellarium.ico" Name: "{group}\Stellarium"; Filename: "{app}\stellarium.exe"; WorkingDir: " {app}"; IconFilename: "{app}\data\stellarium.ico"
; Name: "{group}\Stellarium {cm:FallbackMode}"; Filename: "{app}\stellarium .exe"; Parameters: "--safe-mode"; WorkingDir: "{app}"; IconFilename: "{app} \data\stellarium.ico" ; Name: "{group}\Stellarium {cm:FallbackMode}"; Filename: "{app}\stellarium .exe"; Parameters: "--safe-mode"; WorkingDir: "{app}"; IconFilename: "{app} \data\stellarium.ico"
Name: "{group}\Stellarium {cm:DebugMode}"; Filename: "{app}\stellarium.exe" ; Parameters: "--dump-opengl-details"; WorkingDir: "{app}"; IconFilename: " {app}\data\stellarium.ico" Name: "{group}\Stellarium {cm:DebugMode}"; Filename: "{app}\stellarium.exe" ; Parameters: "--dump-opengl-details"; WorkingDir: "{app}"; IconFilename: " {app}\data\stellarium.ico"
; Name: "{group}\Stellarium {cm:AngleMode}"; Filename: "{app}\stellarium.ex e"; Parameters: "--angle-mode"; WorkingDir: "{app}"; IconFilename: "{app}\d ata\stellarium.ico" ; Name: "{group}\Stellarium {cm:AngleMode}"; Filename: "{app}\stellarium.ex e"; Parameters: "--angle-mode"; WorkingDir: "{app}"; IconFilename: "{app}\d ata\stellarium.ico"
; Name: "{group}\Stellarium {cm:AngleD3D9Mode}"; Filename: "{app}\stellariu m.exe"; Parameters: "--angle-d3d9"; WorkingDir: "{app}"; IconFilename: "{ap p}\data\stellarium.ico" ; Name: "{group}\Stellarium {cm:AngleD3D9Mode}"; Filename: "{app}\stellariu m.exe"; Parameters: "--angle-d3d9"; WorkingDir: "{app}"; IconFilename: "{ap p}\data\stellarium.ico"
; Name: "{group}\Stellarium {cm:AngleD3D11Mode}"; Filename: "{app}\stellari um.exe"; Parameters: "--angle-d3d11"; WorkingDir: "{app}"; IconFilename: "{ app}\data\stellarium.ico" ; Name: "{group}\Stellarium {cm:AngleD3D11Mode}"; Filename: "{app}\stellari um.exe"; Parameters: "--angle-d3d11"; WorkingDir: "{app}"; IconFilename: "{ app}\data\stellarium.ico"
; Name: "{group}\Stellarium {cm:AngleWarpMode}"; Filename: "{app}\stellariu m.exe"; Parameters: "--angle-warp"; WorkingDir: "{app}"; IconFilename: "{ap p}\data\stellarium.ico" ; Name: "{group}\Stellarium {cm:AngleWarpMode}"; Filename: "{app}\stellariu m.exe"; Parameters: "--angle-warp"; WorkingDir: "{app}"; IconFilename: "{ap p}\data\stellarium.ico"
Name: "{group}\Stellarium {cm:AngleMode}"; Filename: "{app}\stellarium.exe" ; Parameters: "--angle-d3d9"; WorkingDir: "{app}"; IconFilename: "{app}\dat a\stellarium.ico" Name: "{group}\Stellarium {cm:AngleMode}"; Filename: "{app}\stellarium.exe" ; Parameters: "--angle-d3d9"; WorkingDir: "{app}"; IconFilename: "{app}\dat a\stellarium.ico"
Name: "{group}\Stellarium {cm:MesaMode}"; Filename: "{app}\stellarium.exe"; Parameters: "--mesa-mode"; WorkingDir: "{app}"; IconFilename: "{app}\data\ stellarium.ico" Name: "{group}\Stellarium {cm:MesaMode}"; Filename: "{app}\stellarium.exe"; Parameters: "--mesa-mode"; WorkingDir: "{app}"; IconFilename: "{app}\data\ stellarium.ico"
Name: "{group}\{cm:UninstallProgram,Stellarium}"; Filename: "{uninstallexe} " Name: "{group}\{cm:UninstallProgram,Stellarium}"; Filename: "{uninstallexe} "
Name: "{group}\config.ini"; Filename: "{userappdata}\Stellarium\config.ini" Name: "{group}\config.ini"; Filename: "{userappdata}\Stellarium\config.ini"
Name: "{group}\{cm:LastRunLog}"; Filename: "{userappdata}\Stellarium\log.tx t" Name: "{group}\{cm:LastRunLog}"; Filename: "{userappdata}\Stellarium\log.tx t"
Name: "{group}\{cm:ChangeLog}"; Filename: "{app}\ChangeLog.rtf" Name: "{group}\{cm:ChangeLog}"; Filename: "{app}\ChangeLog.rtf"
Name: "{group}\{cm:Scenery3dDocs}"; Filename: "{app}\data\Scenery3d.pdf" @ISS_GUIDE@
Name: "{commondesktop}\Stellarium"; Filename: "{app}\stellarium.exe"; Worki ngDir: "{app}"; IconFilename: "{app}\data\stellarium.ico"; Tasks: desktopic on\common Name: "{commondesktop}\Stellarium"; Filename: "{app}\stellarium.exe"; Worki ngDir: "{app}"; IconFilename: "{app}\data\stellarium.ico"; Tasks: desktopic on\common
Name: "{userdesktop}\Stellarium"; Filename: "{app}\stellarium.exe"; Working Dir: "{app}"; IconFilename: "{app}\data\stellarium.ico"; Tasks: desktopicon \user Name: "{userdesktop}\Stellarium"; Filename: "{app}\stellarium.exe"; Working Dir: "{app}"; IconFilename: "{app}\data\stellarium.ico"; Tasks: desktopicon \user
[Registry] [Registry]
; Set file associations for Stellarium scripts ; Set file associations for Stellarium scripts
Root: HKCR; Subkey: ".ssc"; ValueType: string; ValueName: ""; ValueData: "S tellarium.Script"; Flags: uninsdeletevalue Root: HKCR; Subkey: ".ssc"; ValueType: string; ValueName: ""; ValueData: "S tellarium.Script"; Flags: uninsdeletevalue
Root: HKCR; Subkey: "Stellarium.Script"; ValueType: string; ValueName: ""; ValueData: "Stellarium Script"; Flags: uninsdeletekey Root: HKCR; Subkey: "Stellarium.Script"; ValueType: string; ValueName: ""; ValueData: "Stellarium Script"; Flags: uninsdeletekey
Root: HKCR; Subkey: "Stellarium.Script\DefaultIcon"; ValueType: string; Val ueName: ""; ValueData: "{app}\stellarium.exe,0" Root: HKCR; Subkey: "Stellarium.Script\DefaultIcon"; ValueType: string; Val ueName: ""; ValueData: "{app}\stellarium.exe,0"
Root: HKCR; Subkey: "Stellarium.Script\shell\open\command"; ValueType: stri ng; ValueName: ""; ValueData: """{app}\stellarium.exe"" --startup-script "" %1""" Root: HKCR; Subkey: "Stellarium.Script\shell\open\command"; ValueType: stri ng; ValueName: ""; ValueData: """{app}\stellarium.exe"" --startup-script "" %1"""
; Recommended use Inno Setup 5.5.3+ ; Recommended use Inno Setup 5.5.3+
[Languages] [Languages]
; Official translations of GUI of Inno Setup + translation Stellarium speci fic lines ; Official translations of GUI of Inno Setup + translation Stellarium speci fic lines
Name: "en"; MessagesFile: "compiler:Default.isl,util\ISL\EnglishCM.isl" Name: "en"; MessagesFile: "compiler:Default.isl,@CMAKE_SOURCE_DIR@\util\ISL
Name: "ca"; MessagesFile: "compiler:Languages\Catalan.isl,util\ISL\CatalanC \EnglishCM.isl"
M.isl" Name: "ca"; MessagesFile: "compiler:Languages\Catalan.isl,@CMAKE_SOURCE_DIR
@\util\ISL\CatalanCM.isl"
Name: "co"; MessagesFile: "compiler:Languages\Corsican.isl" Name: "co"; MessagesFile: "compiler:Languages\Corsican.isl"
Name: "cs"; MessagesFile: "compiler:Languages\Czech.isl" Name: "cs"; MessagesFile: "compiler:Languages\Czech.isl"
Name: "da"; MessagesFile: "compiler:Languages\Danish.isl" Name: "da"; MessagesFile: "compiler:Languages\Danish.isl"
Name: "nl"; MessagesFile: "compiler:Languages\Dutch.isl" Name: "nl"; MessagesFile: "compiler:Languages\Dutch.isl"
Name: "fi"; MessagesFile: "compiler:Languages\Finnish.isl" Name: "fi"; MessagesFile: "compiler:Languages\Finnish.isl"
Name: "fr"; MessagesFile: "compiler:Languages\French.isl,util\ISL\FrenchCM. isl" Name: "fr"; MessagesFile: "compiler:Languages\French.isl,@CMAKE_SOURCE_DIR@ \util\ISL\FrenchCM.isl"
Name: "de"; MessagesFile: "compiler:Languages\German.isl" Name: "de"; MessagesFile: "compiler:Languages\German.isl"
Name: "el"; MessagesFile: "compiler:Languages\Greek.isl" Name: "el"; MessagesFile: "compiler:Languages\Greek.isl"
Name: "he"; MessagesFile: "compiler:Languages\Hebrew.isl" Name: "he"; MessagesFile: "compiler:Languages\Hebrew.isl"
Name: "hu"; MessagesFile: "compiler:Languages\Hungarian.isl" Name: "hu"; MessagesFile: "compiler:Languages\Hungarian.isl"
Name: "it"; MessagesFile: "compiler:Languages\Italian.isl" Name: "it"; MessagesFile: "compiler:Languages\Italian.isl"
Name: "ja"; MessagesFile: "compiler:Languages\Japanese.isl" Name: "ja"; MessagesFile: "compiler:Languages\Japanese.isl"
Name: "no"; MessagesFile: "compiler:Languages\Norwegian.isl,util\ISL\Norweg ianCM.isl" Name: "no"; MessagesFile: "compiler:Languages\Norwegian.isl,@CMAKE_SOURCE_D IR@\util\ISL\NorwegianCM.isl"
Name: "pl"; MessagesFile: "compiler:Languages\Polish.isl" Name: "pl"; MessagesFile: "compiler:Languages\Polish.isl"
Name: "pt_BR"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl,ut il\ISL\BrazilianPortugueseCM.isl" Name: "pt_BR"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl,@C MAKE_SOURCE_DIR@\util\ISL\BrazilianPortugueseCM.isl"
Name: "pt"; MessagesFile: "compiler:Languages\Portuguese.isl" Name: "pt"; MessagesFile: "compiler:Languages\Portuguese.isl"
Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl,util\ISL\RussianC M.isl" Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl,@CMAKE_SOURCE_DIR @\util\ISL\RussianCM.isl"
Name: "sr"; MessagesFile: "compiler:Languages\SerbianCyrillic.isl" Name: "sr"; MessagesFile: "compiler:Languages\SerbianCyrillic.isl"
Name: "sl"; MessagesFile: "compiler:Languages\Slovenian.isl" Name: "sl"; MessagesFile: "compiler:Languages\Slovenian.isl"
Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl" Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl"
Name: "uk"; MessagesFile: "compiler:Languages\Ukrainian.isl,util\ISL\Ukrain ianCM.isl" Name: "uk"; MessagesFile: "compiler:Languages\Ukrainian.isl,@CMAKE_SOURCE_D IR@\util\ISL\UkrainianCM.isl"
; Unofficial translations of GUI of Inno Setup ; Unofficial translations of GUI of Inno Setup
Name: "bg"; MessagesFile: "util\ISL\Bulgarian.isl,util\ISL\BulgarianCM.isl" Name: "bg"; MessagesFile: "@CMAKE_SOURCE_DIR@\util\ISL\Bulgarian.isl,@CMAKE
Name: "bs"; MessagesFile: "util\ISL\Bosnian.isl,util\ISL\BosnianCM.isl" _SOURCE_DIR@\util\ISL\BulgarianCM.isl"
Name: "gla"; MessagesFile: "util\ISL\ScotsGaelic.isl" Name: "bs"; MessagesFile: "@CMAKE_SOURCE_DIR@\util\ISL\Bosnian.isl,@CMAKE_S
OURCE_DIR@\util\ISL\BosnianCM.isl"
Name: "gla"; MessagesFile: "@CMAKE_SOURCE_DIR@\util\ISL\ScotsGaelic.isl"
[Code] [Code]
#IFDEF UNICODE #IFDEF UNICODE
#DEFINE AW "W" #DEFINE AW "W"
#ELSE #ELSE
#DEFINE AW "A" #DEFINE AW "A"
#ENDIF #ENDIF
type type
INSTALLSTATE = Longint; INSTALLSTATE = Longint;
const const
INSTALLSTATE_INVALIDARG = -2; // An invalid parameter was passed to the function. INSTALLSTATE_INVALIDARG = -2; // An invalid parameter was passed to the function.
INSTALLSTATE_UNKNOWN = -1; // The product is neither advertised or in stalled. INSTALLSTATE_UNKNOWN = -1; // The product is neither advertised or in stalled.
INSTALLSTATE_ADVERTISED = 1; // The product is advertised but not insta lled. INSTALLSTATE_ADVERTISED = 1; // The product is advertised but not insta lled.
INSTALLSTATE_ABSENT = 2; // The product is installed for a differen t user. INSTALLSTATE_ABSENT = 2; // The product is installed for a differen t user.
INSTALLSTATE_DEFAULT = 5; // The product is installed for the curren t user. INSTALLSTATE_DEFAULT = 5; // The product is installed for the curren t user.
VC_REDIST_X86 = '{13A4EE12-23EA-3371-91EE-EFB36DDFFF3E}'; //Microsoft.VS. // Visual C++ 2013 Redistributable 12.0.21005
VC_RuntimeMinimumVSU_x86,v12 VC_REDIST_X86 = '{13A4EE12-23EA-3371-91EE-EFB36DDFFF3E}';
VC_REDIST_X64 = '{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}'; //Microsoft.VS. VC_REDIST_X64 = '{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}';
VC_RuntimeMinimumVSU_amd64,v12
// Visual C++ 2015 Redistributable 14.0.23506
// VC_REDIST_X86 = '{23daf363-3020-4059-b3ae-dc4ad39fed19}';
// VC_REDIST_X64 = '{3ee5e5bb-b7cc-4556-8861-a00a82977d6c}';
function MsiQueryProductState(szProduct: string): INSTALLSTATE; function MsiQueryProductState(szProduct: string): INSTALLSTATE;
external 'MsiQueryProductState{#AW}@msi.dll stdcall'; external 'MsiQueryProductState{#AW}@msi.dll stdcall';
function VCVersionInstalled(const ProductID: string): Boolean; function VCVersionInstalled(const ProductID: string): Boolean;
begin begin
Result := MsiQueryProductState(ProductID) = INSTALLSTATE_DEFAULT; Result := MsiQueryProductState(ProductID) = INSTALLSTATE_DEFAULT;
end; end;
function VCRedistNeedsInstall: Boolean; function VCRedistNeedsInstall: Boolean;
 End of changes. 18 change blocks. 
34 lines changed or deleted 48 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/