Changeset c391984 in nscp for helpers/installers
- Timestamp:
- 04/03/11 23:05:52 (2 years ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2
- Children:
- b7d17f8
- Parents:
- 2d69ab6
- File:
-
- 1 edited
-
helpers/installers/installer/Product.wxs (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
helpers/installers/installer/Product.wxs
r2d69ab6 rc391984 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> 3 <!-- 4 <?define boost = "false" ?> 5 --> 6 <?ifdef var.boost ?> 7 <?define PlatForm = "$(var.arch)" ?> 8 <?define Mode = "Nightly" ?> 9 <?define SysTray.ConfigurationName = "BOOST BUILD" ?> 10 <?else?> 11 <?if "$(var.SysTray.ConfigurationName)" = "Debug|Win32"?> 12 <?define PlatForm = "Win32" ?> 13 <?define Mode = "Debug" ?> 14 <?elseif "$(var.SysTray.ConfigurationName)" = "Debug|x64"?> 15 <?define PlatForm = "x64" ?> 16 <?define Mode = "Debug" ?> 17 <?elseif "$(var.SysTray.ConfigurationName)" = "Nightly|Win32"?> 18 <?define PlatForm = "Win32" ?> 19 <?define Mode = "Nightly" ?> 20 <?elseif "$(var.SysTray.ConfigurationName)" = "Nightly|x64"?> 21 <?define PlatForm = "x64" ?> 22 <?define Mode = "Nightly" ?> 23 <?else?> 24 <?define PlatForm = "Unknown: plattform" ?> 25 <?endif?> 26 <?endif?> 3 <?define PlatForm = "$(var.arch)" ?> 4 <?define Mode = "Nightly" ?> 5 <?define SysTray.ConfigurationName = "BOOST BUILD" ?> 27 6 28 7 <?if "$(var.PlatForm)" = "x64"?> … … 46 25 <?define Source = "../../$(var.PlatForm)/$(var.Mode)/" ?> 47 26 <?endif?> 48 <!--49 <?ifndef var.Helpers ?>50 <?define Helpers = "../../$(var.PlatForm)/$(var.Mode)-helpers/" ?>51 <?endif?>52 -->53 27 54 28 <?define Version.String = "$(var.Version.Major).$(var.Version.Minor).$(var.Version.Revision).$(var.Version.Build)" ?> … … 105 79 <!-- 106 80 <File Id="NSClientINI" Name="NSC.ini" LongName="NSC.ini" DiskId="1" Source="$(var.Path.ini)/NSC.ini" Vital="yes"/> 107 <?ifdef var.boost ?> 108 <File Id="Changelog" Name="change.log" LongName="changelog.txt" DiskId="1" Source="$(var.Source)/changelog.txt" Vital="no"/> 109 <?else?> 110 <File Id="Changelog" Name="change.log" LongName="changelog.txt" DiskId="1" Source="$(var.Source)/changelog" Vital="no"/> 111 <?endif?> 81 --> 82 <File Id="Changelog" Name="change.log" LongName="changelog.txt" DiskId="1" Source="$(var.Source)/changelog" Vital="no"/> 112 83 <File Id="Counters" Name="counters.def" LongName="counters.defs" DiskId="1" Source="$(var.Source)/counters.defs" Vital="no"/> 113 84 <File Id="License" Name="license.txt" LongName="license.txt" DiskId="1" Source="$(var.Source)/license.txt" Vital="no"/> 114 -->85 115 86 <RemoveFile Id="LogFile1" Name="nsclient.log" On="uninstall" /> 116 87 <RemoveFile Id="LogFile2" Name="nsc.log" On="uninstall" /> … … 121 92 <Component Id="ServiceRegistration" Guid="F6636DB0-A0B9-4dA2-B74C-$(var.Postfix.GUID)" Win64="$(var.Win64)" /> 122 93 <Component Id="Documentation" Guid="9B490E67-5472-4267-889C-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 123 <!-- 124 <File Id="doc.usage.nagios" Name="nagios.pdf" LongName="Nagios Usage Guide.pdf" DiskId="1" Source="$(var.Source)/Nagios Usage Guide.pdf" Vital="no" > 94 <File Id="doc.usage.nagios" Name="nagios.pdf" LongName="Nagios Usage Guide.pdf" DiskId="1" Source="$(var.Source)/docs/Nagios Usage Guide.pdf" Vital="no" > 125 95 <Shortcut Id="Startmenu.doc.nagios" Directory="ProgramMenuDir" Name="nagios" 126 96 LongName="Nagios Usage Guide" WorkingDirectory="INSTALLDIR" Description="Nagios Usage Guide"/> 127 97 </File> 128 <File Id="doc.reference" Name="nsclient.pdf" LongName="NSClient++ Reference Manual.pdf" DiskId="1" Source="$(var.Source)/ NSClient++ Reference Manual.pdf" Vital="no" >98 <File Id="doc.reference" Name="nsclient.pdf" LongName="NSClient++ Reference Manual.pdf" DiskId="1" Source="$(var.Source)/docs/NSClient++ Reference Manual.pdf" Vital="no" > 129 99 <Shortcut Id="Startmenu.doc.ref" Directory="ProgramMenuDir" Name="refman" 130 100 LongName="NSClient++ Reference Manual" WorkingDirectory="INSTALLDIR" Description="NSClient++ Reference Manual"/> 131 101 </File> 132 -->133 102 </Component> 103 <Directory Id="INSTALLLOCATION_SECURITY" Name="security"> 104 <Component Id="NRPEServerCert" Guid="5A0246F8-5167-45db-2E46-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 105 <File Id="NRPECert" Name="nrpe_dh.pem" LongName="nrpe_dh_512.pem" DiskId="1" Source="$(var.Source)/security/nrpe_dh_512.pem" Vital="no"/> 106 </Component> 107 </Directory> 134 108 <Directory Id="INSTALLLOCATION_MODS" Name="modules"> 135 <Component Id="NRPEListener" Guid="5A0246F8-5167-45db-B246-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 136 <!-- 137 <File Id="NRPEListenerDLL" Name="NRPELsnr.dll" LongName="NRPEListener.dll" DiskId="1" Source="$(var.Source)/modules/NRPEListener.dll" Vital="no" /> 109 <Component Id="NRPEServer" Guid="5A0246F8-5167-45db-B246-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 110 <File Id="NRPEListenerDLL" Name="NRPELsnr.dll" LongName="NRPEListener.dll" DiskId="1" Source="$(var.Source)/modules/NRPEServer.dll" Vital="no" /> 138 111 <File Id="NRPEClientDLL" Name="NRPEClnt.dll" LongName="NRPEClient.dll" DiskId="1" Source="$(var.Source)/modules/NRPEClient.dll" Vital="no" /> 139 -->140 112 </Component> 141 113 <Component Id="NSCListener" Guid="6DAF8BB9-9A56-48f5-B2C5-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 142 <!-- 143 <File Id="NSCListenerDLL" Name="NSCLsnr.dll" LongName="NSClientListener.dll" DiskId="1" Source="$(var.Source)/modules/NSClientListener.dll" Vital="no" /> 144 --> 114 <File Id="NSCListenerDLL" Name="NSCLsnr.dll" LongName="NSClientListener.dll" DiskId="1" Source="$(var.Source)/modules/NSClientServer.dll" Vital="no" /> 145 115 </Component> 146 116 <Component Id="NSCA" Guid="8820A304-C596-4393-A72F-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 147 <!--148 117 <File Id="NSCAAgentDLL" Name="NSCAAgnt.dll" LongName="NSCAAgent.dll" DiskId="1" Source="$(var.Source)/modules/NSCAAgent.dll" Vital="no" /> 149 -->118 <File Id="SchedulerDLL" Name="Sched.dll" LongName="Scheduler.dll" DiskId="1" Source="$(var.Source)/modules/Scheduler.dll" Vital="no" /> 150 119 </Component> 151 120 <Component Id="Plugins" Guid="9B490E67-5472-4266-96DC-$(var.Postfix.GUID)" Win64="$(var.Win64)"> … … 160 129 <File Id="ModFileLogger.dll" Name="Logger.dll" LongName="FileLogger.dll" DiskId="1" Source="$(var.Source)/modules/FileLogger.dll" Vital="no" /> 161 130 <File Id="ModLUAScript.dll" Name="LUAScr.dll" LongName="LUAScript.dll" DiskId="1" Source="$(var.Source)/modules/LUAScript.dll" Vital="no" /> 131 <File Id="ModCheckNSCP.dll" Name="CNSCP.dll" LongName="CheckNSCP.dll" DiskId="1" Source="$(var.Source)/modules/CheckNSCP.dll" Vital="no" /> 162 132 <!-- 163 133 <File Id="ModRemoteConfiguration.dll" Name="RmtCfg.dll" LongName="RemoteConfiguration.dll" DiskId="1" Source="$(var.Source)/modules/RemoteConfiguration.dll" Vital="no" /> … … 167 137 <File Id="ModCheckTaskSched.dll" Name="TaskSch.dll" LongName="CheckTaskSched.dll" DiskId="1" Source="$(var.Source)/modules/CheckTaskSched.dll" Vital="no" /> 168 138 <File Id="ModCheckTaskSched2.dll" Name="TaskSch2.dll" LongName="CheckTaskSched2.dll" DiskId="1" Source="$(var.Source)/modules/CheckTaskSched2.dll" Vital="no" /> 169 <File Id="ModCheckNSCP.dll" Name="CNSCP.dll" LongName="CheckNSCP.dll" DiskId="1" Source="$(var.Source)/modules/CheckNSCP.dll" Vital="no" />170 139 </Component> 171 140 </Directory> 172 141 <Directory Id="INSTALLLOCATION_SCRIPTS" Name="scripts"> 173 142 <Component Id="Scripts" Guid="9B490E67-5472-4268-96DF-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 174 <!--175 143 <File Id="script001" Name="c_60s.bat" LongName="check_60s.bat" DiskId="1" Source="$(var.Source)/scripts/check_60s.bat" Vital="no" /> 176 144 <File Id="script002" Name="c_btry.vbs" LongName="check_battery.vbs" DiskId="1" Source="$(var.Source)/scripts/check_battery.vbs" Vital="no" /> … … 182 150 <File Id="sample002" Name="c_test.ps1" LongName="check_test.ps1" DiskId="1" Source="$(var.Source)/scripts/check_test.ps1" Vital="no" /> 183 151 <File Id="sample003" Name="c_test.vbs" LongName="check_test.vbs" DiskId="1" Source="$(var.Source)/scripts/check_test.vbs" Vital="no" /> 152 <!-- 184 153 <File Id="lua001" Name="test.lua" LongName="test.lua" DiskId="1" Source="$(var.Source)/scripts/test.lua" Vital="no" /> 185 154 --> … … 187 156 <Directory Id="INSTALLLOCATION_SCRIPTS_LIB" Name="lib"> 188 157 <Component Id="ScriptLibs" Guid="9B490E67-5472-4267-96DF-$(var.Postfix.GUID)" Win64="$(var.Win64)"> 189 <!--190 158 <File Id="lib001" Name="nagplug.vbs" LongName="NagiosPlugins.vbs" DiskId="1" Source="$(var.Source)/scripts/lib/NagiosPlugins.vbs" Vital="no" /> 191 159 <File Id="lib002" Name="wrapper.vbs" LongName="wrapper.vbs" DiskId="1" Source="$(var.Source)/scripts/lib/wrapper.vbs" Vital="no" /> 192 -->193 160 </Component> 194 161 </Directory> … … 223 190 </Feature> 224 191 <Feature Id="NRPEPlugins" Title="NRPE Support" Description="NRPE Listener Plugin. Support for the more vercitile NRPE protocol (check_nrpe)" Level="1" Absent="disallow"> 225 <ComponentRef Id="NRPEListener" /> 192 <ComponentRef Id="NRPEServer" /> 193 <ComponentRef Id="NRPEServerCert" /> 226 194 </Feature> 227 195 <Feature Id="NSCPlugins" Title="NSClient support" Description="NSClient Listener Plugin. Support for the old NSClient protocol (check_nt)" Level="1" Absent="disallow"> … … 274 242 <Row> 275 243 <Data Column="Id">SVC</Data> 276 <Data Column="ShortName"> NSClientpp</Data>244 <Data Column="ShortName">nscp</Data> 277 245 <Data Column="LongName">$(var.App.Title) ($(var.PlatForm))</Data> 278 246 <Data Column="Description">Monitoring agent for nagios (and others) used to respond to status queries.</Data> 279 247 <Data Column="Component_">ServiceRegistration</Data> 280 <Data Column="Program">[#NSClientEXE] </Data>248 <Data Column="Program">[#NSClientEXE] --service --run --name nscp</Data> 281 249 <Data Column="Dependencies"></Data> 282 250 </Row>
Note: See TracChangeset
for help on using the changeset viewer.








