I am trying to install an app silently with an iss file. I am getting an error code -3. I have checked online and what i wrote should work but I’m still getting that error. Any ideas ?
Launch InstallShield Setup.exe with a response file (NO MSIs inside). Force log files to the logging folder
# 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!
Execute-Process -Path "setup.exe" -Parameters "-s -f1`"$DirFile\install.iss`" -f2`"configToolkitLogDir\$installName.log`" -SMS"