Changes

Jump to: navigation, search

Nxlog

1,466 bytes added, 14:39, 16 November 2016
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..."
===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.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>
</source>
3
edits

Navigation menu