transform files embeded in a package
Posted 08 January 2010 - 14:07
I have a regular and simple installation .msi package file in English language.
My job is to update it to support of multiple languages therefore I embedded multiple different languages transforms into main .msi file.
My question: is it possible to see which transforms are embedded in a main .msi file using Orca or similar tools? And if it is possible, how can I programmaticly change one property value (more exactly: one localized string of dialog title), which is set in a transform file?
Thanks in advance.
Posted 09 January 2010 - 12:03
it is not possible to change an existing transform; you must create a new transform to change the title of the dialog. It is also possible to create a 2nd transform with the new title and apply these after the old transform.
To see which transforms are embedded into one msi, use the script wisubstg.vbs, which is included in the msi sdk or windows sdk. You'll find the script at %programFiles%\Microsoft SDKs\Windows\v7.0\Samples\sysmgmt\msi\scripts.
Inside Windows Installer 4.5
Posted 11 January 2010 - 08:02
I have another question: how and where exactly is a transform stored if transform is embedded in a .msi package?
Thanks in advance.
Posted 12 January 2010 - 10:41
I saw mentioned page before and that's works just fine for me. I use that procedure.
Actually I'm creating a .msi package with Wix utility. To make a transform file I use Wix tool torch.exe.
So my procedure is:
1. compiling source code
2. linking as many times as I have different languages
3. creating transforms
4. embedding transforms into main .msi package
5. update language information in Summary information of main .msi package.
Point 2 and 3 takes pretty long specially because transforms differ only in few strings and language code.
Well, I didn't understand how transforms works and therefore I was searching to do my job faster. I was investigating how to do some kind of hack to make all my transforms faster. In vain...
Thanks again for info.