[wpkg-users] Microsoft .NET Desktop Runtime 6.0 ...
Nicolas BRICHE
nbriche at free.fr
Tue Feb 28 08:52:07 CET 2023
Hi,
Le 2023-02-27 17:05, Marco Gaiarin a écrit :
> Mandi! Marco Schmidt
> In chel di` si favelave...
>
>> the "path" in check-condition "uninstall" can have a regex.
>
> Ah, I've tried it, like:
>
> <check type="uninstall" condition="exists" path="Microsoft Windows
> Desktop Runtime - 6\.0\.\d+ (x86)" />
>
> but seems does not work...
Try to escape the parenthesis as well?
path="Microsoft Windows Desktop Runtime - 6\.0\.\d+ \(x86\)"
Also, try 'condition="versiongreaterorequal"' instead of just "exists".
If you keep "exists", it would match obsolete versions as well.
https://wpkg.org/Packages.xml#Uninstall
>
>
>> With the condition "exists", there just need more than one uninstall
>> registry key found to return true.
>
> ?! Sorry, i've not understood... i need to setup a regexp that match
> TWO 'uninstall' entry?! How?!
I think what was meant here was probably "one or more" rather than "more
than one"?
N.
More information about the wpkg-users
mailing list