V4.0 passing response file.iss

I’m trying to install an app that to be done silently needs to be done by a response file. When I run the code, the install starts but it’s not running silently / using the .iss file.
Installation string below:

Start-ADTProcess -FilePath "Setup.exe" -ArgumentList "-s -f1`"$($adtSession.DirFiles)\CadFirstSilentInstall.iss`"

You forgot a double quote at the end for your -ArgumentList parameter:

Start-ADTProcess -FilePath "Setup.exe" -ArgumentList "-s -f1`"$($adtSession.DirFiles)\CadFirstSilentInstall.iss`"" 
1 Like