[wpkg-users] more unexpected installation

Troy Hamilton troy.a.hamilton at gmail.com
Sat Jun 7 02:57:35 CEST 2008


On Fri, Jun 6, 2008 at 5:57 PM, Mark Nienberg <gmane at tippingmar.com> wrote:

> So to fix this I changed the definition of the package on the server and incremented
> the revision number as follows:
>
> <package id="dotNet2" name="Microsoft .NET Framework 2.0" revision="3">
> <check type="logical" condition="or">
> <check type="uninstall" condition="exists" path="Microsoft .NET Framework 2.0" />
> <check type="uninstall" condition="exists" path="Microsoft .NET Framework 2.0 Service
> Pack 1" />
> </check>
> <install cmd='%SOFTWARE%\dotnet2\install /q' >
>        <exit code="194" reboot="true" />
>        <exit code="1603" />
>        <exit code="3010" reboot="true" />
> </install>
> </package>
>
> I expected that wpkg would notice the revision number, run the upgrade commands (none
> provided) and test the check condition, which would be satisfied, so it would update
> the package definition in the local wpkg.xml file.
>
> Instead, it tries to run the install command, which fails.
>

What about adding:

<upgrade cmd='cmd.exe /c ECHO.dummy upgrade command >NUL' />

--Troy



More information about the wpkg-users mailing list