I have an application that has a Vendor MSI. I have created a transform (.MST) with all of our custom requirements. The Vender also supplied us with a Patch (.MSP). In 2007 I would have created Package with 2 programs and deployed with a TS. What is the best way to deploy this in CM2012? Should I create two Applications with Application B having a dependency on Application A? And only create a Deployment for Application B. Or is there a way to cram all of this into one application - I really dont want to use a batch file either. (I am currenty running CM2012 SP1.)
msiexec.exe /i "TEST_APP.msi" TRANSFORMS="TEST_APP.mst" /qb!
msiexec.exe /p "TEST_APP_SP1.msp" /qb!
- Edited by Turn360 Tuesday, February 26, 2013 9:55 PM
Why not use the PATCH property to install the MSP in conjunction with the MSI (and MST)?
The only caveat is that the path specified to the msp must be fully qualified so you'll have to put the msiexec command in a batch file and use the %~dp0 batch file parameter:
msiexec.exe /i "TEST_APP.msi" PATCH="%~dp0TEST_APP_SP1.msp" TRANSFORMS="TEST_APP.mst" /qb!
(No, there is no space or back-slash after %~dp0 as this parameter includes a trailing back-slash.)
Jason | http://blog.configmgrftw.com