• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Finally, the one click install!!!

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.
Blueacid made one also:

BTW - these programs were designed to be used from a floppy disk, with subfolders "Console" (Contains FAH3Console.exe and client.cfg) and "servistl" (Contains the service installer)
Oh, and Wedo's registry file in the root directory (a:\)


Bare bones one:
Code:
@echo off
cls
c:
cd \Progra~1
md folding
cd folding
copy a:\console\FAH3con~1.exe c:\Progra~1\folding\FAH3con~1.exe
copy a:\console\client.cfg c:\Progra~1\folding\client.cfg
a:\servistl\setup.exe
echo Press any key when the service install has completed
pause
cls
regedit "a:\fah.reg"
pause
@ECHO ON

Thats the basics...

Here is the one designed for emailing to people (basically it explains everything)
Code:
@echo off
cls
echo This disk will automatically configure Folding@Home to run as a service
echo on your computer
echo You will need Administrative access to the system.
echo Also, bear in mind that the service install will only work on machines
echo running Windows XP or Windows 2000
echo This file created by Blueacid of Overclockers Forums
echo [url]http://www.oc-forums.com/[/url]
echo It will create a folder inside "c:\program echo files" entitled 'folding'
echo Then, it will copy the Console echo (FAH3Console.exe) and the config file
echo over to the computer.

echo Next, it will run the program to make folding run as a service.

echo Then, it will merge a registry file to the computer's registry, which
echo will make the Folding console take advantage of Gromac proteins (faster!)

echo All ready? (Press CONTROL+C to cancel!)
pause
cls
echo ****   C O P Y I N G   ****
c:
cd \Progra~1
md folding
cd folding
copy a:\console\FAH3con~1.exe c:\Progra~1\folding\FAH3con~1.exe
copy a:\console\client.cfg c:\Progra~1\folding\client.cfg
echo Copied.
echo Now the system will run a Windows program that will set up the computer
echo to run Folding@Home as a Service - this will make Folding@Home almost
echo invisible to the user of the computer, so they can't meddle with it
echo too much.
echo When the program gives you the four options as to how to 'set up'
echo Folding@Home, choose the bottom option of the four, for an Existing install.
echo Point the installer at c:\Program Files\folding\FAH3Console.exe
echo (or whatever looks like that)
echo Do *NOT* point it at Fah_core65.exe or anything that has the word
echo CORE in it!
echo About to run service installer 
pause
cls
a:\servistl\setup.exe
echo ****   SERVICE INSTALL RUNNING   ****
echo Press any key when the service install has completed
pause
cls
echo Now, this installer will merge some information into your registry
echo (this module courtesy of Wedo - also of Overclockers Forums.
echo Kudos to you, sir)
echo For those not up to scratch on folding terms, these settings make the
echo Folding Program take advantage of 'test' proteins, which tend to
echo improve the speed at which a computer folds the proteins, and also
echo you get more points for your work
echo For the more technically minded, this modification will make the console run
echo with the -advmethods and the -forceasm arguments.
echo About to modify settings...
echo (click OK when windows pops up messages about applying
echo the changes to the computer's registry)
pause
regedit "a:\fah.reg"
cls
echo Thats all done! If all went to plan, this system has been set up to
echo run Folding@Home automatically, as a service, with the -advmethods
echo and -forceasm arguments.

echo QUOTE - NASSoccer (Team leader of Team 32 [url]http://www.overclockers.com/[/url])
echo "
echo          FOLD ON!
echo           NAS
echo                     "
echo Please pay us a visit sometime to chat!
echo [url]http://www.oc-forums.com/[/url]
echo [url]http://folding.octeams.com/[/url]
echo Oh, and if you don't know what team number to use, a value of
echo 32 makes the computer fold faster, honest.
pause
cls
echo Oh - forgot :D You're probably looking to edit the client.cfg
echo file right now, aren't you :)
echo well, press any key to load it up.
echo Change your username appropriately (if you really really must) but
echo leave all the other settings alone unless you know what you're
echo doing........
pause
notepad c:\progra~1\folding\client.cfg

Blueacid
 
In case anyone is interested, here's my batch file I wrote for use on a managed 98 network. Basically I stuck it in the startup folder for a particular user account, so that it runs when they log on. It goes to their network space, copies the files onto the HD, starts the client running and then hides it. The 'choice' statements force it to wait for a while, just to make sure the previous step has finished running before the next starts.

Oh, and for some reason it doesn't connect properly the first time on our network, so that's why it starts the client, pauses, stops and restarts! The pause at the end is so I can make sure it's OK before I hide the client - you don't need this if you're sure it's working.

md c:\windows\temp\fah

copy N:\MyWork\fah\*.* c:\windows\temp\fah

C:\WINDOWS\TEMP\fah\HideItX.exe -starthide
c:\windows\temp\fah\FAH3Console.exe -advmethods -forceasm

choice Waiting for start /ty,8

C:\WINDOWS\TEMP\fah\HideItX.exe -stop FAH3Console

choice Closing first run /ty,5

C:\WINDOWS\TEMP\fah\HideItX.exe -starthide
c:\windows\temp\fah\FAH3Console.exe -advmethods -forceasm

choice Waiting for start /ty,5

C:\WINDOWS\TEMP\fah\HideItX.exe -ontop FAH3Console

pause

C:\WINDOWS\TEMP\fah\HideItX.exe -hide FAH3Console

exit
 
Wedo said:



Mr. $T$,

Could you post your .bat file here? Just copy and paste it, if you don't mind, as I bet there are quite a few people that would like to see it.


Wedo

Ok let me package it in a zip,


Also I am crappy with .bat files and commandlines in genreal so if any one would modify it to be more effencent then go for it.

I will make a readme for those who need it ;)
 
Thanks Mr. T, that's just what I've been looking for. I've got about a week left to borg 500+ computers at my school ;) Quick question, is Novell considered a managed network? I know each user has 5MB of space which is enough for your batch install to work.
 
is Novell considered a managed network

My school atleast uses a proxy server (Novell Also), you just have to tell the console where to send/receve WU's from,


Thanks filip
 
you owe me... now you have to fold till the end of your life with all of your machines :D:D muahahaha... next time read the fine print ;)
jk
 
