stellarium.iss.cmake   stellarium.iss.cmake 
skipping to change at line 30 skipping to change at line 30
; 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=COPYING
Compression=zip/9 Compression=zip/9
[Files] [Files]
Source: "@CMAKE_INSTALL_PREFIX@\bin\stellarium.exe"; DestDir: "{app}" Source: "@CMAKE_INSTALL_PREFIX@\bin\stellarium.exe"; DestDir: "{app}"
@STELMAINLIB@ @STELMAINLIB@
@MESALIB@
@REDIST_FILES@ @REDIST_FILES@
Source: "stellarium.url"; DestDir: "{app}" Source: "stellarium.url"; DestDir: "{app}"
Source: "stellarium-guide.url"; DestDir: "{app}"
Source: "stellarium-devdocs.url"; DestDir: "{app}"
Source: "README"; DestDir: "{app}"; Flags: isreadme; DestName: "README.rtf" Source: "README"; DestDir: "{app}"; Flags: isreadme; DestName: "README.rtf"
Source: "INSTALL"; DestDir: "{app}"; DestName: "INSTALL.rtf" Source: "INSTALL"; DestDir: "{app}"; DestName: "INSTALL.rtf"
Source: "COPYING"; DestDir: "{app}"; DestName: "GPL.rtf" Source: "COPYING"; DestDir: "{app}"; DestName: "GPL.rtf"
Source: "AUTHORS"; DestDir: "{app}"; DestName: "AUTHORS.rtf" Source: "AUTHORS"; DestDir: "{app}"; DestName: "AUTHORS.rtf"
Source: "ChangeLog"; DestDir: "{app}"; DestName: "ChangeLog.rtf" Source: "ChangeLog"; DestDir: "{app}"; 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: "@QtDeclarative_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}";
@ISS_QT_SCRIPT@ @ISS_QT_SCRIPT@
@ISS_QT_MULTIMEDIA@ @ISS_QT_MULTIMEDIA@
@ISS_ANGLE_LIBS@ @ISS_ANGLE_LIBS@
@ISS_ICU_LIBS@ @ISS_ICU_LIBS@
@ISS_WINDOWS_PLUGIN@ @ISS_WINDOWS_PLUGIN@
@ISS_ICO_PLUGIN@ @ISS_ICO_PLUGIN@
@ISS_JPEG_PLUGIN@ @ISS_JPEG_PLUGIN@
skipping to change at line 89 skipping to change at line 91
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}\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.exe"
; Parameters: "--angle-mode"; 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}\{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"
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
; 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,util\ISL\EnglishCM.isl"
Name: "ca"; MessagesFile: "compiler:Languages\Catalan.isl,util\ISL\CatalanC M.isl" Name: "ca"; MessagesFile: "compiler:Languages\Catalan.isl,util\ISL\CatalanC M.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"
skipping to change at line 129 skipping to change at line 136
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,util\ISL\RussianC M.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,util\ISL\Ukrain ianCM.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: "util\ISL\Bulgarian.isl,util\ISL\BulgarianCM.isl"
Name: "bs"; MessagesFile: "util\ISL\Bosnian.isl,util\ISL\BosnianCM.isl" Name: "bs"; MessagesFile: "util\ISL\Bosnian.isl,util\ISL\BosnianCM.isl"
Name: "gla"; MessagesFile: "util\ISL\ScotsGaelic.isl" Name: "gla"; MessagesFile: "util\ISL\ScotsGaelic.isl"
[Code]
#IFDEF UNICODE
#DEFINE AW "W"
#ELSE
#DEFINE AW "A"
#ENDIF
type
INSTALLSTATE = Longint;
const
INSTALLSTATE_INVALIDARG = -2; // An invalid parameter was passed to the
function.
INSTALLSTATE_UNKNOWN = -1; // The product is neither advertised or in
stalled.
INSTALLSTATE_ADVERTISED = 1; // The product is advertised but not insta
lled.
INSTALLSTATE_ABSENT = 2; // The product is installed for a differen
t user.
INSTALLSTATE_DEFAULT = 5; // The product is installed for the curren
t user.
VC_REDIST_X86 = '{13A4EE12-23EA-3371-91EE-EFB36DDFFF3E}'; //Microsoft.VS.
VC_RuntimeMinimumVSU_x86,v12
VC_REDIST_X64 = '{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}'; //Microsoft.VS.
VC_RuntimeMinimumVSU_amd64,v12
function MsiQueryProductState(szProduct: string): INSTALLSTATE;
external 'MsiQueryProductState{#AW}@msi.dll stdcall';
function VCVersionInstalled(const ProductID: string): Boolean;
begin
Result := MsiQueryProductState(ProductID) = INSTALLSTATE_DEFAULT;
end;
function VCRedistNeedsInstall: Boolean;
begin
// here the Result must be True when you need to install your VCRedist
// or False when you don't need to, so now it's upon you how you build
// this statement, the following won't install your VC redist only when
// the Visual C++ 2013 Redist are installed for the current user
Result := not (VCVersionInstalled(@REDIST_VERSION@));
end;
 End of changes. 7 change blocks. 
1 lines changed or deleted 14 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/