Question : Run MSI with Transform

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.

Answer : Run MSI with Transform

Hi garryshape,

Please see the commandline samples below.  

hope this helps,
Daz.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
::  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%
Pause

__________________________________________________________________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

'# 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
Random Solutions  
 
programming4us programming4us