Hi,

I have requirement where I need to install the localized version of documents 
(ex: "Release Notes") based on the language choice user selected during 
installation. I already have screen where user language selection (2-digit 
language code) is being mapped to property. I also have predefined folder 
structure where localized files like "Release Notes.pdf" are stored within 
specific language subfolder.

So what I am trying to do is include File element in my installation directory 
using the selected language property to construct the Source file path. I want 
the path to be resolved to "....\EN\Release Notes.pdf" or similar based on 
property value.

<Component ....>
              <File Id='App_ReleaseNotes'
                    Name='Release Notes'
                    Source='some_path_here\[PROP_LANGUAGECODE]\Release 
Notes.pdf' / >
...
</Component>

Basically, the property name is not being resolved resulting in compile time 
error. Is there way to achieve this? Any help/guidance will be much appreciated.

Thanks.
Ajay

-- 
View this message in context: 
http://n2.nabble.com/Dynamic-path-for-File-Source-element-tp1612958p1612958.html
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to