[wpkg-users] %version%
Pendl Stefan
stefan.pendl at haidlmair.at
Thu Oct 7 13:00:31 CEST 2010
>
> I used just Copy/Paste
> <check type="uninstall" condition="exists" path="Adobe
> Reader %version%" />
>
>
> No, the %version% thing is OK. It's a bug in the log system.
> It is picking up the %version% fine.
>
> You have some sort of problem in checking the install.
> firstly, check that you have not got a typo in the <check > area.
> i just put the wiki's adobe in my systems with no problems.
>
> On 7 October 2010 17:16, Hubert Kühne <Kuehne at sygnis.de> wrote:
> > I copied Adobereader package definition from
> > http://wpkg.org/Adobe_Reader <http://wpkg.org/Adobe_Reader> <package
> > id="adobereader"
> > name="Adobe Reader %version%"
> > revision="%version%"
> > priority="50">
> >
> > <variable name="version" value="9.4.0" />
> >
> > My WPKG 1.1.2 don´t know %version%. I get in log file:
> > Could not process (install) Adobe Reader %version%.|Failed
> checking after installation.
> > how kan I solve it?
> >
> > Best regards
> > Hubert
> >
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
More information about the wpkg-users
mailing list