[wpkg-users] Using variables and their value
stefan.pendl.71 at gmail.com
Thu May 7 22:53:16 CEST 2015
Am 07.05.2015 um 22:34 schrieb Frank Morawietz:
> Hello fellows,
> I started to build my own installer for Java 8 using the information
> from this list and the web site. But very soon I got stuck and came to
> a point where I need somebody else to help me thinking...
> I took the first Java 8 installer from <http://wpkg.org/Java> as
> starting point and it still looks very similar:
> name="Java Runtime Environment"
> <variable name="UPDATEVER" value="08" />
> <variable name="SHORTUPDATEVER" value="31" />
> <variable name="PREVSHORTUPDATEVER" value="25" /> <!-- Previous
> version -->
> <variable name="VERSION" value="8.0.%SHORTUPDATEVER%" />
> I make use of variables as I'm used to and do in all my installers.
> But this results in the following log messages:
> 2015-05-07 18:49:31, DEBUG : Reading variables from package 'Java
> Runtime Environment'.
> 2015-05-07 18:49:31, DEBUG : Got variable 'UPDATEVER' of value '08'
> 2015-05-07 18:49:31, DEBUG : Got variable 'SHORTUPDATEVER' of value
> 2015-05-07 18:49:31, DEBUG : Got variable 'PREVSHORTUPDATEVER' of
> value '25'
> 2015-05-07 18:49:31, DEBUG : Got variable 'VERSION' of value
> All variables but one get substituted correctly. But why does one fail?
> My only idea from searching the mailing list archives is that it could
> be a matter of order of the variables. But then, it's exactly the
> order as on <http://wpkg.org/Java> and I also use comparable schemes
> in other (working) installers...
> Can someone point me to my mistake?
It depends on when the variable value gets printed, before or after the
How does it look like when it is actually in use?
Which WPKG.js release are you using?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Q: What is the most annoying thing in e-mail?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wpkg-users