Re: [WiX-users] Multi-language installer

2012-03-13 Thread Rob Mensching
The Windows Installer behavior has not changed. :(

On Tue, Mar 13, 2012 at 7:26 AM, Dave Mateer dave_mat...@ntm.org wrote:

 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




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
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


Re: [WiX-users] Multi-language installer

2012-03-13 Thread Christopher Painter


They may not be supported but I've done it in InstallShield with and 
without a Setup.EXE.   


http://www.installsite.org/pages/en/msi/articles/embeddedlang/


The setup.exe with lanuage selection and command line passing to specify 
the embedded language transform to use is the officially supported 
technique.  


The only thing that really sucks IMO is that you better not modify the UI 
from one build to another if you are doing Minor Upgrades as you can get 
into some nasty cached transform problem areas.  Major Upgrades work fine 
though.



From: Rob Mensching r...@robmensching.com

Sent: Tuesday, March 13, 2012 10:20 AM

To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net

Subject: Re: [WiX-users] Multi-language installer


The Windows Installer behavior has not changed. :(


On Tue, Mar 13, 2012 at 7:26 AM, Dave Mateer dave_mat...@ntm.org wrote:


 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




-- 

virtually, Rob Mensching - http://RobMensching.com LLC


--

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


--
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


Re: [WiX-users] Multi-language installer

2012-03-13 Thread David Watson
If you really only want package name and shortcut localization, it may be
possible to do with a few conditions in an English MSI and some property
settings. See ARPCOMMENTS ProductName etc.

How will you determine what language to use, will it be passed in from your
bootstrapper or based on OS settings?


-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: 13 March 2012 15:13
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Multi-language installer

The Windows Installer behavior has not changed. :(

On Tue, Mar 13, 2012 at 7:26 AM, Dave Mateer dave_mat...@ntm.org wrote:

 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




--
virtually, Rob Mensching - http://RobMensching.com LLC
-
-
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
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
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


Re: [WiX-users] Multi-language installer

2012-03-13 Thread Wilson, Phil
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


Re: [WiX-users] Multi-language installer

2012-03-13 Thread Bob Arnson
On 13-Mar-12 10:26, Dave Mateer wrote:
 99.9% of the payload in my installer is the same between the various 
 languages.

The canonical way is to have one language-neutral installer and n 
language-specific installers.

 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.

Another approach is to isolate language-neutral content into a shared 
external .cab file, so you have n installers but no duplicated content.

-- 
sig://boB
http://joyofsetup.com/


--
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