on 2011 Nov 17 4:45 PM
I am trying to create a batch process to upgrade from 12.0.0.2483 to 12.0.1.3152 that is the recommended build from the Check for Updates option.
Based on the example on the documentation below, the process does start, the files got extracted from the exe but, after the "Computing space requirements" screen is closed, a next dialog screen displays and waits for user intervention with: Click Update to apply the Maintenance Release. Click Cancel to quit.
d:\\software\\sqlanywhere\\setup.exe /l:1033 /s "/v: /qn REGKEY=[..snip..] INSTALLDIR=c:\\sa12"
I already tried replacing /qn with /quiet and with /passive and those options didn't seem to make any difference.
Is anyone using a different set of parameters to launch unatended EBF installations?
There is a setup.exe and supporting setup files inside of SQLAnywhere1201.exe. To run the silent install you must unpack these files and run that setup.exe.
One way to get the unpacked install is to,
Alternatively, many compression utilities will also allow you to directly extract the the files from SQLAnywhere1201.exe.
Now you should be able to use the unpacked setup files with the command you list above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I started the SQLAnywhere1201.exe and was able to copy all the extracted files to another folder as you suggested. I then ran the extracted setup.exe using the statement below.
The Windows Installer screen displayed with the available options so the process didn't start as I would expect.
e:sqlany12setup.exe /l:1033 /s "/v: /qn REGKEY=1DFA77E6-91B2-4DCC-B8BE-98EA70705D39 INSTALLDIR=%SQLANY12%"
Any thoughts?
Just to make sure I was not overlooking something I extracted the files using an utility this time (Universal Extractor) and had the same results as in my previous attempt with the files from the temp folder.
The update process seems to start but after a few seconds only the Windows Installer screen displays.
FWIW, may a MSI created with the builtin "Deployment Wizard" be an alternative for you?
As a regular MSI package, that can be used both for attended and unattended installations.
I was able to figure out the reason of my issues with the batch file to silently launch the EBF setup.exe file.
Since users can install SA 12 under any local folder, I had to use the SQLANY12 environment variable to get the root path during an EBF install.
As the default target location for SA12 is the C:\\Program Files\\SQL Anywhere 12 folder, the spaces were causing the Windows Installer to always fail. This would not be the case had I used c:\\sa12 or something similar as the target path.
After the INSTALLDIR parameter was properly escaped, the batch statement ran fine and the EBF was properly installed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you mean escape the quotes? Interior quotes are escaped with a backslash. There are some examples in the silent install doc.
User | Count |
---|---|
69 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.