Another way is to use the standard utility msidb.exe from Windows
Platform SDK.
    Msidb.exe -d <your_MSI_package.msi> -r <your_transform.mst>

Hope this helps.

-- Yan

-----Original Message-----
From: Alex Shevchuk [mailto:shevc...@live.com] 
Sent: Thursday, July 02, 2009 6:51 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How to embed a transform and use during
install?

Hi David,

You can use WISubStg.vbs:

WISubStg.vbs "full path to msi" "full path to mst" TransformName

Command line for msiexec:

Msiexec /I "full path to msi" TRANSFORMS=:TransformName

At the very end of
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-par
t-7-
customizing-installation-using-transforms.aspx there is small script to
embed mst programmatically using script also.

Alex



-----Original Message-----
From: David Bartmess [mailto:david.bartm...@wallst.com] 
Sent: Thursday, July 02, 2009 8:36 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] How to embed a transform and use during install?

I've got a transform that brands the client's installer and output to
the
correct images and names, and I've seen in other blogs that I can use
the
"TRANSFORMS=:TransformName" on the command line to use an embedded
transform
file, but I can't seem to get it to work.

How do I need to do the embedding? I've tried <Binary> and <File>, but
neither seems to work, as the installation using the syntax above fails
on a
"failed to find transform file" type of error message.

Thanks for any help!

David Bartmess
Wall Street On Demand
david.bartm...@wallst.com<mailto:david.bartm...@wallst.com>
direct: 303.417.9999 x585
cell: 303.883-9117
fax: 303.444.2586

------------------------------------------------------------------------
----
--
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to