diff --git a/deploy/installer/LANDIS-II-V7 Output-PnET 3.1-setup.exe b/deploy/installer/LANDIS-II-V7 Output-PnET 3.1-setup.exe deleted file mode 100644 index 3772c90..0000000 Binary files a/deploy/installer/LANDIS-II-V7 Output-PnET 3.1-setup.exe and /dev/null differ diff --git a/deploy/installer/LANDIS-II-V7 Output-PnET 3.2-setup.exe b/deploy/installer/LANDIS-II-V7 Output-PnET 3.2-setup.exe new file mode 100644 index 0000000..32542a5 Binary files /dev/null and b/deploy/installer/LANDIS-II-V7 Output-PnET 3.2-setup.exe differ diff --git a/deploy/installer/PnET Output 3.2.iss b/deploy/installer/PnET Output 3.2.iss new file mode 100644 index 0000000..584dfdd --- /dev/null +++ b/deploy/installer/PnET Output 3.2.iss @@ -0,0 +1,83 @@ +; LANDIS-II Extension infomation +#define CoreRelease "LANDIS-II-V7" +#define ExtensionName "Output-PnET" +#define AppVersion "3.2" +#define AppPublisher "LANDIS-II Foundation" +#define AppURL "http://www.landis-ii.org/" + +; Build directory +#define BuildDir "..\..\src\bin\Release\netstandard2.0" + +; LANDIS-II installation directories +#define ExtDir "C:\Program Files\LANDIS-II-v7\extensions" +#define AppDir "C:\Program Files\LANDIS-II-v7" +#define LandisPlugInDir "C:\Program Files\LANDIS-II-v7\plug-ins-installer-files" +#define ExtensionsCmd AppDir + "\commands\landis-ii-extensions.cmd" + +[Setup] +; NOTE: The value of AppId uniquely identifies this application. +; Do not use the same AppId value in installers for other applications. +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) +AppId={{C3EFDCBA-0578-4719-9E87-7F18E53EFCB1} +AppName={#CoreRelease} {#ExtensionName} +AppVersion={#AppVersion} +; Name in "Programs and Features" +AppVerName={#CoreRelease} {#ExtensionName} v{#AppVersion} +AppPublisher={#AppPublisher} +AppPublisherURL={#AppURL} +AppSupportURL={#AppURL} +AppUpdatesURL={#AppURL} +DefaultDirName={pf}\{#ExtensionName} +DisableDirPage=yes +DefaultGroupName={#ExtensionName} +DisableProgramGroupPage=yes +LicenseFile=LANDIS-II_Binary_license.rtf +OutputDir={#SourcePath} +OutputBaseFilename={#CoreRelease} {#ExtensionName} {#AppVersion}-setup +Compression=lzma +SolidCompression=yes +VersionInfoVersion={#AppVersion} + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + + +[Files] +; This .dll IS the extension (ie, the extension's assembly) +; NB: Do not put an additional version number in the file name of this .dll +; (The name of this .dll is defined in the extension's \src\*.csproj file) +Source: {#BuildDir}\Landis.Extension.Output.PnET-v3.dll; DestDir: {#ExtDir}; Flags: replacesameversion + +; Requisite auxiliary libraries +; NB. These libraries are used by other extensions and thus are never uninstalled. +Source: {#BuildDir}\Landis.Library.AgeOnlyCohorts-v3.dll; DestDir: {#ExtDir}; Flags: uninsneveruninstall replacesameversion +Source: {#BuildDir}\Landis.Library.Cohorts-v2.dll; DestDir: {#ExtDir}; Flags: uninsneveruninstall replacesameversion +Source: {#BuildDir}\Landis.Library.BiomassCohorts-v3.dll; DestDir: {#ExtDir}; Flags: uninsneveruninstall replacesameversion +Source: {#BuildDir}\Landis.Library.Metadata-v2.dll; DestDir: {#ExtDir}; Flags: uninsneveruninstall replacesameversion +Source: {#BuildDir}\Landis.Library.Parameters-v2.dll; DestDir: {#ExtDir}; Flags: uninsneveruninstall replacesameversion +Source: {#BuildDir}\Landis.Library.Biomass-v2.dll; DestDir: {#ExtDir}; Flags: uninsneveruninstall replacesameversion + +; Complete example for testing the extension +Source: ..\examples\biomass-Pnet-succession-example\*.txt; DestDir: {#AppDir}\examples\{#ExtensionName}; Flags: replacesameversion +Source: ..\examples\biomass-Pnet-succession-example\*.gis; DestDir: {#AppDir}\examples\{#ExtensionName}; Flags: replacesameversion skipifsourcedoesntexist +Source: ..\examples\biomass-Pnet-succession-example\*.img; DestDir: {#AppDir}\examples\{#ExtensionName}; Flags: replacesameversion skipifsourcedoesntexist +Source: ..\examples\biomass-Pnet-succession-example\*.bat; DestDir: {#AppDir}\examples\{#ExtensionName}; Flags: replacesameversion skipifsourcedoesntexist + + +; LANDIS-II identifies the extension with the info in this .txt file +; NB. New releases must modify the name of this file and the info in it +#define InfoTxt "PnET-Output.txt" +Source: {#InfoTxt}; DestDir: {#LandisPlugInDir} +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + + +[Run] +Filename: {#ExtensionsCmd}; Parameters: "remove ""Output-PnET"" "; WorkingDir: {#LandisPlugInDir} +Filename: {#ExtensionsCmd}; Parameters: "add ""{#InfoTxt}"" "; WorkingDir: {#LandisPlugInDir} + + +[UninstallRun] +; Remove "Age-Only Succession" from "extensions.xml" file. +Filename: {#ExtensionsCmd}; Parameters: "remove ""Output-PnET"" "; WorkingDir: {#LandisPlugInDir} + +