Run MSI with Transform

garryshape used Ask the Experts™
I used Adobe Customization Wizard to create a transform file for Adobe Reader 9. The reason is that if you try to upgrade Adobe Reader 9.1 or 9.2 clients with the MSI of 9.3.3, it says the product is already installed.

However if you call the MSI with a transform that enables updating (in the transform file) then it's supposed to work.

I cannot seem to call the MSI with the transform in a vbscript or batch command though for some reason.
The MSI and transform file are on a \\network share in the same folder.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Meir RivkinFull stack Software Engineer

can u post the vbscript code u used?
i'll test it and modify it to make it work.
Tech Lead (Windows), Endpoint Device Management Services
Hi garryshape,

Please see the commandline samples below.  

hope this helps,

::  Batch file sample - assumes your mst is called AcroRead.mst
::  Change /qb for /qn to make it completely silent

msiexec /i "Full\Path\To\AcroRead.msi" TRANSFORMS="Full\Path\To\AcroRead.mst" ALLUSERS=1 /norestart /qb
@Echo Adobe Reader Installation returned: %ERRORLEVEL%


'# VBScript sample - assumes your mst is called AcroRead.mst
'# change /qb for /qn to make it completely silent

Set wshShell = CreateObject("WScript.Shell")
ret = wshShell.Run("msiexec /i ""Full\Path\To\AcroRead.msi"" TRANSFORMS=""Full\Path\To\AcroRead.mst"" ALLUSERS=1 /norestart /qb", 1, True)
MsgBox "Adobe Reader install returned: " & ret

Open in new window


Yes, it works great.
I was able to add in a command to uninstall first then install new one with transform.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial