/build/static/layout/Breadcrumb_cap_w.png

How 2 call MST in VBScript

I've got a VB Script which calls an MSI by simply "PathofMSI=". Can I add a transform to this MSI? If yes then what will be the exact syntax for calling the MST?......Plzzz HELP!!! I really need it right now.......[:o]

0 Comments   [ + ] Show comments

Answers (1)

Posted by: waterygrave 19 years ago
Senior Yellow Belt
0
Try:

Option Explicit
Dim prg1, prg2

Set prg1 = CreateObject("WindowsInstaller.Installer")
prg1.InstallProduct "msi1.MSI"

Set prg2 = CreateObject("WindowsInstaller.Installer")
prg2.InstallProduct "msi2.MSI", "Transforms=mst2.mst"
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