none
Application that has a Vendor MSI / MST with a MSP

    Question

  • 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.)

    Applicaton A

    msiexec.exe /i "TEST_APP.msi" TRANSFORMS="TEST_APP.mst" /qb!

    Application B

    msiexec.exe /p "TEST_APP_SP1.msp" /qb!



    • Edited by Turn360 Tuesday, February 26, 2013 9:55 PM
    Tuesday, February 26, 2013 9:54 PM

All replies

  • Why not use the PATCH property to install the MSP in conjunction with the MSI (and MST)?

    http://msdn.microsoft.com/en-us/library/windows/desktop/aa370576(v=vs.85).aspx

    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

    Tuesday, February 26, 2013 10:36 PM
  • Another option is patching the MSI using an Administrative Install Point, then you will have an updated MSI and just need to deploy that with your MST. Depends on how your company does it's application patching.

    Wednesday, February 27, 2013 6:13 AM