[wpkg-users] A few issue
Pendl Stefan
stefan.pendl at haidlmair.at
Wed Mar 3 00:43:57 CET 2010
>
> Therefore, I can use at least 2 ways to deploy WPKG and its
> settings.xml - Software Installation (IntelliMirror), and
> Startup/Shutdown scripts. Therefore, I can push any changes I
> want, as long as the target system is able to parse these,
> either automatically, or by some sort of triger. We have
> already agreed below, that auto-parsing, or parsing by local
> triger is a wise solution, compared to any kind of
> workaround, like using psexec.exe wrapper to do remote tasks.
> This strategy just minimizes possible points-of-failure,
> nothing more, nothing less.
>
Below find the current packages I use to manage WPKG client installations and settings updates.
The settings updates can be used for startup scripts too.
WPKG_ROOT is set to the path of the wpkg.js file.
---
Stefan
<?xml version="1.0" encoding="UTF-8"?>
<packages
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" >
<package id="WpkgClient"
name="WPKG Client"
revision="1.3.9"
reboot="false"
priority="998">
<check type="uninstall" condition="exists" path="WPKG" />
<check type="file" condition="versiongreaterorequal" path="%ProgramFiles%\wpkg\wpkginst.exe" value="1.0.0.18" />
<!-- replace x32 with x86 and x64 with AMD64 in the installer file name -->
<install cmd='msiexec /norestart /qn /log "%TMP%\WpkgClient.log" /i "%SOFTWARE%\AppDeploy\WPKG Client\WPKG Client 1.3.9-%PROCESSOR_ARCHITECTURE%.msi" ALLUSERS=1 SETTINGSFILE="%WPKG_ROOT%\settings.xml"' >
<exit code="1641" />
<exit code="3010" />
</install>
<upgrade cmd='msiexec /norestart /qn /log "%TMP%\WpkgClient.log" /i "%SOFTWARE%\AppDeploy\WPKG Client\WPKG Client 1.3.9-%PROCESSOR_ARCHITECTURE%.msi" ALLUSERS=1 SETTINGSFILE="%WPKG_ROOT%\settings.xml"' >
<exit code="1641" />
<exit code="3010" />
</upgrade>
<remove cmd='MsiExec.exe /norestart /qn /log "%TMP%\WpkgClient.log" /x {0CBB4991-D7BA-47C9-A6F8-287A2D6E53CA}' />
</package>
<package
id="WpkgSettings"
name="WPKG Client Settings"
revision="15"
priority="997"
reboot="false"
execute="once">
<depends package-id="WpkgClient"/>
<install cmd='"%ProgramFiles%\WPKG\wpkginst.exe" --SETTINGSFILE=%WPKG_ROOT%\settings.xml' />
<upgrade cmd='"%ProgramFiles%\WPKG\wpkginst.exe" --SETTINGSFILE=%WPKG_ROOT%\settings.xml' />
</package>
</packages>
More information about the wpkg-users
mailing list