Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 17 total
Thread Using InstallShield Express to Setup DBSvr
Tue, May 23 2006 3:20 PMPermanent Link

"Johnnie Norsworthy"
Anyone using InstallShield Express (older Delphi bundled version) to install
DBSvr?

I am trying to figure out what I need to setup to have the DBSvr run on a
server without a user logged in. Of course the installation will be done
with administrative rights.

I just did a test install at a customer site and when the user logged off,
the server was removed.

I want to see the DBSvr icon in the system tray for any user logged into the
server.

Thanks for any help,

Johnnie

Tue, May 23 2006 3:59 PMPermanent Link

Stuart Kelly
Hi Johnnie,

>
> Anyone using InstallShield Express (older Delphi bundled version) to
> install DBSvr?
>
> I am trying to figure out what I need to setup to have the DBSvr run
> on a server without a user logged in. Of course the installation will
> be done with administrative rights.
>

You need to install the server as a Windows service.

See the 'Database Servers Provided with DBISAM' on this page:

http://www.elevatesoft.com/dbisam4d5_configuring_starting_server.htm

--
Stuart Kelly
mode software
Tue, May 23 2006 4:11 PMPermanent Link

"Johnnie Norsworthy"
"Stuart Kelly" <stuart.kelly@bleep-holdings.co.uk> wrote in message
news:396FD2C6-BA95-4FD2-B441-83BF28C16A0D@news.elevatesoft.com...
>> Anyone using InstallShield Express (older Delphi bundled version) to
>> install DBSvr?
>>
>> I am trying to figure out what I need to setup to have the DBSvr run
>> on a server without a user logged in. Of course the installation will
>> be done with administrative rights.
>>
>
> You need to install the server as a Windows service.
>
> See the 'Database Servers Provided with DBISAM' on this page:
>
> http://www.elevatesoft.com/dbisam4d5_configuring_starting_server.htm

Can the process be automated as a part of an install program?

When I open a command prompt and type the following:
DBSvr /install

I get a series of endless message boxes stating:
"Cannot perform this operation when the engine is not active"

So, I need to start the server, then do the /install command afterward?

Will this produce the desired result of keeping the server running when the
current user logs off after the install or when the server machine is first
started and no user is logged in yet?

What can I check (registry?) to make sure the setup does everything
correctly?

Thanks,
Johnnie

Tue, May 23 2006 4:39 PMPermanent Link

Stuart Kelly
Hi Johnnie,

> Can the process be automated as a part of an install program?

Yes

>
>
> When I open a command prompt and type the following:
> DBSvr /install
> I get a series of endless message boxes stating:
>"Cannot perform this operation when the engine is not active"
>
> So, I need to start the server, then do the /install command afterward?
>

Are you using the supplied server exe or your own?
Do you have a dbsrvr.ini file in the same folder as the server exe.

You need to do install the server as as ervice first, then start it.

dbsrvr.exe /install
net start dbsrvr


>
> Will this produce the desired result of keeping the server running when the
> current user logs off after the install or when the server machine is first
> started and no user is logged in yet?
>

Yes, services start before the login dialog is displayed.  
They can also be run as diffrent users with higher privileges.

>
> What can I check (registry?) to make sure the setup does everything
> correctly?
>

It should be possible, but I'm not sure what registry keys services use.
Have a look in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\

For testing you can use the Services under 'Administrative Tools' on the 'Control Panel'.
This shows all the services running on a machine.

--
Stuart Kelly
mode software

Tue, May 23 2006 4:44 PMPermanent Link

Stuart Kelly
Hi Johnnie,

Another quick question, have you tried Inno Setup?

http://www.jrsoftware.org/isinfo.php

Its free for commercial and personal use, Elevate use it for DBISAM installers.

Regards,

--
Stuart Kelly
mode software

Tue, May 23 2006 5:17 PMPermanent Link

"Johnnie Norsworthy"
"Stuart Kelly" <stuart.kelly@bleep-holdings.co.uk> wrote in message
news:19F12470-7C7E-4009-858F-926344B9967D@news.elevatesoft.com...

> Another quick question, have you tried Inno Setup?
>
> http://www.jrsoftware.org/isinfo.php

I need a single EXE install to be run from the web. I didn't see on the web
site if Inno can do that.  InstallShield works, I just have to make sure I
cover all the bases.

-Johnnie

Tue, May 23 2006 5:28 PMPermanent Link

"Johnnie Norsworthy"
"Stuart Kelly" <stuart.kelly@bleep-holdings.co.uk> wrote in message
news:DE5666BE-2966-4462-BEEB-BE6683F6FADC@news.elevatesoft.com...
>> When I open a command prompt and type the following:
>> DBSvr /install
>> I get a series of endless message boxes stating:
>>"Cannot perform this operation when the engine is not active"
>>
>> So, I need to start the server, then do the /install command afterward?
>>
>
> Are you using the supplied server exe or your own?
> Do you have a dbsrvr.ini file in the same folder as the server exe.

My own, it is a slightly modified version. I don't have an INI file. I set
all program specific settings in code at startup. I'll have to check to see
if any of my changes are causing the endless message boxes to pop up, but I
don't think I did anything that affected anything functional.

I did see the service appear in the registry now that I know where to look.
Thanks.

I'll test it on a couple of local machines and make sure all is well before
distribution.

-Johnnie

Tue, May 23 2006 6:20 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Johnnie,

<< When I open a command prompt and type the following:

DBSvr /install

I get a series of endless message boxes stating:

"Cannot perform this operation when the engine is not active" >>

It sounds like you changed something that is preventing the engine from
starting properly (setting TDBISAMEngine.Active to True).  Can you activate
the engine component on the dbsrvr.dpr's main form at design-time ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, May 23 2006 6:26 PMPermanent Link

"Johnnie Norsworthy"
"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:74C03B83-3BEB-4038-9B3D-5D16B09D5733@news.elevatesoft.com...
> Johnnie,
>
> << When I open a command prompt and type the following:
>
> DBSvr /install
>
> I get a series of endless message boxes stating:
>
> "Cannot perform this operation when the engine is not active" >>
>
> It sounds like you changed something that is preventing the engine from
> starting properly (setting TDBISAMEngine.Active to True).  Can you
> activate the engine component on the dbsrvr.dpr's main form at design-time
> ?

No, when I try to set it true at design-time I get an A/V.

But when I start the server as a regular application it works fine.

-Johnnie

Wed, May 24 2006 5:27 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Johnnie,

<< No, when I try to set it true at design-time I get an A/V. >>

That's not right at all.  What version of Delphi are you using ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Page 1 of 2Next Page »
Jump to Page:  1 2
Image