/build/static/layout/Breadcrumb_cap_w.png

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
  • 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?? - Badger 9 years ago
  • 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. - vivekjazzwal 9 years ago
  • 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 - Badger 9 years ago

Answers (3)

Posted by: anonymous_9363 9 years ago
Red Belt
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.

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
Red Belt
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?

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
Third Degree Green Belt
0
Aren't you able to extract the sql and install it separately with silent switches.  Unless I am missing something.

Thanks
AK
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