SQL Express: is there a commandline way to set the default static port of a named instance?



Hello,

I'd like to set the default static port of a named SQL Express instance
either at install or immediately afterward from the command line. I know
how to do it using the UI tools, but I want to do this invisibly from my
installer.

I've experienced other apps that do it but can't find any docs or examples.
I half-expected to find a setup switch to go along with
DISABLENETWORKPROTOCOLS, like STATICPORT or something but no.

Is there a way to do it from sqlcmd or something similar? I don't want to
have to install additional tools just to do this either.

Thanks!

Keith


.



Relevant Pages

  • Re: SQL Express: is there a commandline way to set the default static port of a named instance?
    ... Check out the Books Online topic How to: Configure the Database Engine to Listen on Multiple TCP Ports. ... This posting is provided "AS IS" with no warranties, ... I'd like to set the default static port of a named SQL Express instance either at install or immediately afterward from the command line. ...
    (microsoft.public.sqlserver.security)
  • RE: fedora-list Digest, Vol 12, Issue 203
    ... >the Install programs app to get all the Development stuff at once. ... >Yes, I have tried running it from the command line, it just died with no ... >which defaulted to LVM use on a single drive. ... > O splendente, che vieni dalle sorgenti del Nilo, ...
    (Fedora)
  • New Debian31r1 Install - help me optimize - TNT2 - sudo - KDE - Xwindows
    ... of futzin with a new debian ... install, which was needed after a munged KNOPPIX install (I know, I ... the command 'dpkg-reconfigure xserver-xfree86' (which allowed me to ... trying to get the SOUND working yet..there's what seems to be a PCI ...
    (comp.os.linux.misc)
  • Re: Installing Net Framework Service Pack 1
    ... You *do* have a valid install of 1.1, ... We had already established that I had changed the ASP.NET tab to ... That's not a registry command. ... Here I try to enter the directory where the Net Framework 1.1 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How do I install an application using a custom component
    ... If your command is still set up to launch cmd.exe with the path to batch file you can add "pause" command there to catch the CMD ... there is a flag (Install Shiled supported) that you can add to the setup.exe ... Use the same FBA Generic command. ...
    (microsoft.public.windowsxp.embedded)