Search code examples
installshield-le

Is there a way to make an Installshield 2015 installer always run silent without a command line?


I've searched all over and have not found this. I need to make an Installshield 2015 installer that just installs unattended. No next clicking, no finish button to click, just installs and closes. I don't care if it is visible or not. No using a command line switch.


Solution

  • After some experimentation i figured out a way to do it.

    1. Unload the VS installer project.
    2. Open the .isl file in your text editor of choice located in the installer projects folder
    3. Do a search for InstallUISequence
    4. Remove the following lines from the section:

      <row><td>InstallWelcome</td><td>Not Installed</td><td>1210</td><td>InstallWelcome</td><td/></row>
      <row><td>SetupCompleteError</td><td/><td>-3</td><td>SetupCompleteError</td><td/></row>
      <row><td>SetupCompleteSuccess</td><td/><td>-1</td><td>SetupCompleteSuccess</td><td/></row>
      
      • You can optionally remove this if you want no progress bar:

        <row><td>SetupProgress</td><td/><td>1240</td><td>SetupProgress</td><td/></row>
        
    5. Save the file in the text editor

    6. Reload the project in visual studio and build the file.