What does the -Transform do in this example

//What does the -Transform do in this example
What does the -Transform do in this example 2018-02-10T01:28:45+00:00

The Toolkit Forums General What does the -Transform do in this example

  • Author
  • Alan
    Post count: 2

    Hello everyone. New to the tool and site. When playing with the example files I wasn’t sure what -Transform does? I assume it transforms the .msi to .mst, but if so, why?

    Thank you!

    [string]$installPhase = ‘Installation’

    # Install the base MSI and apply a transform
    Execute-MSI -Action Install -Path ‘Adobe_Reader_11.0.0_EN.msi’ -Transform ‘Adobe_Reader_11.0.0_EN_01.mst’
    # Install the patch
    Execute-MSI -Action Patch -Path ‘Adobe_Reader_11.0.6_EN.msp’

  • Jim
    Post count: 54

    A transform is basically a customization file for the MSI. More info can be found here, https://msdn.microsoft.com/en-us/library/windows/desktop/aa367447(v=vs.85).aspx. So that command is just applying the customizations to the instalation.

  • JT-65
    Post count: 13

    I don’t create MSTs very often, but when I do, I usually use Orca from Microsoft. For Adobe Acrobat Reader example specifically, you’d use the Adobe Customization Wizard to create that MST.

You must be logged in to reply to this topic.