I have a post on how to set InstallSheild parameters in PSADT v3. (Not v4…yet)
While the v3 function and parameter names are different, what needs to go in v4’s -ArgumentList is the same as what is shown for -parameters in PSADT v3.
Because of this v3/v4 issue, I’m going to guess:
#To Use " in the log path, InstallShield needs \" but PowerShell needs to escape the " so we end up with \`"
# NOTE: -SMS switch is for InstallShield Setup.exe to suppress error popups if an issue occurs. Otherwise InstallShield will hang
# waiting for the user to click a OK button that is not displayed because Setup.exe is running as SYSTEM!
Start-ADTProcess -FilePath "setup.exe" -ArgumentList "/s /v`"ALLUSERS=1 /qn`" -SMS"