Transforms are transforms - they apply to the MSI file, not just the UI. I've 
changed Shortcut names, custom action conditions and (I'm pretty sure) 
ProductName using transforms.

Phil W 

-----Original Message-----
From: Dave Mateer [mailto:dave_mat...@ntm.org] 
Sent: Tuesday, March 13, 2012 7:26 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Multi-language installer

Having already done some research, it appears that single-MSI multi-language 
installers are not supported by Windows Installer, and thus, not by WiX. 
However, the latest information I could find that actually looked definitive 
was from 2007, and I'm wondering if there has been any progress since that 
time, or if perhaps there is a solution for my very simple case.

99.9% of the payload in my installer is the same between the various languages. 
In fact, it is being called silently from a bootstrapper so I don't even care 
about UI transformation. The ONLY thing that needs to be translated is the 
product name as it appears in "Add/Remove Programs" and the shortcut (including 
the folder), i.e.:

    <Product Name="!(loc.ProductName)"/>
    <Package Description="!(loc.ProductName)"/>
    <Directory Id="ProgramMenuFolder">
        <Directory Id="ApplicationProgramsFolder" Name="!(loc.ProductName)"/>
    </Directory>
    <DirectoryRef Id="ApplicationProgramsFolder">
        <Component>
            <Shortcut Name="!(loc.ProductName)">
        </Component>
    </DirectoryRef>

Is there any way to "officially" do this without duplicating the content? I 
have four languages to support, and the content is over 400 MB, so it would be 
a real waste to create four separate installers. The language of the 
application itself can be switched at runtime (using localization resource 
files), so we really want to create one DVD with our single installer.

The most helpful workarounds I found (from 2007) are:

http://jpassing.com/2007/06/14/authoring-multi-language-msi-packages/
http://wix.tramontana.co.hu/tutorial/transforms/morphing-installers

Is this still the state of things? Would those transforms even work with non-UI 
transforms? Any better ideas?

Thanks,

Dave

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to