![]() To specify multiple transforms, separate each file name or full path with a semicolon ( ). ![]() Transforms can be specified by their filename or full path. The installer applies the transforms in the same order as they are listed in the property. To generate the transform file MNPtrans.mst from the original MNP2000.msi database and the MNP2000t.msi database you modified in Customizing an Original Database, change directories to the folder containing Gen.vbs, the original database, and the updated installer database and enter the following command line.Ĭscript.exe Gen.vbs MNP2000.msi MNP2000t.msi MNPtrans. The TRANSFORMS property is a list of the transforms that the installer applies when installing the package. Installer.OpenDatabase(Wscript.Arguments(1), 0)ĭim transform : transform = Database2.GenerateTransform(Database1, ![]() Installer.OpenDatabase(Wscript.Arguments(0), 0) Set installer = Wscript.CreateObject("WindowsInstaller.Installer") The following snippet, Gen.vbs, also illustrates the GenerateTransform method and is for use with Windows Script Host. An example of this is provided in the Windows Installer SDK as the utility WiGenXfm.vbs. You may generate a transform file by using MsiDatabaseGenerateTransform or the GenerateTransform method of the Database object.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |