[wpkg-users] Using variables and their value
nestolea at gmail.com
Thu May 7 22:34:38 CEST 2015
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
<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
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 '31'
2015-05-07 18:49:31, DEBUG : Got variable 'PREVSHORTUPDATEVER' of
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
Can someone point me to my mistake?
More information about the wpkg-users