[wpkg-users] Accessing value of revision in cmd

Stefan Pendl stefan.pendl.71 at gmail.com
Wed Oct 12 00:41:15 CEST 2011


> 
> Is there any way to use the value of the revision attribute 
> inside a package definition?
> 
> I tried things like <variable name="myvar" value="%revision%" 
> />, without success.
> 
> What I'm after is a way to use things like
> 
> <install cmd="reg add HKLM\software\mykey /v xy-revision /d 
> %revision% /f" />
> 
> It doesn't seem possible, but maybe I have overlooked something?
> 

You can do it the other way around by using a variable as the revision value:

revision="%version%"

(Note to self: always use "reply to all")


---
Stefan

Windows 7 Home Premium 64-bit SP1
AMD Turion X2 RM-70 2GHz, 4GB RAM

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