[wpkg-users] the volume wpkg is currently unavailable"

Pendl Stefan stefan.pendl at haidlmair.at
Fri Oct 30 18:25:21 CET 2009


>
> We've got a new server and along with it a new static IP. So I figured
> I need to reinstall the client on all my nodes in order to give them
> the server's new IP.
>
> I un-installed the WPKG client via Psexec, but now can't reinstall it,
> either via Psexec or manually,  I get the error above. The error comes
> after agreeing to the license and clicking next.
>

If the settings change, just update the settings.

The client runs a service, so you must reboot to fully get rid of the previous installation.

I never remove the client, I just update the settings with the following package:

<!-- code start (watch for line wraps) -->
<?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>
<!-- code end -->

---
Stefan



More information about the wpkg-users mailing list