Re: Setup of SQLExpess Options
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Wed, 17 Jan 2007 04:56:56 GMT
Thanks for your followup Matt,
Regarding on your recap on the requests, here is a simple summary on the
current available solutions:
Need hints for command line params - specificaly:
====================
this should be configurable through the <command> element in the
Package.xml file(of vs 2005 bootstrapper package). You can find that the
built-in SQL Express bootstrapper package's package.xml already has
specified some commandline arguments. You can refer to its syntax(or the
custom VS 2005 bootstrapper package article)
Allow tcp/ip access
==================================
The [DISABLENETWORKPROTOCOLS] parameter is used for setting the startup
type of the network protocols. It has the following 3 options:
0 - Shared memory = On, Named Pipes = On, TCP/IP = On
1 - Shared memory = On, Named Pipes = Off (local only), TCP/IP = Off
2 - Shared memory = On, Named Pipes = Off (local only), TCP/IP = On
Specify instance name (actually already have this one from existing
package.xml)
==============================
there is a "[Instancename] parameter you've already found.
Set security to be SQL only
===============================
there is a [SECURITYMODE] parameter you can use for the sqlexpress's setup
program.
You can find all the available command parameters in the following BOL
reference(it is for standard SQL Server 2005, so there has some parameters
not workable for SQL express)
#How to: Install SQL Server 2005 from the Command Prompt
http://msdn2.microsoft.com/en-us/library/ms144259.aspx#installationscripts
Also need hints for how to handle an installcondition of my instance of SQL
Express is installed.
====================================
I think this can be done through VS 2005 bootstrapper package's "Install
Check" and "Install condition" feature(mentioned in the "Authoring custom
bootstrapper package...." article). And for your scenario, if you want to
detect whether there is already an named SQL instance(with the same name as
the one you want to install), you can check the registry for such a subkey.
And the VS 2005 bootstrapper package's "Install Check" contains
"RegistryCheck" by which you can let your bootstrapper installation run
depend on some registry value.
#<InstallChecks> Element (ClickOnce Bootstrapper)
http://msdn2.microsoft.com/en-us/library/ms229432.aspx
Hope the above helps clarify it further.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- Setup of SQLExpess Options
- From: Matt F
- RE: Setup of SQLExpess Options
- From: Steven Cheng[MSFT]
- Re: Setup of SQLExpess Options
- From: Matt F
- Re: Setup of SQLExpess Options
- From: Steven Cheng[MSFT]
- Re: Setup of SQLExpess Options
- From: Matt F
- Re: Setup of SQLExpess Options
- From: Steven Cheng[MSFT]
- Re: Setup of SQLExpess Options
- From: Matt F
- Re: Setup of SQLExpess Options
- From: Matt F
- Setup of SQLExpess Options
- Prev by Date: Re: Setup of SQLExpess Options
- Next by Date: Error 1935 and ROLL back
- Previous by thread: Re: Setup of SQLExpess Options
- Next by thread: Error 1935 and ROLL back
- Index(es):
Relevant Pages
|