<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SQLAnywhere 17 client non-interactive console installation in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814395#M4845238</link>
    <description>&lt;P&gt;I don't know anything about Docker, but you might be able to do silent command-line installs, documented&lt;/P&gt;
&lt;P&gt;&lt;A href="http://dcx.sap.com/sqla170/en/html/816898fd6ce21014935d9df4a0b792a0.html"&gt;here for linux&lt;/A&gt; and &lt;A href="http://dcx.sap.com/sqla170/en/html/8168a3fa6ce21014a346e584d7ae12a7.html"&gt;here for Windows&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 26 May 2019 06:45:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2019-05-26T06:45:26Z</dc:date>
    <item>
      <title>SQLAnywhere 17 client non-interactive console installation</title>
      <link>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaq-p/13814394</link>
      <description>&lt;P&gt;I am building an environment for my project using &lt;STRONG&gt;Docker&lt;/STRONG&gt;. In order to interact with SQLAnywhere database I need &lt;STRONG&gt;PHP7&lt;/STRONG&gt; (actually for my project build with Lumen framework), &lt;STRONG&gt;SQLAnywhere 17 client&lt;/STRONG&gt; and &lt;STRONG&gt;PHP7 extension for SQLAnywhere&lt;/STRONG&gt;. I have already managed to add PHP7 and PHP7 extension for SQLAnywhere to my project using Docker. Current Dockerfile:&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;FROM php:7.3.2-fpm

WORKDIR /var/www

RUN apt-get update &amp;amp;&amp;amp; apt-get install -y libmcrypt-dev libzip-dev unzip git libjpeg-dev libpng-dev wget \\
    &amp;amp;&amp;amp; pecl install mcrypt-1.0.2 \\
    &amp;amp;&amp;amp; docker-php-ext-enable mcrypt \\
    &amp;amp;&amp;amp; docker-php-ext-configure zip --with-libzip \\
    &amp;amp;&amp;amp; docker-php-ext-configure gd --with-jpeg-dir=/usr/lib/x86_64-linux-gnu \\
    &amp;amp;&amp;amp; docker-php-ext-install mbstring pdo_mysql zip gd

# Install Composer
RUN curl -sS &lt;A href="https://getcomposer.org/installer" target="_blank"&gt;https://getcomposer.org/installer&lt;/A&gt; | php \\
    &amp;amp;&amp;amp; mv composer.phar /usr/local/bin/ \\
    &amp;amp;&amp;amp; ln -s /usr/local/bin/composer.phar /usr/local/bin/composer

# Install SQL Anywhere client
RUN wget &lt;A href="http://d5d4ifzqzkhwt.cloudfront.net/sqla17developer/bin/sqla17developerlinux.tar.gz" target="_blank"&gt;http://d5d4ifzqzkhwt.cloudfront.net/sqla17developer/bin/sqla17developerlinux.tar.gz&lt;/A&gt; -P /opt/sqlanywhere17/installation \\
    &amp;amp;&amp;amp; tar zxvf /opt/sqlanywhere17/installation/sqla17developerlinux.tar.gz -C /opt/sqlanywhere17/installation \\
    &amp;amp;&amp;amp; /opt/sqlanywhere17/installation/sqlany17/setup \\
    &amp;amp;&amp;amp; rm -rf /opt/sqlanywhere17/installation

# Install SQL Anywhere php extension
RUN curl &lt;A href="http://d5d4ifzqzkhwt.cloudfront.net/drivers/php/SQLAnywhere-php-7.0_Linux.tar.gz" target="_blank"&gt;http://d5d4ifzqzkhwt.cloudfront.net/drivers/php/SQLAnywhere-php-7.0_Linux.tar.gz&lt;/A&gt; | tar xz \\
    &amp;amp;&amp;amp; mv lib64/php-7.0.0_sqlanywhere.so /usr/local/lib/php/extensions/no-debug-non-zts-20180731 \\
    &amp;amp;&amp;amp; chown root:root /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php-7.0.0_sqlanywhere.so \\
    &amp;amp;&amp;amp; chmod 644 /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php-7.0.0_sqlanywhere.so \\
    &amp;amp;&amp;amp; rm -rf lib32 &amp;amp;&amp;amp; rm -rf lib64
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;However, I cannot install SQLAnywhere client, because installation process is interactive and I cannot input any values while installation on &lt;STRONG&gt;Docker build&lt;/STRONG&gt; (it stacks on first step of choosing "country &amp;amp; region" and keeps running constantly). Is there any non-interactive client installation? Or maybe I can pass parameters to client installation like the following:&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;./setup -parameter1 parameter1_value .... -parameterN parameterN_value
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;&lt;STRONG&gt;PS:&lt;/STRONG&gt;
This is the error I get multiple times in row, when installation script prompts me to enter "country &amp;amp; region":&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;TERM environment variable not set.
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 26 May 2019 06:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaq-p/13814394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-26T06:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQLAnywhere 17 client non-interactive console installation</title>
      <link>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814395#M4845238</link>
      <description>&lt;P&gt;I don't know anything about Docker, but you might be able to do silent command-line installs, documented&lt;/P&gt;
