PDA

View Full Version : Batch file 4 lazyness (need help)


wizard james
12-29-06, 02:47 AM
Well, since i am lazy sometimes, i am trying to make a batch file, to install fah, but heres the problem, fah lacks (or i lack to find out all the flags to make a fullly automatic batch file for fah.

MD %SYSTEMDRIVE%\"Program Files"\FAH\
COPY FAH504-Console.exe %SYSTEMDRIVE%\"Program Files"\FAH\
CD %SYSTEMDRIVE%\"Program Files"\FAH\
FAH504-Console.exe -configonly

Its ok up till the last line, i cant find anything to create a username ,team client.cfg I think i could petty much make a client.cfg, and copy it. and somehow make fah install the rest.. but not create the client.cfg

Um, I bet this is already done, but i havent searched, its almsot 2 am. Any ideas?

Goes off thinking..

danvvc
12-29-06, 03:17 AM
wedo's one click msi would be much easier!!
Just put your .cfg in the originating folder and away it goes..

wizard james
12-29-06, 03:27 AM
wedo's one click msi would be much easier!!
Just put your .cfg in the originating folder and away it goes..
Unless its been updated, it a older version, not 5.04 Were 5.04 has the laptop battery flag that is very useful as i will be installing fah on quite alot of laptops.

+ i want to learn this myself to figre this out.

MD %SYSTEMDRIVE%\"Program Files"\FAH\
COPY FAH504-Console.exe %SYSTEMDRIVE%\"Program Files"\FAH\
CD %SYSTEMDRIVE%\"Program Files"\FAH\
COPY client.cfg %SYSTEMDRIVE%\"Program Files"\FAH\
FAH504-Console.exe -local -service
Did that, but it seams it doesnt see the client.cfg thats already made. Its like its missing the "configfile" flag, for premade configs.. heh

EDIT::EDIT

Ok, i took the last one to just -config , and found out that the client.cfg makes the defaults.. so i just gota hit enter really fast. hmm, sweet. Well..its not all automagic.. but its close