[wpkg-users] Now that we have WPKG 1.3.1... more ''standard'' variable definition?
Paul McGrath
J.P.McGrath at leeds.ac.uk
Mon Jun 9 17:15:07 CEST 2014
Hi Marco,
I agree with you, many of us will already use %PROGFILES% defined by x86 or x64. The desktop would also be useful.
Paul
-----Original Message-----
From: wpkg-users-bounces at lists.wpkg.org [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of Marco Gaiarin
Sent: 09 June 2014 15:58
To: wpkg-users at lists.wpkg.org
Subject: [wpkg-users] Now that we have WPKG 1.3.1... more ''standard'' variable definition?
Ok, now we have WPKG 1.3.1, that have the nice feature of be able to define variables in config.xml.
We are used to use in recipe variable like %SOFTWARE%, and we know that is merely a convention, but is a useful convention in wiki recipes.
Can be define some more ''convention''? On config.xml examples there's two examples:
<variable name="DESKTOP" value="%ALLUSERSPROFILE%\Desktop" os="windows xp" />
<variable name="DESKTOP" value="%PUBLIC%\Desktop" os="windows 7" />
%DESKTOP% is a possibly confusing variable... better to use %ALLUSERSDESKTOP% or %PUBLICDESKTOP%?
Someone have just maked some more pecise os detection? AFAIK %ALLUSERSPROFILE%\Desktop is for XP an before, while %PUBLIC%\Desktop work for vista and successor. I don't know for server OSes...
<variable name="PROG_FILES32" value="%PROGRAMFILES%\SomeSoftware" architecture="x86" />
<variable name="PROG_FILES32" value="%PROGRAMFILES(x86)%\SomeSoftware" architecture="x64" />
This is clearly an example. I propose:
<variable name="ProgramFiles32" value="%ProgramFiles%" architecture="x86" />
<variable name="ProgramFiles32" value="%ProgramFiles(x86)%" architecture="x64" />
Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-------------------------------------------------------------------------
Vacation Rentals, Homes, Apartments & Rooms - sign up and get $25 off your first booking! http://www.ptraveler.com/redir/airbnb
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list