I have a setup.exe file generated using installshield suite project (.issuite) file. For an admin or a general user with sufficient privileges, one of our IT admin is able t
During recording step, you will need to specify the name of .iss file. Please see the following article explaining this in detail: http://publib.boulder.ibm.com/tividd/td/framework/GC32-0804-00/en_US/HTML/instgu25.htm
UPDATE: is this your own suite? If so, you may be able to improve your silent running configuration specified in the suite settings to allow each embedded setup to run correctly in silent mode.
The switch you are using to install silently is correct, but instead of trying to run the whole suite silently, I would try to:
Extract the embedded setups and components from the suite project EXE file to a disk location (details below).
Use your deployment system - which in your case is SCCM - to install the required components in your own order whilst eliminating any unnecessary runtimes that are already on your SOE - for example Visual C++ Runtime, etc...
In order to extract the components from a suite setup.exe (or equivalent meaningful name such as InstallShield2018Premier.exe
) run this command line:
setup.exe /stage_only
You have to specify an output location, and the extracted contents from your suite EXE will be put there, and crucially it will also download any components set to be downloaded off the Internet to the staging folder.
The feature to download components from the Internet is not compatible with corporate deployment via deployment system such as SCCM - any attempts to access the Internet will fail for an EXE run via SCCM.
This Internet download issue could very well be the problem you experienced, but there is no way to tell without a proper log file. Did you create a proper log file by running the suite with the /log
switch?
See the full list of available command line switches for suite projects here: Advanced UI and Suite/Advanced UI Setup.exe Command-Line Parameters.
The embedded setups - now extracted - could be of various types - each with its own way of installing silently depending on what technology they were made with. Details below.
The below became way too long - I believe the above information should suffice to get the job done in your case, but I will leave the content below in case it is helpful. Maybe it will be useful later for others:
Just for the record: setup.exe
files can be a lot of different things. There are some observations about it here: How can I use powershell to run through an installer? It can be an Installshield setup or suite, an Advanced Installer setup or suite, a proprietary setup file from "any vendor", a self-extracting archive (maybe zip based), a WiX Burn bundle, an Inno setup - or any number of other types of executable usually created by some sort of deployment tool, but they can also be entirely proprietary and essentially just be regular Windows portable executable files.
Installshield Suite Projects are capable of installing several installers - of various types - in sequence. MSI files, legacy installers, custom runtime installers, etc...
Suites are wrapped in setup.exe
files (or an equivalent meaningful EXE name such as InstallShield2018Premier.exe
), but they feature a different set of command line switches than normal setup.exe
files from Installshield (which contain a single product to install).
setup.exe /stage_only
Apart from suite projects, Installshield-built setup.exe files has a number of additional flavors. An Installshield setup.exe
can also be:
These different setup.exe flavors have similar command lines and they differ quite a bit from the command lines for suite files (explained above). I believe there are some variations for the command line for different versions of Installshield, but here is the documentation for the most recent version of Installshield as of now - which is Installshield 2018: Setup.exe and Update.exe Command-Line Parameters.
So now we have many different types of setup.exe files delivered by Installshield. We have the suite project setup.exe - which is really a bundle of setup files to run in sequence - and not a single Installscript setup at all. Then we have legacy Installscript setup.exe files that are not based on Windows Installer, but are old-school installers that are more and more rare to see made with Installshield. And finally there are two flavors of setup.exe file that are Windows installer related: Installscript MSI and Basic MSI. Now, how can you install these different setup.exe files in silent mode?
Installshield suites
A suite setup.exe can be deployed silently using the installation switch you have already tried: setup.exe /silent
. But as stated above it may start pulling components down from the Internet. This is unsuitable for corporate deployment. Not at all recommended to try - unless you are a home user or a small office with no deployment solution.
Installscript (non-MSI)
You can run legacy setup.exe
files silently by recording a response file with setup.exe /r
and then you run the install silently with setup.exe /s
. There are some detailed samples for how to do this here.
Installscript MSI
Installscript MSI setup.exe files are handled the same as legacy Installshield setup.exe files. See the above commands and links.
It used to be that you needed to add an /SMS switch
when deploying via a deployment system to ensure the setup.exe didn't exit prematurely. According to the 2018 Installshield documentation this switch is no longer needed.
It is possible to extract the embedded MSI file from an Installscript MSI and install it without a setup.exe launcher. This is a little more involved. Some details here.
Basic MSI
Basic MSI setup.exe files contain MSI files that are capable of running silently without a response file. It is generally better to perform an administrative image of such a setup.exe to extract the embedded MSI and deploy that MSI directly instead of using the setup.exe wrapper.
So for Basic MSI setup.exe wrappers you can either 1) extract files from the embedded MSI by running and administrative image on our setup.exe - the command for this is setup.exe /a
(here is a more general description of administrative installations) , or you can 2) pass installation parameters to the embedded MSI file by specifying the /v
parameter to the setup.exe: Setup.exe /s /v"/qn INSTALLDIR=D:\Destination"
.
Check the full Setup.exe and Update.exe Command-Line Parameters.
Here is an answer with details on how to extract content from various setup.exe files: Programmatically extract contents of InstallShield setup.exe.
Essentially you use setup.exe /stage_only
for suite executables. And setup.exe /a
for Basic MSI and Installscript MSI executables. And setup.exe /s /extract_all
for legacy Installscript executables.
If you have a setup.exe installer that is just not cooperating, try launching it, wait for its first setup dialog to appear, and then look for extracted files in the temp folder.