Introducing the F@H Service Installer For NT/2K/XP!

Ythan

Member
Jun 5, 2001
68
0
0
The F@HSI is a simple install program which was designed to do one thing and one thing only - set up F@H as a service. I originally wrote it for my own use, but it occurred to me it might be helpful to others as well. Unlike Firedaemon, you don't have to install or run any additional programs in the background, plus it allows you to easily replicate a single configuration across multiple computers and installations. It also works with an existing F@H installation; if you already have the console client installed you don't need to reinstall it to run it as a service.

This should be considered beta quality software since I haven't done a lot of testing, but it should run more or less as advertised. I'm really interested to hear any bug reports, comments, suggestions or critisism you might have.

Download the file here.

And here's the readme:

Folding@Home Service Installer v0.2
-----------------------------------

This program was designed to help automate the task of setting up Folding@Home as a Windows service. You can use it regardless of whether or not F@H is already installed.

Version 0.2 of this installer is a beta release and may not function as intended. Please report all bugs as well as questions, comments and suggestions, to me. My contact information:

E-Mail: ythan@taconic.net
ICQ: 19412886
AIM: Ythan
MSN: ythan@taconic.net

Instructions
------------

Because Folding@Home's license agreement forbids redistribution of the F@H client, it is not included with this install. Instead, the latest version is automatically downloaded from Stanford's server during the install process. If you would rather use a different version of the client, or if you don't want to have to re-download it every time you run this install, simply get the version of the console you want and place the file "FAH3Console.exe" in the same directory as this install program. If the default name of the console is something else (i.e. FAH3.24-Console-beta2.exe) it will have to be renamed.

You will need administrative privileges to complete the install. Launch "Setup.exe". It will ask you which type of install you want to use. The options are as follows:

Quick Install:
This will install Folding@Home on your computer as a service. It will prompt you for a user name and an optional team number.

Custom Install:
This will install Folding@Home on your computer as a service. It will prompt you for a user name, an optional team number, a machine ID and optional proxy settings.

Automated Install:
This option can be used by system administrators who are installing F@H on multiple computers. It will install Folding@Home as a service, but it won't ask for any configuration information. Instead, place a valid F@H 'client.cfg' in the same directory as the install program and it will take its settings from there.

Existing Install:
This option should be used if you already have the console F@H client installed on your computer. First it will ask you to locate your existing F@H executable. Be sure to select the one called something like "FAH3Console.exe", not the one like "FahCore_65.exe". It will then set that executable up to run as a service. After you do this, remember to remove the F@H Console from your Startup group so it doesn't launch twice!

Latest Version
--------------

You can find the latest version of this program at http://www.shroomery.org/files/fahsi/

Version History
---------------

0.2
---
Fixed error where service wouldn't start.
Fixed problem configuring an existing install as a service.
Fixed problems running multiple instances of F@H on one machine.
Improved uninstall routine.
Miscellaneous bug fixes & improvements.

0.1
---
Initial beta release.
 

networkman

Lifer
Apr 23, 2000
10,436
1
0
*Edit: I was going to try the F@H service install, 'cept my boss decided to open up the necessary security on the firewall so my D2OL program would work. :Q :)
 

ProviaFan

Lifer
Mar 17, 2001
14,993
1
0
Looks great; I'll try it out a bit later. Would you mind, as long as proper credit was given to you, if a link to this was put in the Folding@Home guide that I'm making for Team AnandTech?
 

Ythan

Member
Jun 5, 2001
68
0
0
Looks great; I'll try it out a bit later. Would you mind, as long as proper credit was given to you, if a link to this was put in the Folding@Home guide that I'm making for Team AnandTech?

Of course not, please go ahead. :) If this helps F@H get on more systems I'm all for it!

Peace,

-Y
 

ProviaFan

Lifer
Mar 17, 2001
14,993
1
0
Originally posted by: Ythan
Looks great; I'll try it out a bit later. Would you mind, as long as proper credit was given to you, if a link to this was put in the Folding@Home guide that I'm making for Team AnandTech?

Of course not, please go ahead. :) If this helps F@H get on more systems I'm all for it!

Peace,

-Y
Is your file download link somewhat permanent, or should I mirror the file? Thanks. :)
 

ProviaFan

Lifer
Mar 17, 2001
14,993
1
0
Originally posted by: networkman
*Edit: I was going to try the F@H service install, 'cept my boss decided to open up the necessary security on the firewall so my D2OL program would work. :Q :)
Sorry to see you leave. :(

Anyway, I tried the service install on an existing client, but the service would fail to start. I couldn't see anything in the Folding@Home log that indicated what was going on. In the task manager, it appeared that FAH3Console.exe was running, but there was no FAHCore or anything like that. If you need any more info ("bug reports") feel free to ask. :)
 

nagger

Golden Member
Dec 26, 2001
1,429
0
0

All I can say is that the program works fine in the two W2K boxes I've experimented.

Thanks Ythan
 

Ythan

Member
Jun 5, 2001
68
0
0
I tried the service install on an existing client, but the service would fail to start.

Thanks for letting me know about this! I think I fixed the problem and I posted a new version of the program. Please let me know how it works for you!

-Y