[wpkg-users] Check type uninstall
Marco Schmidt
schmidt at fgcz.ethz.ch
Thu Mar 18 09:07:44 CET 2021
From my experience this is usually the case on a 64bit Windows, where
one uninstall is in the 64bit part of the registry and one is in the
32bit part (WOW6432node).
And it happens, by a change from 32bit to 64bit installer of the software.
Greetings ...
Marco
On 3/15/21 7:18 AM, Ulli Conrad wrote:
> Hi all,
>
> just recognized that the check for an uninstall entry returns false if
> an older version is installed parallel even if an entry for the newly
> installed version is present.
>
> I assume that WPKG scans the uninstall entries and stops on the first
> occurrence, compares the version string and returns false if it is not
> matching instead of looking for further occurrences matching properly.
>
> Is this intended?
>
> For instance my Blender package. Installs well, check performs properly
> as long as no older Blender version(s) (e.g. 2.91.2) is/are already
> installed.
>
> <?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">
>
> <!-- Blender -->
> <package id="blender" name="Blender" revision="%version%"
> reboot="false" priority="100">
> <variable name="version" value="2.92.0" />
>
> <check type="uninstall" condition="versiongreaterorequal"
> path="Blender" value="%version%" />
>
>
> <install cmd="msiexec /qn /i
> "%SOFTWARE%\blender\blender-%version%-windows64.msi"
> ALLUSERS=1" />
>
> <upgrade include="install" />
>
> <remove cmd="msiexec /qn /x {D6E38255-FB12-4724-A6FF-075B43272C66}" />
>
> </package>
>
>
> </packages:packages>
>
> Thank you
>
> - Ulli -
> ---------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/wpkg-users
--
UZH/ETH Zurich, Marco Schmidt, Functional Genomics Center Zurich
Y32 H06, Winterthurerstr. 190, 8057 Zurich
Tel +41 44 635 39 02, Fax +41 44 635 39 22, http://www.fgcz.ch/
- IT Koordinator -
More information about the wpkg-users
mailing list