[Incident]: Some users report they are unable to access the case portal. Please see this community notice for more information.

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 6

Creating a silent Install.

One of our customers has asked if we can create a silent install. I have made a silent install response file by running

setup -r -f1c:\uscan\\setup.iss

And run it by using

setup -s -f1c:\uscan\\setup.iss

I can see the setup running in task manager and indeed an MSI package which it calls that I have not yet made silent runs when expected. When Setup.exe terminates and disappears from task manager hover my product has not been installed, no files have been copied to the target dir and the product does not appear in Control Panel programs and features. Is there something else I need to do to make my installscript setup actually do anything when run in silent mode.

the response file itself looks OK it goes as follows:

[InstallShield Silent]
File=Response File
[File Transfer]
szPath=C:\Program Files\Wicks and Wilson Ltd\UScan\
Company=Wicks and Wilson Ltd

Do I have to go through my script file putting the:


// Perform silent setup actions and events.


// Perform normal setup actions and events.


Logic in and if so how do I find out where it needs to go.
Labels (1)
0 Kudos
2 Replies
Level 10

What project type are you working with (Basic MSI or InstallScript MSI)?
0 Kudos
Level 13

Since you speak of a response file, I am assuming you are making an InstallScript project.

You should only need to specify the silent mode code for any custom dialog you have created in your setup.
It has been a long time since I have worked on an InstallScript project so I forget the exact syntax but I know the help has great information on this. It is what I used years ago to fix a silent install issue.

The other thing to consider is there any message boxes that conditionally pop up in your script. You need to create an if statement so that they never show up and possibly just write to a log file.

Basically if you have any message boxes, dialogs, or another item that can appear on different operating systems from the system that you generate the log file, then the setup fails.

I do not know if any of this is true in your circumstance, but it is something to consider.

If you have just a basic MSI (which I do not think you do have since you are calling an MSI within your installer), then you do not need a response file. Here you would use a command line option for /qb and run the MSI.
0 Kudos