Deploy MSI with MST

Hi Guys.

I’m trying to deplu an MSI file with an MST.
Well, it is very strange, sometimes works an anothers no.
The command is like this and I want to know if the MST file needs “__Download” or not:

wait "{pathname of system folder & "\msiexec.exe"}" /i "{(pathname of client folder of current site) & "\__Download\SolarWinds-Agent.msi"}" TRANSFORMS="\__Download\SolarWinds-Agent_AkerBP_A21-P1-MON004.mst" /qn

It works in 8 Servers but no in 25, OS are WS 2012, WS2016 and WS2019.

The logs are:

Command started - wait "C:\Windows\system32\msiexec.exe" /i "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\CustomSite_A21\__Download\SolarWinds-Agent.msi" TRANSFORMS="\__Download\SolarWinds.mst" /qn (action:80635)

Command succeeded (Exit Code=1624) wait "C:\Windows\system32\msiexec.exe" /i "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\CustomSite_A21\__Download\SolarWinds-Agent.msi" TRANSFORMS="\__Download\SolarWinds.mst" /qn (action:80635)

Thanks in advance and have a nice week.

It may require the 64-bit version of msiexec.
Try adding

action uses wow64 redirection false

anywhere in the actionscript before the ‘wait’ command.

1 Like

Ah, I reformatted your post to use the ‘code’ tag for the log messages and I do see an error there.
(to format as code, highlight your text and select the 'code' button </> above the editor window)

In locating your transform, the first forwardslash makes this a qualified path rather than a relative path.

TRANSFORMS="\__Download\SolarWinds.mst"

That would look for the __Download folder in the root directory of the hard drive. You need it to be relative to the working directory, so remove the forwardslash in front of __Download

Usually we could use relative paths to specify both the MSI and the MST transform. In your case for the MSI, you’re using a fully-qualified path but it’s working because you used a relevance substitution to give the full path to the MSI

"{(pathname of client folder of current site) & "\__Download\SolarWinds-Agent.msi"}"

You should have been able to specify the whole command as

wait msiexec.exe /i "__Download\SolarWinds-Agent.msi" TRANSFORMS="__Download\SolarWinds-Agent_AkerBP_A21-P1-MON004.mst" /qn

1 Like

Hi.
Sorry to answer too late to thanks to all that help me with it.

I finally resolve the installation using this BigFix Command:

wait msiexec.exe /i "/__Download\SolarWinds-Agent.msi" TRANSFORMS="SolarWinds-Agent_AkerBP_A21-P1-MON004.mst" /qn

Thanks to all again.

1 Like