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: <Property Id="LANGUAGE"> <RegistrySearch Id="LANGUAGE" Type="raw" Root="HKCU" Key="Control Panel\International\" Name="sLanguage" /> </Property> 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! -- View this message in context: http://www.nabble.com/Read-Value-from-Registry-and-use-it-for-the-Filename-of-a-File-tf4108565.html#a11683531 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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