Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/Installers/HiveSlaveInstaller.nsi @ 17912

Last change on this file since 17912 was 17576, checked in by jkarder, 5 years ago

#3063: minor cleanup

  • renamed UpdateJobState to UpdateTaskState
  • updated HiveSlaveInstaller.nsi
File size: 3.8 KB
RevLine 
[11599]1/* HeuristicLab
[17182]2 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL)
[11599]3 *
4 * This file is part of HeuristicLab.
5 *
6 * HeuristicLab is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * HeuristicLab is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
[11364]20; NSIS installer script for HeuristicLab Hive Slave
[11599]21; NSIS version: 3.0b0
[11364]22
23Name "HeuristicLab Hive Slave"
24OutFile "HeuristicLab Hive Slave Installer.exe"
25
26; Build configuration is either Debug or Release
27!define BUILDCONFIGURATION "Debug"
28!define SLAVEBUILDPATH "..\HeuristicLab.Clients.Hive.Slave.WindowsService\3.3\bin\${BUILDCONFIGURATION}"
[17182]29!define VERSION "3.3.16"
[11364]30
31InstallDir $PROGRAMFILES\HeuristicLabHiveSlave
32RequestExecutionLevel admin
33
34Page license
35Page directory
36Page instfiles
37
38UninstPage uninstConfirm
39UninstPage instfiles
40
41LicenseData "..\HeuristicLab\3.3\GNU General Public License.txt"
42Icon "..\HeuristicLab\3.3\HeuristicLab.ico"
43
44
45Section "HeuristicLabHiveSlave (required)"
[11366]46  SetOutPath $INSTDIR
[11364]47
[17576]48  File "${SLAVEBUILDPATH}\Google.Protobuf.dll"
49  File "${SLAVEBUILDPATH}\HEAL.Attic.dll"
50  File "${SLAVEBUILDPATH}\HeuristicLab.Clients.Common-3.3.dll"
[11366]51  File "${SLAVEBUILDPATH}\HeuristicLab.Clients.Hive.Slave.WindowsService.exe"
52  File "${SLAVEBUILDPATH}\HeuristicLab.Clients.Hive.Slave.WindowsService.exe.config"
53  File "${SLAVEBUILDPATH}\HeuristicLab.Clients.Hive.SlaveCore-3.3.dll"
54  File "${SLAVEBUILDPATH}\HeuristicLab.Clients.Hive-3.3.dll"
55  File "${SLAVEBUILDPATH}\HeuristicLab.Collections-3.3.dll"
56  File "${SLAVEBUILDPATH}\HeuristicLab.Common.Resources-3.3.dll"
57  File "${SLAVEBUILDPATH}\HeuristicLab.Common-3.3.dll"
58  File "${SLAVEBUILDPATH}\HeuristicLab.Core-3.3.dll"
59  File "${SLAVEBUILDPATH}\HeuristicLab.Data-3.3.dll"
60  File "${SLAVEBUILDPATH}\HeuristicLab.Hive-3.3.dll"
61  File "${SLAVEBUILDPATH}\HeuristicLab.MainForm-3.3.dll"
62  File "${SLAVEBUILDPATH}\HeuristicLab.Optimization-3.3.dll"
63  File "${SLAVEBUILDPATH}\HeuristicLab.Parameters-3.3.dll"
64  File "${SLAVEBUILDPATH}\HeuristicLab.Persistence-3.3.dll"
65  File "${SLAVEBUILDPATH}\HeuristicLab.PluginInfrastructure-3.3.dll"
66  File "${SLAVEBUILDPATH}\HeuristicLab.Tracing-3.3.dll"
[11364]67
68
[11366]69  WriteRegStr HKLM SOFTWARE\HeuristicLabHiveSlave "Install_Dir" "$INSTDIR"
70  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\HeuristicLabHiveSlave" "DisplayName" "HeuristicLabHiveSlave"
71  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\HeuristicLabHiveSlave" "UninstallString" '"$INSTDIR\uninstall.exe"'
72  WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\HeuristicLabHiveSlave" "NoModify" 1
73  WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\HeuristicLabHiveSlave" "NoRepair" 1
[11599]74  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\HeuristicLabHiveSlave" "DisplayVersion" "${VERSION}"
[11366]75  WriteUninstaller "uninstall.exe"
[11364]76
[11366]77  nsExec::ExecToLog '"$INSTDIR\HeuristicLab.Clients.Hive.Slave.WindowsService.exe" --install'
[11364]78SectionEnd
79
80
81Section "un.Uninstall" 
[11366]82  DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\HeuristicLabHiveSlave"
83  DeleteRegKey HKLM SOFTWARE\HeuristicLabHiveSlave
[11364]84
[11366]85  nsExec::ExecToLog '"$INSTDIR\HeuristicLab.Clients.Hive.Slave.WindowsService.exe" --uninstall'
[11364]86
[17576]87  RMDir /r "$INSTDIR"
[11364]88SectionEnd
89
90
Note: See TracBrowser for help on using the repository browser.