Login to participate
Endpoint Management & Virtualization BlogsRSS

Embedded Transforms

Richard Jeffrey's picture

Since there is no tool provided with Wise Package Studio for embedding transforms in an MSI file, you can use a Windows Installer VBS to add a transform or nested database as a substorage. This process also demonstrates the use of the database _Storages table. This VBS was originally provided in the Microsoft SDK.

WiSubStg.vbs
http://www.myitforum.com/articles/6/view.asp?id=1070

Command to embed TRANSFORM in MSI file:

WISubStg.vbs "Path\File.MSI" "Path\File.MST" InternalMST

Command to run embedded TRANSFORM:

MSIExec /I "Path\File.MSI" TRANSFORMS=:InternalMST

Storing a transform in an MSI package lets you guarantee the transform is always available when the installation package is also available to the user.

Embedded transforms can be used with both unsecured and secured transforms.

This stores the transform and MSI in substorage. You can view this via a SQL call to the temporary table _Storages.