title: Silently install InstallShield EXE file with PowerShell
body: <p>I have exe file created with InstallShield 2018 Express Edition. I need to create PowerShell script that will silently install that exe on different computers.</p>
  
  <p>I have tried all the options I found on google and nothing works. 
  I tried to generate setup.iss answer file with command <code>setup.exe /r</code> and <code>setup.exe /r /f1'-path'</code> and that didn't worked. I could not get that file.</p>
  
  <p>Commands I tried: </p>
  
  <pre><code>setup.exe /s /v /qn
  setup.exe /s /v "/qn"
  setup.exe /s /v /qb 
  setup.exe /q /norestart
  setup.exe /qb /norestart
  setup.exe /passive
  </code></pre>
  
  <p>I converted exe into msi and tried with <code>msiexec</code> but that did not work too.</p>
  
  <p>The problem with all this commands is that UI keeps popping up and I need to click all the buttons to complete the install.</p>
  
  <p>I found also that silent install could be disabled for particular exe.
  The exe file I use is created with InstallShield project in Visual Studio 2017, so I went to create new build with Silent Install Switch included but I wasn't able to find that option.</p>
  
  <p>The way I partly succeeded is with </p>
  
  <pre><code>setup.exe /a
  </code></pre>
  
  <p>then UI is prompted, I click all the buttons and some setup.msi file with size of 1.6mb is generated (setup.exe is 270mb). The app doesn't get installed.</p>
  
  <p>Running that <em>setup.msi</em> of 1.6mb with <code>msiexec</code> command successfully installs app silently on computer where that msi is generated.
  The problem is that setup.msi can not be used on other computers.</p>