Re: MSDE automatic install
- From: "Glenn Alcott" <galcott@xxxxxxxxxx>
- Date: Mon, 02 May 2005 21:16:16 GMT
Thanks for pointing out that the Service Manager was installed on the
startup menu. I hadn't noticed this. But it has the auto-start box
unchecked, so that's one more thing the user would have to do manually that
I'd rather avoid. Is there a way to automatically change that setting? I'd
rather have it running at startup than start it in my app.
In reading some other newsgroup posts I found out about a command-line
program called scm.exe (Service Control Manager) but I can't get it do
anything except display its help screen. Do you know anything about this?
I will look into SQLDMO, it sounds very interesting. Actually my app is
written in Delphi but it is not a problem to use the API.
Glenn
<jcarper@xxxxxxxxxxx> wrote in message
news:1115067284.845627.140910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi Glenn,
>
> The install already took care of installing the SQL Manager at Startup
> (look in your startup folder).
>
> Most of your management of the SQL Server can be done thru what is
> called the SQLDMO API. These two lines of VB\VBA code will start up
> your server.
>
> Set MySQLServer = CreateObject("SQLDMO.SQLServer")
> MySQLServer.Start True, "WINDOWS98SE", "sa", "sa"
>
> In the example above "WINDOWS98SE" is the NetBios name. If a custom
> instance was used the server name would have looked more like
> "WINDOWS98SE\MyInstanceName".
>
>
> Glenn Alcott wrote:
> > I'm the developer for a commercial application and we're planning to
> migrate
> > the database from Paradox to MSDE. I need to be able to completely
> automate
> > the install of MSDE on user's systems. As a test, I downloaded
> MSDE2000A.EXE
> > and installed it on a Windows 98 machine. The installation went fine
> and
> > that part seems simple. However, I also need it to be set up to run
> > automatically at system startup (as if "Auto-start service when OS
> starts"
> > had been checked in the Service Manager). How can I do that as part
> of my
> > installation?
> >
> > Glenn
>
.
- References:
- MSDE automatic install
- From: Glenn Alcott
- Re: MSDE automatic install
- From: jcarper
- MSDE automatic install
- Prev by Date: Re: MSDE automatic install
- Next by Date: SQL Server 2000 - Login Problem
- Previous by thread: Re: MSDE automatic install
- Next by thread: SQL Server 2000 - Login Problem
- Index(es):
Relevant Pages
|