Hi,

Thanks to the list, I am down to one last step on my installer (for an
opensource product).  I'm building a multi-language installer using the
specially named transform storage method (
http://www.installsite.org/pages/en/msi/articles/embeddedlang/index.htm).
For the application, we have a language definition file that contains the
localized strings for each language, and a single file that represents the
active language.  I would like to offer the user a drop down of available
languages (defaulted to the current UserLanguageID) and then copy the
relevant file to the active language file.

I could do this with a custom action, and accept that I will need one to map
the UserLanguageID to our filename,  However, reading the "custom action =
admission of failure", I'm sure there must be a way to copy a user-specified
installed file? CopyFile seems to either copy a single installed file (given
a fixed FileId), or a user selected file (ie from a property) that already
exists before install?

If I do need a custom action to do the whole thing, am I better to add a
temporary row to one of the tables, or just copy the file in the custom
action?

I was thinking of installing a default (e.g. english) file as part of the
install, so the file will be removed correctly on uninstall.


Many thanks for any pointers,

Dave.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to