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

Comments

  • so, if you install the exe in GUI mode, java and SQL are installed silently.
    The problem you are having is when you put a /s switch on the MAIN installer, SQL no longer installs silently??
  • yes... exactly...!!
    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.
  • have you checked you have the right commands...
    you may need the /S /v /qn or /S /qn /V /qn depending on what type (age) of setup.exe
Please log in to comment

Answers

0
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.
Answered 06/12/2015 by: VBScab
Red Belt

  • 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.
Please log in to comment
0
> it get installed silently when app is running is GUI mode
"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?
Answered 06/12/2015 by: VBScab
Red Belt

  • 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" .
Please log in to comment
0
Aren't you able to extract the sql and install it separately with silent switches.  Unless I am missing something.

Thanks
AK
Answered 06/12/2015 by: 786_ak
Second Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Share