[wpkg-users] Now that we have WPKG 1.3.1... more ''standard'' variable definition?

Marco Gaiarin gaio at sv.lnf.it
Mon Jun 9 16:58:13 CEST 2014


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)



More information about the wpkg-users mailing list