filip04 said:
you owe me... now you have to fold till the end of your life with all of your machines :D:D muahahaha... next time read the fine print ;)
jk


Hmm well If I was not trying to catch orangebug I would help you :p
 
My batch file is sorta okay, but I really designed it for my own personal use in borging :D

Nice work, though, Wedo :)
 
Mr. $T$ said:



Hmm well If I was not trying to catch orangebug I would help you :p

Go ahead and help him out for a bit. I'll wait up for you, honest! :D BTW, welcome to this side of 10,000 - great job!


Orangebug
 
Blueacid said:
My batch file is sorta okay, but I really designed it for my own personal use in borging :D

Nice work, though, Wedo :)

Thanks BlueAcid. Your .bat is great, it takes all of the steps in the "How-To" and puts them into an automatic install. This is perfrect for the person just borging one W2K/XP machine at a time.

THere's going to be a huge edit done to the "How-To" this week. :D

Did anyone find a nice way to auto-install 98 and ME rigs? Reading through the thread I didn't seem to see one.

Oh, and M$ copied the Active Directory idea from Novell. So if you give an admin my windows installer package they should be able to push it out to the entire network at school. :cool:

X-squared, why does your .bat file only go to a temp directory? Does the client only fold while someone is logged on to the machine?

Wedo
 
Yeah Wedo - it only folded when someone was logged on. As I said before, ours is quite a specialised network - users only have write access to a couple of locations on a station, temp being one of them. Not only that, but they're all deleted and the machine is returned to a clean state upon rebooting. For my mega borg weekend with those 90 rigs I had to leave all the machines logged on, and I wasn't going to leave them all logged on with full admin rights! That's why it only writes to a temp directory, and it was a 'one shot' deal as the machines all cleaned themselves when rebooted.

I know it's not as useful as the service install or the other batch file, but I figured someone else might be in a similar situation so it could save them all the hassle I went through! I mean over one weekend I got 1800 points so it's worth doing if it's the only option available. Tomorrow I get to play with your MSI in preparation for our summer migration... :) If it works and I can get it running in the background then I'm going to make a proposal to have all the labs running it all the time - they won't be 24/7 but there's a lot of them....!
 
Mr. $T$ said:
has anyone used my setup yet...

If you did please tell me how you like it.

Yes, Mr. T. I tested it out on a Win 95 machine. It worked all the way up to the point to the service install. It didn't work because it was on a 95 machine. I'm sure it would work if I had a 2000/XP that didn't already have the service installed.
 
I had to add the -advmethods -forceasm flags manually. I edited your config file and added these, so now it works with just 1 click.
 
Nickme90 said:
I had to add the -advmethods -forceasm flags manually. I edited your config file and added these, so now it works with just 1 click.

I've heard that from a few people. I can't figure out why it places the flags on some rigs but not on others....

Wedo
 
Back