What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » How to make this tutorial Vista'fied. (Running a program as a Service)

How to make this tutorial Vista'fied. (Running a program as a Service)
Author: Message:
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
O.P. How to make this tutorial Vista'fied. (Running a program as a Service)
http://www.teamxlink.co.uk/forum/viewtopic.php?t=13010

That forum thread shows how to make XlinkKai (Xbox Tunneling Program, but thats not the point) run as a service.

I wanted to know if there are any differences in instructions, because I tried getting the Resource Kit, but when I installed it said there are compatibility issues.

Maybe there is some different Services setup in Vista, I dont know, but thats what you guys help for ;-).

Thanks,

SonicSam

This post was edited on 03-29-2007 at 03:35 AM by prashker.
03-29-2007 03:34 AM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: How to make this tutorial Vista'fied. (Running a program as a Service)
That's the dodgiest, most long-winded way I have ever seen to install a service, why not just use Windows' built-in service control manager?

code:
sc create "Xlink Engine" binPath= "C:\Program Files\XLink Kai Evolution VII\kaiLaunch.exe" start= auto
This will create the service and make it automatically start when you logon.
code:
sc start "Xlink Engine"
This will make it start immediately instead of you having to restart to make it auto-start.

This will work on every NT-based version of Windows afaik.
03-29-2007 07:29 AM
Profile PM Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
O.P. RE: How to make this tutorial Vista'fied. (Running a program as a Service)
I tried what you said but all I get is this.

quote:
C:\Users\SonicSam>sc create "Xlink Engine" binPath= "C:\Program Files\Xlink Kai Evolution VII\kaiLaunch.exe" start=auto
DESCRIPTION:
        Creates a service entry in the registry and Service Database.
USAGE:
        sc <server> create [service name] [binPath= ] <option1> <option2>...

OPTIONS:
NOTE: The option name includes the equal sign.
      A space is required between the equal sign and the value.
type= <own|share|interact|kernel|filesys|rec>
       (default = own)
start= <boot|system|auto|demand|disabled|delayed-auto>
       (default = demand)
error= <normal|severe|critical|ignore>
       (default = normal)
binPath= <BinaryPathName>
group= <LoadOrderGroup>
tag= <yes|no>
depend= <Dependencies(separated by / (forward slash))>
obj= <AccountName|ObjectName>
       (default = LocalSystem)
DisplayName= <display name>
password= <password>

C:\Users\SonicSam>

03-29-2007 11:28 AM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: How to make this tutorial Vista'fied. (Running a program as a Service)
maybe:
quote:
C:\Users\SonicSam>sc create "Xlink Engine" binPath= "C:\Program Files\Xlink Kai Evolution VII\kaiLaunch.exe" start=auto
DESCRIPTION:
        Creates a service entry in the registry and Service Database.
USAGE:
        sc <server> create [service name] [binPath= ] <option1> <option2>...

OPTIONS:
NOTE: The option name includes the equal sign.
      A space is required between the equal sign and the value.

(...)
?

PS: if it works, post it in that other thread on that forum ;)

This post was edited on 03-29-2007 at 12:40 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-29-2007 12:28 PM
Profile PM Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
O.P. RE: How to make this tutorial Vista'fied. (Running a program as a Service)
Woops didnt see that (a).

[SC] CreateService SUCCESS

:cheesy:

Thanks ;-).

* prashker posts new thread there.

edit:

C:\Users\SonicSam>sc start "Xlink Engine"
[SC] StartService FAILED 1053:

The service did not respond to the start or control request in a timely fashion.

This post was edited on 03-29-2007 at 11:02 PM by prashker.
03-29-2007 10:54 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On