[wpkg-users] Feature request? /2

Rainer Meier r.meier at wpkg.org
Mon Apr 28 20:45:13 CEST 2008


Hi Marco,

Marco Gaiarin wrote:
> Sometimes writing recipes i go totally mad following the really stupid
> microsoft practice to rename folders based on locale.
> 
> Classical example:
> 
> 	"%ALLUSERSPROFILE%\Menu Avvio\Programmi\Esecuzione Automatica"
> 
> in italian, i think:
> 
> 	"%ALLUSERSPROFILE%\Start Menu\Programs\Startup"
> 
> in english.
> 
> 
> Can be defined somewhere (in a XML?) a table that defines, for every
> locale, some custom variables? Eg, something like:
> 
> <variables>
>  <variable lcid="409,809,c09,2809,1009,2409,3c09,4009,3c09,4009,3809,1809,2009,4409,1409,3409,4809,1c09,2c09,3009">
>    <string id="STARTUPFOLDER">%ALLUSERSPROFILE%\Start Menu\Programs\Startup</string>
>  <variable lcid="410,810">
>    <string id="STARTUPFOLDER">%ALLUSERSPROFILE%\Menu Avvio\Programmi\Esecuzione Automatica</string>
> 
> and use %STARTUPFOLDER% in recipes?

You might define global variables on host, profile and package level. 
However not different ones on different locales. In fact this is also 
not needed any more - at least for Windows Vista. For example the 
profiles are always stored at c:\Users. Programs might still use 
c:\documents and settings but this path actually does not exist any more 
and is linked to c:\users. So it seems that Microsoft already addressed 
this issue.

br,
Rainer



More information about the wpkg-users mailing list