setup.exe /s not working for prerequisite installation Installshield
I am trying to install jre7 and sql server 2008 R2 SP1 as prerequisite for my application.
For suppressing prerequisite dialog, i have used /s switch.
Dialog has been suppressed and java is also installed silently,however,during installation of sql server 2008 R2, GUI is opened.(silent switches are not picked from .prq file maybe)
When i install application with GUI,both prerequisites are getting installed silently as expected.
3 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
9 years ago
The SQL Server EXE calls the MSIs which you'll find on the media or in the folder that the downloaded EXE creates.
Create transforms for those and use them instead.
For JRE, I hope you've followed instructions available here to disabled automatic update and the brain-dead "Your JRE is out-of-date" (or whatever it says) prompt.
Comments:
-
i am not making any changes to sql server setup,so no need of transforms in my case.
i am installing sql sever using exe only and it get installed silently when app is running is GUI mode.
Means, switches are working correctly.
However, when launching app using /s,sql server setup gui is launched. - vivekjazzwal 9 years ago
Posted by:
anonymous_9363
9 years ago
> it get installed silently when app is running is GUI mode
"silently" and "GUI mode" are mutually exclusive terms!
"silently" and "GUI mode" are mutually exclusive terms!
I have installed countless instances of SQL Server using the MSIs. As for no requirement for transforms, you won't need them if you're going to persist in trying to use the set-up stub.
Anyway, there is much information here on deploying 2008. I presume you've not read any of that?
Comments:
-
as i mentioned already, sql server is prerequisite of my application.
So, when i launch my app normally(GUI Mode),prerequisite sql server get install silently(using installshield prq file) first then my app gui get started.
That might be the explanation of "it get installed silently when app is running is GUI mode" . - vivekjazzwal 9 years ago
Posted by:
786_ak
9 years ago
The problem you are having is when you put a /s switch on the MAIN installer, SQL no longer installs silently?? - Badger 9 years ago
silent switches which are defined in .prq files are being taken in gui case.
But when i use/s, its not working for sql server. - vivekjazzwal 9 years ago
you may need the /S /v /qn or /S /qn /V /qn depending on what type (age) of setup.exe - Badger 9 years ago