Thanks Rob.

But I really do need the runtime behavior in this scenario. I won't know
which localized version of "release notes" to install until user selects the
preferred locale in one of the install screens. 

Is there a way to construct the file table entry dynamically during runtime?
And would that be automatically uninstalled?

Thanks.
Ajay


Rob Mensching-2 wrote:
> 
> Properties are a runtime (install/repair/uninstall) concept.  You need a
> build time concept.  Take a look at Preprocessor and Binder variables
> (WixVariable element).
> 
> -----Original Message-----
> From: ajay [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 04, 2008 02:18
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Dynamic path for File Source element
> 
> 
> 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
> 
> 
> -------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Dynamic-path-for-File-Source-element-tp1612958p1616993.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to