> > > The check will not work, since I doubt, that variable > expansion is used on uninstall paths. > > You can use regular expressions and check the DisplayVersion value: > > > > <check type="uninstall" condition="versiongreaterorequal" > path="Adobe Reader 9.4.+" value="%version%" /> > > > > --- > > Stefan > No, variables in uninstall strings work just fine, as this shows: > > 2010-10-08 08:55:53, DEBUG : Variable version = 9.4.0 > 2010-10-08 08:55:53, DEBUG : Uninstall entry 'Adobe Reader 9.4.0' > matches string 'Adobe Reader 9.4.0'. > 2010-10-08 08:55:53, DEBUG : Uninstall entry for Adobe Reader > %version% was found: test successful >
I would still alter the example at the wiki to use the following check, which will work for any localized version of Adobe Reader: <check type="uninstall" condition="versiongreaterorequal" path="Adobe Reader .+" value="%version%" /> In addition this will not fail for added patches ;-) --- Stefan ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users