The specified value 'Install' is invalid SQL Server 2014 Service Pack 1 - sql

I have a project that installs an SQL server using a command line string. The string worked fine of SQL Server 2012 Express but now I am trying the same string using SQL Server 2014 Express Service Pack 1 and the installation fails and I receive this error in the summary log.
My command:
SQLServer2014SP1-KB3058865-x64-ENU.EXE /qs /ACTION=Install
/FEATURES=SQL /INSTANCENAME="CLIMET01"
/SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS"
/SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE"
/TCPENABLED="1" /IACCEPTSQLSERVERLICENSETERMS
Error:
The specified value 'Install' is invalid. To run in unattended mode, you must specify a valid ACTION. The valid values for ACTION are: ' None RemovePatch Uninstall Install Upgrade Patch Repair LandingPage ClusterReport RunRules PrepareFailoverCluster CompleteFailoverCluster InstallFailoverCluster RemoveNode AddNode EditionUpgrade Bootstrap ComponentUpdate Help RebuildDatabase RunDiscovery PrepareImage CompleteImage ConfigureImage'
HResult : 0x858c000d
FacilityCode : 1420 (58c)
ErrorCode : 13 (000d)
Data:
SQL.Setup.FailureCategory = InputSettingValidationFailure
actionValue = Install
Any ideas? Thank you!

You are not installing SQL Server Express but a service pack "upgrade package", hence Install is probably invalid. Try using Upgrade or Patch
See: https://www.microsoft.com/en-us/download/details.aspx?id=46694
Microsoft SQL Server 2014 SP1 Update - this package contains the
Microsoft SQL Server 2014 Service Pack 1 update to be applied to
existing SQL Server 2014 installations.
See also: https://blogs.msdn.microsoft.com/samlester/2015/05/26/sql-server-2014-service-pack-1-unattended-setup-error-the-specified-value-upgrade-is-invalid/
Try this link for installation files:
https://www.microsoft.com/en-us/download/details.aspx?id=53167

Related

Silent installation SQL Server Express

I need to install SQL Server Express with a Silent Installation, using a configuration file. I created a configuration file, but when I execute the setup.exe and pass the file as parameter, I get the following error:
TITLE: SQL Server Setup failure.
SQL Server Setup has encountered the following error:
The specified value for setting 'MEDIALAYOUT' is invalid. The expected values are:
None
Core
Advanced
Full
Error code 0x84B40001.
My command to start the installation is:
setup.exe /configurationfile = C:\Users\desenv01\Desktop\SQL Server 2014\Configuration\ConfigurationFile.ini.
Could anyone help me?

Silent Install of SQL Server Express 2012 from Inno Setup

I am trying to install SQL Server Express 2012 silently from my application installer created using Inno Setup. When running the following command from the command line, SQL Server Express 2012 is installed as I want only showing progress of the install but not allowing the user to enter any input.
Command line command that works:
C:\Users\Jason\Desktop>SQLEXPR_x86_ENU.exe /ACTION=Install /INSTANCENAME=MYINSTANCE /INSTANCEID=MYINSTANCE /QS /HIDECONSOLE /INDICATEPROGRESS="False" /IAcceptSQLServerLicenseTerms /SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" /SQLSYSADMINACCOUNTS="builtin\administrators" /SKIPRULES="RebootRequiredCheck"
In order to do this from my Inno Setup script I have the following code:
Exec(installName,
'/ACTION=Install /INSTANCENAME=MYINSTANCE /INSTANCEID=MYINSTANCE /QS /HIDECONSOLE /INDICATEPROGRESS="False" /IAcceptSQLServerLicenseTerms /SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" /SQLSYSADMINACCOUNTS="builtin\administrators" /SKIPRULES="RebootRequiredCheck"',
'',
SW_SHOW,
ewWaitUntilTerminated,
ResultCode);
where installName = SQLEXPR_x86_ENU.exe
When run from the Installer the SQL Server Express 2012 installer starts but after the first information dialog it then shows the SQL Server Installation Center window and the user has to select the type of installation before the installer continues. They also have to agree to the license agreement which was not required when running directly from the command line.
Any ideas on how to run the installer silently from Inno Setup?
change from "BUILTIN\Administrators" to "BUILTIN\Users" will be fine.
The problem is probably with passing command line params to SQLEXPR_x86_ENU.exe
If you run extracted SQL setup.exe with your command linie all should be OK. But if you pass a command line through SQLEXPR_x86_ENU.exe it first extracts installer and then runs it with modified command line - one pair of quotation marks "" is removed (or rather it passes only first string as params). That's why whole command line params for setup.exe should be placed in additional quotation marks ""
Your command line should looks like this one (starts with ' and " and finishes with " and'):
'"/ACTION=Install /INSTANCENAME=MYINSTANCE /INSTANCEID=MYINSTANCE /QS /HIDECONSOLE /INDICATEPROGRESS="False" /IAcceptSQLServerLicenseTerms /SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" /SQLSYSADMINACCOUNTS="builtin\administrators" /SKIPRULES="RebootRequiredCheck""'

