So far we used the following statement to install an EBF in silent mode:

SA16_Windows.1600_2043_EBF  /l:1033 /s "/v:/qn"

But the SQLA 16 EBF is not reacting to this and is still displaying dialogs.

Any advice?

asked 12 Feb '15, 08:33

Martin's gravatar image

Martin
8.6k116151237
accept rate: 14%


The file SA16_Windows.1600_2043_EBF.exe is actually a self-extracting EXE which requires its own silencing switch as well as a switch to pass arguments to the EXE it is going to launch.

So the correct command is as follows:

SA16_Windows.1600_2043_EBF.exe /s /a /s /l:1033 "/v: /qn"

where,

  • the first /s silences the self-extracting EXE,
  • the /a tells the self-extracting EXE that everything that follows is to be passed to the EXE it is going to run (setup.exe in this case),
  • the second /s silences setup.exe,
  • /l:language_code is the language to run the install in,
  • /v: tells setup.exe to pass the remainder of the command line to msiexec.exe
  • /qn silences msiexec.exe.
permanent link

answered 12 Feb '15, 12:01

Bill%20Allwright's gravatar image

Bill Allwright
30137
accept rate: 50%

I didn't know about this - sounds great!

I have three questions:

  1. Where is this documented?
  2. How do you specify the license key?
  3. Is there a corresponding mechanism for Linux?

Any help would be much appreciated.

(13 Feb '15, 11:22) Terry Wilkinson
Replies hidden

As to your questions:

  1. Confine this page: Silent installs using the SQL Anywhere installer . - Note, it does not explicitly tell that the EBF setup does not directly support the usual flags but does need a separate /s option. The doc page does tell something possible similar:

    "The setup.exe in the command above is the one located in the same directory as the SQLANY32.msi and SQLANY64.msi files. The setup.exe in the parent directory of those files does NOT support silent installs."

  2. Within the "/v: ...." option you can include a REGKEY=<yourkeyhere> property to specify license keys - cf. the cited page.

  3. I don't know, however, the mentioned page does tell that this feature does only work on Windows.

(13 Feb '15, 12:32) Volker Barth

How all these features of SQL Anywhere, InstallShield and Msiexec.exe fit together is an exercise for the reader :)...

Silent installs using the SQL Anywhere installer

Setup.exe and Update.exe Command-Line Parameters

Advanced Installer User Guide

(13 Feb '15, 12:38) Breck Carter

I'm in Ubuntu World at the moment, so manual installs it is for now :-(.

But thanks to both Volker and Breck for the references!

(13 Feb '15, 17:45) Terry Wilkinson
2

Terry:

  1. Unfortunately, it isn't documented. The documentation team has been made aware of this.
  2. You wouldn't need to supply a REGKEY for an EBF install. You would for a first-time install and as Volker pointed out that would go inside the quotes as in: "/v: /qn REGKEY=<your_key>". This is also where you would specify directories and feature selection etc. (That much is documented!)
  3. Silent installs are support on Linux. After untaring, run setup with the -ss switch. This works for first-time and EBF installs. For example: ga1600/setup -ss -I_accept_the_license_agreement -d $HOME/sa16_test -k <your_key> -name <your_name>
(13 Feb '15, 18:22) Bill Allwright
Replies hidden

Bill - thanks, I'll run a Linux test using your suggestions. BTW, in your Linux example above, did you mean -ss or -s?

(15 Feb '15, 14:31) Terry Wilkinson
1

UPDATE: I'm using the developer edition; unfortunately, it seems that it cannot be installed in silent mode. Oh well...

(05 Aug '15, 11:10) Terry Wilkinson
Comment Text Removed
showing 4 of 7 show all flat view
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×88
×41

question asked: 12 Feb '15, 08:33

question was seen: 1,115 times

last updated: 06 Aug '15, 07:16