Difference between revisions of "Nxlog"
From WPKG | Open Source Software Deployment and Distribution
Carl.vaneijk (Talk | contribs) (Created page with "===NXLOG Installer=== <source lang=xml> <?xml version="1.0" encoding="UTF-8"?> <packages:packages xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www...") |
m |
||
Line 1: | Line 1: | ||
− | + | Silent installer for NXLog, log management solution. | |
+ | |||
<source lang=xml> | <source lang=xml> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
Line 48: | Line 49: | ||
</packages:packages> | </packages:packages> | ||
</source> | </source> | ||
+ | |||
+ | [[Category: Silent Installers]] |
Latest revision as of 05:24, 19 November 2016
Silent installer for NXLog, log management solution.
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages
xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/packages ../../xsd/packages.xsd" >
<package
id="nxlog"
name="NXLOG"
revision="2013070201"
priority="10"
reboot="false"
vesrion='%version%'>
<variable name="SOFTWARE" value="\\servername\apps\nxlog" />
<variable name="version" value="2.8.1248" />
<variable architecture="x86" name="progfiles" value="%PROGRAMFILES%" />
<variable architecture="x64" name="progfiles" value="%PROGRAMFILES(X86)%" />
<variable name="PKG_MSI" value="nxlog-ce-2.8.1248.msi" />
<check type="file" condition="exists" path="%progfiles%\nxlog\nxlog.exe" />
<check type="file" condition="exists" path="%progfiles%\nxlog\conf\nxlog.conf" />
<install cmd='msiexec /q -i "%SOFTWARE%\%PKG_MSI%" ' />
<!--
copy over the customized conf file
-->
<install cmd='%ComSpec% /c robocopy /Z /NP /NDL /NFL /NJH /NJS "%Software%" "%progfiles%\nxlog\conf" "nxlog.conf" '>
<exit code='0' />
<exit code='1' />
<exit code='2' />
<exit code='3' />
</install>
<install cmd='sc start nxlog'/>
<upgrade include="install"/>
<remove cmd='msiexec /qn /x "%SOFTWARE%\%PKG_MSI%" /qn' />
</package>
</packages:packages>