Hi,
Working on an install process where:
1) Installs SQL 2014
2) Install ODBC drivers so I can...
3) Restores a new database into SQL.
4) Install Application.
Trying to do all as a quiet install where users do not have to select anything.
Can do (1) OK.
Cannot do (2) as a silent install. I am using https://msdn.microsoft.com/en-us/librar ... .110).aspx as a guide to the parameters for a silent install.
While I have Microsoft ODBC Driver 11 for SQL Server as a Requirements / Prerequisites / Pre-install whenever I put something in the Install Command Lines (via Requirements / Prerequisites / Packages / Pre-install / Setup Files) the install of the ODBC prerequisite fails.
I can get (2) OK if I put nothing in the Install Command Lines but then have to select options during the install - this is not really a valid option for my user community.
I have tried the following in the command line:
- "msiexec /Option /quiet /passive /qn /i msodbcsql_amd64.msi IACCEPTMSODBCSQLLICENSETERMS=YES ADDLOCAL=ALL /log odbcinstall"
- "/Option /quiet /passive /qn /i msodbcsql_amd64.msi IACCEPTMSODBCSQLLICENSETERMS=YES ADDLOCAL=ALL /log odbcinstall"
- "msiexec /quiet /passive /qn /i msodbcsql_amd64.msi IACCEPTMSODBCSQLLICENSETERMS=YES ADDLOCAL=ALL /log odbcinstall"
- "/quiet /passive /qn /i msodbcsql_amd64.msi IACCEPTMSODBCSQLLICENSETERMS=YES ADDLOCAL=ALL /log odbcinstall"
- "/quiet /passive /qn IACCEPTMSODBCSQLLICENSETERMS=YES ADDLOCAL=ALL /log odbcinstall"
- <blank>
- "/qn IACCEPTMSODBCSQLLICENSETERMS=YES ADDLOCAL=ALL"
Once I have (2) done I am then struggling to get the Restore of my database using this SQL driver. (3)
I am setting up details in Server / ODBC for defining the Data sources and then using the ODBC Data Source defined in Server / ODBC in Server / SQL Databases selecting the data source from the drop down besides ODBC Data Source under Project Data Sources (assuming this is the data source defined in Server / ODBC.
Also getting message {SQL_STATE: IM002} Data source name not found and no default driver specified.
I have checked and re-checked Server details and data source names exists etc.
Help will be very much appreciated.
Thanks,
Brian
FOLLOW US
Get the latest news in Application Packaging