&lt;P&gt;&lt;A href="http://dcx.sap.com/sqla170/en/html/816898fd6ce21014935d9df4a0b792a0.html"&gt;here for linux&lt;/A&gt; and &lt;A href="http://dcx.sap.com/sqla170/en/html/8168a3fa6ce21014a346e584d7ae12a7.html"&gt;here for Windows&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2019 06:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814395#M4845238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-26T06:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: SQLAnywhere 17 client non-interactive console installation</title>
      <link>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814397#M4845240</link>
      <description>&lt;P&gt;Thank you very much, seems that it works. However, it says that registration key is required in silent mode. But in the email sent by SAP it is clearly said that "There is no key required to install the SAP SQL Anywhere 17 Developer Edition". How can I obtain a key for sa17-developer?&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2019 07:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814397#M4845240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-26T07:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: SQLAnywhere 17 client non-interactive console installation</title>
      <link>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814398#M4845241</link>
      <description>&lt;P&gt;Oh, the Developer Edition - I ran into that too and was never able to find a way around it. There doesn't seem to be a way to supply a 'blank' key.  I reported it to SAP quite a while ago (&lt;A href="https://sqlanywhere-forum.sap.com/questions/26778/how-to-do-silent-install-of-developer-edition-ie-with-no-regkey)"&gt;https://sqlanywhere-forum.sap.com/questions/26778/how-to-do-silent-install-of-developer-edition-ie-with-no-regkey)&lt;/A&gt; but it's been a long time since the Developer Edition has been updated.&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2019 07:26:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814398#M4845241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-05-26T07:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQLAnywhere 17 client non-interactive console installation</title>
      <link>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814396#M4845239</link>
      <description>&lt;P&gt;You might also be able to do a silent setup via the &lt;A href="http://dcx.sap.com/index.html#sqla170/en/html/dd0dfd40db58467b9625591f94d8a3e4.html"&gt;Deplyoment Wizard&lt;/A&gt; - I have not used that tool on Linux but it is very convenient to install client software on Windows.&lt;/P&gt;
&lt;P&gt;Note, however that redistribution of files is subject to your license agreement, and I don't know whether a Developer Edition does fit these requirements...&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 03:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814396#M4845239</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2019-05-27T03:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: SQLAnywhere 17 client non-interactive console installation</title>
      <link>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814399#M4845242</link>
      <description>&lt;P&gt;No matter what strategy or tooling used to distribute SQL Anywhere, redistribution of files is subject to your license agreement. No statements in this response override anything in your license agreement. Check your license agreement before considering deployment. &lt;/P&gt;
&lt;P&gt;As suggested by Volker, the Developer Edition license does not  permit deployment. The Silent Install is technically a deployment tool which requires a license key valid for deployment purposes. &lt;/P&gt;
&lt;P&gt;Putting a copy of the Developer Edition on a shared location for installation purposes appears to violate the licensed use.  Specifically, there would be a term that limits a single Developer Edition install to lay down one copy of each component - with a provision for copies to be used for testing purposes.   &lt;/P&gt;
&lt;P&gt;As to the Deployment Wizard, it generates a list of files to be deployed which is then used by the tar command. There are a few quirks with the tool that may require some manually editing of the generated file (to remove file references that may not exist in a given installation) - this was recently discovered and is being investigated but no fix has been completed yet. These issues can be easily worked around by editing them out of the file. Again, this mechanism to redistribute files must adhere to the license.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 12:50:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sqlanywhere-17-client-non-interactive-console-installation/qaa-p/13814399#M4845242</guid>
      <dc:creator>chris_keating</dc:creator>
      <dc:date>2019-05-27T12:50:19Z</dc:date>
    </item>
  </channel>
</rss>

