[wpkg-users] regex in registry paths?

Stefan Pendl stefan.pendl.71 at gmail.com
Thu May 31 22:07:06 CEST 2012


Am 31.05.2012 16:35, schrieb Rainer Meier:
> Hi David,
>
> On 31.05.2012 15:10, David Petterson wrote:
>> Is is it possible to use regex in the path for registry checks?
>>
>> ex:
>> <check architecture="x64" type="registry" condition="equals"
>> path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F8641([0-9])*FF}\DisplayVersion"
>>
>> value="%VERSION%"/>
>>

You can use version checks for uninstall registry keys with all the 
benefits of WPKG searching the 32-bit and 64-bit view.


'---code start (watch for line wraps)

<check type="uninstall" condition="versiongreaterorequal"
        path="Adobe Reader .+" value="%PKG_VER%" />

'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the wpkg-users mailing list