SQL Server 2008 Express Prerequisite fails

I have an application which has SQL Server 2008 Express as a prerequisite.
The installation fails in Windows 8 Pro however with the following error message:
Installing using command
'C:\Users\Ranjith\AppData\Local\Temp\VSD26C2.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
and parameters '/q /hideconsole /action=Install /features=SQL
/instancename=SQLEXPRESS /enableranu=1 /sqlsvcaccount="NT
Authority\Network Service" /AddCurrentUserAsSqlAdmin
/skiprules=RebootRequiredCheck' Process exited with code -2068643839
Status of package 'SQL Server 2008 Express' after install is
'InstallFailed'
What does the exit code -2068643839 mean?
NOTE: Tried posting in social.msdn.microsoft.com with not much responses.

How to Silently Install SQL Server 2008 Express In InstallShield 2010

I use InstallShield 2010 to create my setup.
My program needs SQL Server 2008 Express. So I added "Microsoft SQL Server 2008 Express SP1 (x86)" in the redistributables section.
Then in "Edit Prerequisites" => "Application To Run" tab, I insert this statement in a textbox:
SQLEXPR32_x86_ENU.exe /qs /ACTION=Install /FEATURES=SQLENGINE /INSTANCENAME=MSSQLSERVER
/SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSVCPASSWORD="YesYes"
/SQLSYSADMINACCOUNTS="Builtin\Administrators"
/AGTSVCACCOUNT="NT AUTHORITY\Network Service" /IACCEPTSQLSERVERLICENSETERMS=true
http://i46.tinypic.com/a0a343.jpg
But when I run the setup, after some minutes I see this message and SQL Server 2008 Express isn't installed.
http://i50.tinypic.com/2krcr9.jpg
Now how can I completely install SQL Server 2008 Express in silent mode?
[UPDATE]
Problem Solved:
I Do 3 Steps To Solved My Problem:
1- Restart My Computer
2- Delete "/IACCEPTSQLSERVERLICENSETERMS=true" From Statement
3 - Delete /SQLSVCPASSWORD="YesYes" From Statement
I am not sure /IACCEPTSQLSERVERLICENSETERMS requires a boolean value at all?... I just include the statement, without a parameter value and it works.
After several hour trying,I have done it:
1.In InstallShield2010,Go to:"Installation Designer" Tab->Application Data->Redistributable
2.Find the “Microsoft SQL Server 2008 Express SP1 (x86 & x64Wow)” from the list and right click on it and click on "Edit Prerequisite" .
3.In “Application to Run” write:
/qs /INSTANCEID=”SQLEXPRESS” /ACTION=”Install” /FEATURES=SQLENGINE /INSTANCENAME=”SQLEXPRESS” /SQLSVCACCOUNT=”NT AUTHORITY\SYSTEM” /SQLSYSADMINACCOUNTS=”Builtin\Administrators” /ADDCURRENTUSERASSQLADMIN
in “Specify command line for the application”.
For more information,Please take a look at:
http://www.hadirobati.com/wpEn/silent-install-of-sql-server-2008-express-in-installshield/

I Need Assistance with executing an SSIS package

I've tried with this for over 48 hours and no luck. I then create a simple package, one FTP task to download text files. I deployed the package using the option "SQL Server Deployment". I see the package in SSIS but when I try to run from command line with the command
dtexec /ser svrprod05 /sq Package
I get the error
Microsoft (R) SQL Server Execute Package Utility
Version 9.00.3042.00 for 32-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 10:56:39 PM
Could not load package "Package" because of error 0xC0014062.
Description: The LoadFromSQLServer method has encountered OLE DB error code 0x80
004005 (Login timeout expired). The SQL statement that was issued has failed.
Source:
Started: 10:56:39 PM
Finished: 10:56:55 PM
Elapsed: 15.625 seconds
I tried passing a username and password of the following
1. Local Administrator
2. Domain Administrator
3. Ent Administrator
4. SQL Server SA
My original objective is mentioned here. I don't know what else to try.
In my view SSIS is programming - every time something needs to be done in SSIS in our company a programmer is called to do it.
Here are a few things to try.
Try 1:
Add
127.0.0.1 crl.microsoft.com
to the hosts file on the server.
Try 2:
providing the db_dtsoperator role to the executing user
Try 3:
Make sure you are not using the 32 bit version of DTExec on a 62 bit OS.