[wix-users] Localised installer with very long compile times

Keag, Christopher chriskeag at tycoint.com
Thu Jul 27 00:39:02 PDT 2017


Thanks Lewis, I'm by no means an expert either, hence reaching out!

Our build process for this installer actually already generates transforms but does not embed them. (I actually have another installer in our build that does the whole embed the transform). However to generate these transforms it still has to compile the msi in each language, which is then compared to the English msi to generate the transform. I presume this is how it has to work as it was set up by someone who knew what they were doing :).

Thanks,

Chris
______________________
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Lewis Henderson
Sent: 26 July 2017 18:19
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Localised installer with very long compile times

Hi Chris,

I'm by no means an expert, and I haven't used this in production yet, but I believe you just need to relink (using light) with the proper .wxl file for each language.  You can then use torch to create a transform for the language, and then use another tool to embed the (hopefully minimal) transform in the original .msi.

This is discussed in the WiX tutorial at https://urldefense.proofpoint.com/v2/url?u=https-3A__www.firegiant.com_wix_tutorial_transforms_morphing-2Dinstallers_&d=DwICAg&c=0YGvTs3tT-VMy8_v51yLDw&r=QVRcDWM9E6OgpDOPb2IlId8bKOwsO0w0VQc_-NpMw2Y&m=i67wWQsZusnrQ6b6K9NuRuc0kXIsD5_y5ZGP-4sImS8&s=FWctXC7E-sL5aqTJpNIIGsydL5BoOl6T1N7Odl06ErI&e= .
A slightly different approach is given at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.installsite.org_pages_en_msi_articles_embeddedlang_&d=DwICAg&c=0YGvTs3tT-VMy8_v51yLDw&r=QVRcDWM9E6OgpDOPb2IlId8bKOwsO0w0VQc_-NpMw2Y&m=i67wWQsZusnrQ6b6K9NuRuc0kXIsD5_y5ZGP-4sImS8&s=x1p0HgHQQ43e1_HPmG0dpKPi9qYnhAIum6ilk1UGDjs&e= , which is the method I've tested.  This seems a bit simpler, but your mileage may vary.

I hope this is useful to you.  Good luck.

                                Lewis

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Keag, Christopher
Sent: Wednesday, July 26, 2017 12:54 PM
To: wix-users at lists.wixtoolset.org
Subject: [EXTERNAL] - [wix-users] Localised installer with very long compile times

Hi all,

I've inherited a very large installer that gets localised into 18 languages. The msi is approx. 1.1GB in size and takes ~25 minutes to compile due to it being built for each locale. Heat is used to generate the files. Is there any way to batch build the msi for multiple languages at once? I have tried doing this with PowerShell jobs and calling a different locale at each job but had no luck. Each time the .wixproj is called it seems to delete any previous output, so I may start with 4 languages being built but don't end up with 4 in the output.

Any suggestions to get compile times down are welcome.

Thanks,
Chris
______________________

Tyco Safety Products/CEM Systems Ltd.
________________________________

This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of any information contained in it. If you have received this e-mail in error, please notify the sender immediately by e-mail and immediately destroy this e-mail and its attachments.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwICAg&c=ZgVRmm3mf2P1-XDAyDsu4A&r=yAhF6NGJ7EPmZkvswZOswwnYxaueKkO53V282tTn1P4&m=ybgXQG7pXo3WBi6smNqjQ-FCQFl27RD_YFNvK7k485E&s=9kx9AyW8nXqoix88MVBVHFns6Ptl1oORYB5EI78Lzw0&e=

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwICAg&c=0YGvTs3tT-VMy8_v51yLDw&r=QVRcDWM9E6OgpDOPb2IlId8bKOwsO0w0VQc_-NpMw2Y&m=i67wWQsZusnrQ6b6K9NuRuc0kXIsD5_y5ZGP-4sImS8&s=19hDXCJlfayJRrlJM6tm24Ru4ENXvubnjaeXfS4R_P0&e=
Tyco Safety Products/CEM Systems Ltd.

________________________________

This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of any information contained in it. If you have received this e-mail in error, please notify the sender immediately by e-mail and immediately destroy this e-mail and its attachments.



More information about the wix-users mailing list