MSFN Forum: Setting a program to run as a service - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Setting a program to run as a service Trying to make a cab addon installer Rate Topic: -----

#1 User is offline   Scubar 

  • - Local Smartass -
  • PipPipPipPipPip
  • Group: Members
  • Posts: 829
  • Joined: 20-May 05

Posted 20 April 2006 - 10:40 PM

Hi

im making a silent installer for my copy of CpuIdle Extreme and i want to know how i can set it to run as a service, i checked over on there site but it tells u to use a program which u have to pay for todo it.

now i know that it can be done without using this program but i dont know what Registry Entries i need to create inorder for it to run as a service (eg path to .exe and description for showing in services.msc)

( i have set all my other reg entries for the program so that it doesnt display in the taskbar anyway and doesnt show the splash screen etc etc. )


#2 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 20 April 2006 - 11:09 PM

Use InstSrv.exe and SrvAny.exe from Microsoft, webpage here. Another webpage here with more info and a link to download.

;)

#3 User is offline   Scubar 

  • - Local Smartass -
  • PipPipPipPipPip
  • Group: Members
  • Posts: 829
  • Joined: 20-May 05

Posted 21 April 2006 - 08:07 AM

there must be a different way other than using these programs just to create a service.

i am making a silent installer for it to run from svcpack.inf so surely all i need todo is add some registry keys.

#4 User is offline   cyberpyr8 

  • IT Ninja
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 10-January 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 April 2006 - 08:14 AM

You can still do it with your installer. Just use the MS instsrv.exe and srvany.exe and create the registry keys that it requires. Then export that out and use the .reg file and the two exe's and have them as part of your install. You do need those files.

I have moved created services from one PC to another by just exporting the registry settings and copying the exe's. Doing it in an installer should work the same way.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy