I am writing a script to install silently a program.
however when I am calling the
Start-Process -FilePath msiexec.exe -ArgumentList $msiArgs -Wait -NoNewWindow
From the script I have this windows pops up saying that the arguments are not properly called.
here is the portion of the code that calls the arguments variable
$msiArgs = @( "/i" "/qn" "$cheminMsi" "TRANSFORMS=$transforms" )
And if I take out the transforms part, the code works fine but I need it for a custom installation
Is there an other way of calling it ? thanks.