View Full Version : Starting Service during Install
NewsArchive
12-03-2007, 03:02 AM
My install successfully installs a service and sets the startup type to
"Automatic".
I can't see a way to have the service started though?
Mike
NewsArchive
12-03-2007, 03:02 AM
What I have used is...
1: create a one line batch file say, serstart.bat
containing
net start TheServicename
2: save the batch onto the destination drive
and then use SB to run it after the service is installed.
3: optionally, delete the batch file
works great.
JohnG
NewsArchive
12-03-2007, 03:03 AM
Mike,
Everything is built-in (including uninstalling services), no need to use a
batch. Go to the "Services Visualizer" (or "Create Service..." script
item). In the Advanced tab, there is a "Start Service" option (set to
"Automatic" by default).
To (Start), Stop, Remove, Pause, Resume services, you can use the "Edit
Service..." script item.
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6.6
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
12-03-2007, 03:04 AM
Thanks Friedrich.
I did all that...it installed the service just fine and sets startup to
"Automatic".
It just does not actually start the service.
The Script item in has the same options as the visualizer.
Can you clarify a little more for me?
Thanks !
Good morning!
Mike
NewsArchive
12-03-2007, 03:04 AM
Mike,
See previous post ;-)
> To (Start), Stop, Remove, Pause, Resume services, you can use the "Edit
> Service..." script item.
Does this help?
Friedrich
NewsArchive
12-04-2007, 02:34 AM
> See previous post ;-)
>
>> To (Start), Stop, Remove, Pause, Resume services, you can use the "Edit
>> Service..." script item.
>
> Does this help?
No....can you please tell me how to tell the services system to "Start" the
service?
Thank you vey much,
Mike
NewsArchive
12-04-2007, 02:35 AM
Got it.
I did not realize that you were telling me to add a script item called "Edit
Service".
As you know I have an in-bred-at-birth problem understanding the script
system. Amazing that I wrote
ClarioNET in pure Clarion hand code eh?
Anyway I added the script item after the "Create Service" script item and
will test.
Thanks,
Mike
NewsArchive
12-04-2007, 02:36 AM
> Amazing that I wrote ClarioNET in pure Clarion hand code eh?
Ah but you've slept since then Mike<g>
;-)
harles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
12-04-2007, 02:36 AM
Just wanted to confirm that the Edit Service script worked perfectly.
Thank you....sorry for the impatient attitude.
Mike
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.