On Fri, Jun 6, 2008 at 5:57 PM, Mark Nienberg <[EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users