I have successfully created the .iss file inside the installer folder. But i have a problem calling it.
Command:
$Process = [Diagnostics.Process]::Start("C:\temp\Setup.exe", "/S /SMS /f1c:\temp\abc.iss")
$Process.WaitForExit()
There is no error in logfiles, but it does not run silently.