[WiX-users] Add Registry Value to a variable

2007-07-20 Thread Martin Österreicher
Hello!

How can I read out a Registry Value and put it into a variable?

I would be so grateful, if you could help me!

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Read out value from Registry and put it as String to a Filename

2007-07-19 Thread Martin Österreicher
Hi everybody!

I have been searching for a solution for my problem for a long time, but I 
still don't know, how to do:

I want do read out the Windows System Language Code from the registry. This 
value can be found at this registry path: 

HKCU\Control Panel\International\sLanguage

E.g. the value is 'DEA' for German/Austria or "ENU" for English/USA.

I want to read out this value from the registry and use this String-Value as 
the extension for a File, e.g. Filename.DEA or Filename.ENU.

I can read out the value of the registry with this code:


  


But how to put it as the extension now? I don't know, how to make use of the 
Property LANGUAGE!

Writing Filename.[LANGUAGE] as the Name of the File does not work. Do I have to 
put the Property LANGUAGE into a variable? But how to do so?

Best greetings and thanks,
Martin!
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users