Tearing my hair out - toolkit keeps adding transform?!

Hello All,

My SCCM deployment keeps failing with error code 0x658(1624), which is related to transforms supposedly.

When I inspect the PSADT log file, I note this error:

[Installation] :: Execution failed with exit code [1624]: Error applying transforms. Verify that the specified transform paths are valid.

I then look at the log, and see how my cmd is being interpreted:

[Installation] :: Executing [C:\WINDOWS\system32\msiexec.exe /i "C:\WINDOWS\ccmcache\1v\Files\bomgar-scc-win64.msi" TRANSFORMS="True" TRANSFORMSSECURE=1 REBOOT=ReallySuppress /QN KEY_INFO="REDACTED" INSTALLDIR="REDACTED" /L*v "C:\WINDOWS\Logs\Software\bomgar-scc-win64_Install.log"]

The problem is, nowhere in my code am I specifying to use a transforms file, my installation code is the following:

Execute-MSI -Action 'Install' -Path "$dirFiles\bomgar-scc-win64.msi" -SkipMSIAlreadyInstalledCheck 'True' -AddParameters 'KEY_INFO="REDACTED" INSTALLDIR="REDACTED"'

Any ideas why PSADT is thinking there’s a transforms file needed?

Things i’ve tried:

  • Using a fresh version of PSADT
  • Recreating my package in SCCM
  • Verifying there is no transforms file in either main dir or support dir
  • Deleting local sccm cache

Any help appreciated, I feel as though im losing my mind!

-SkipMSIAlreadyInstalledCheck is a [Switch] type. it is not a [Bool] type.
Do not add a Boolean value at the end.

'True' is not a Boolean value in PowerShell. It’s a string.

Somehow, $Transform is getting set by you using 'True' in the command line.

Try this instead:
Execute-MSI -Action 'Install' -Path "$dirFiles\bomgar-scc-win64.msi" -SkipMSIAlreadyInstalledCheck -AddParameters 'KEY_INFO="REDACTED" INSTALLDIR="REDACTED"'

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.