|
Packit |
a4aae4 |
;; This builds an installer for libdap - it assumes that you have the
|
|
Packit |
a4aae4 |
;; OPeNDAP Tools 1.0 (or later) package installed in the default location,
|
|
Packit |
a4aae4 |
;; that you have just built libdap from source and that the users of this
|
|
Packit |
a4aae4 |
;; installer are interested in a binary distribution of libdap and will
|
|
Packit |
a4aae4 |
;; build libdap itself.
|
|
Packit |
a4aae4 |
;;
|
|
Packit |
a4aae4 |
;; jhrg 24 April 2008
|
|
Packit |
a4aae4 |
|
|
Packit |
a4aae4 |
[Setup]
|
|
Packit |
a4aae4 |
AppName=OPeNDAP libdap
|
|
Packit |
a4aae4 |
AppVerName=OPeNDAP libdap 3.8.2
|
|
Packit |
a4aae4 |
AppPublisher=OPeNDAP
|
|
Packit |
a4aae4 |
DefaultDirName={sd}\opendap
|
|
Packit |
a4aae4 |
DefaultGroupName=OPeNDAP libdap
|
|
Packit |
a4aae4 |
AllowNoIcons=yes
|
|
Packit |
a4aae4 |
InfoBeforeFile=BeforeInstall.txt
|
|
Packit |
a4aae4 |
OutputBaseFilename=libdap_3.8.2
|
|
Packit |
a4aae4 |
Compression=lzma/ultra
|
|
Packit |
a4aae4 |
SolidCompression=yes
|
|
Packit |
a4aae4 |
LicenseFile=License.txt
|
|
Packit |
a4aae4 |
AlwaysRestart=yes
|
|
Packit |
a4aae4 |
|
|
Packit |
a4aae4 |
[Languages]
|
|
Packit |
a4aae4 |
Name: "english"; MessagesFile: "compiler:Default.isl"
|
|
Packit |
a4aae4 |
|
|
Packit |
a4aae4 |
[Files]
|
|
Packit |
a4aae4 |
;; This grabs the newly built libdap code _assuming_ that the libdap.iss file is run from within libdap/VCPP and
|
|
Packit |
a4aae4 |
;; that the 'nmake package' target has just been run.
|
|
Packit |
a4aae4 |
Source: "..\..\prepkg\opendap\libdap\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
Packit |
a4aae4 |
|
|
Packit |
a4aae4 |
;; Put all of the DLLs in the opendap\bin directory - I have no idea why putting the DLLs in a \dll directory
|
|
Packit |
a4aae4 |
;; doesn't work, but on a non-development machine I set up it definitely does not work while putting them in
|
|
Packit |
a4aae4 |
;; the \bin directory does.
|
|
Packit |
a4aae4 |
Source: "..\..\prepkg\opendap\libdap\dll\*"; DestDir: "{app}\bin"; Flags: ignoreversion
|
|
Packit |
a4aae4 |
|
|
Packit |
a4aae4 |
;; DLLs needed to run our code that are usually not part of win32. Developers should get the OPeNDAP-Tools dist
|
|
Packit |
a4aae4 |
;; too. I spilt this up because I figure developers can handle two installs and so that we can update the tools
|
|
Packit |
a4aae4 |
;; (bison, et c.) and libdap separately.
|
|
Packit |
a4aae4 |
Source: "C:\opendap-tools\dll\*"; DestDir: "{app}\bin"; Flags: ignoreversion
|
|
Packit |
a4aae4 |
|
|
Packit |
a4aae4 |
;; These are the VC++ DLLs needed to actually run the code
|
|
Packit |
a4aae4 |
Source: "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
Packit |
a4aae4 |
|
|
Packit |
a4aae4 |
;; This somewhat inscrutable code sets the 'Path' environment variable so users can run getdap, et c.,
|
|
Packit |
a4aae4 |
;; in a shell (cmd.exe).
|
|
Packit |
a4aae4 |
[Registry]
|
|
Packit |
a4aae4 |
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; ValueName: "Path"; ValueData: "{olddata};{app}\bin"
|
|
Packit |
a4aae4 |
|
|
Packit |
a4aae4 |
[Icons]
|
|
Packit |
a4aae4 |
Name: "{group}\{cm:UninstallProgram,libdap 3.8.2}"; Filename: "{uninstallexe}"
|
|
Packit |
a4aae4 |
|
|
Packit |
a4aae4 |
|
|
Packit |
a4aae4 |
|