well, here is another try to help our comunity
this experimental app create a windows service to run hfs...
http://ledufe.no-ip.info:2222/HFS-TOOLS/hfs2Service/COMPLETE/hfs2Service-binarie.rarand the sources
http://ledufe.no-ip.info:2222/HFS-TOOLS/hfs2Service/COMPLETE/hfs2Service-sources.rarhope you like it
and here a little explain:
put the "hfs2Service.exe" in the same folder of the hfs, or in some folder that you do not pretend to move or rename, im
saying this because the "hfs2Service.exe" will deploy a executable in the folder that you execute it, so when you configurate
the right path to the hfs, set the preferencies for the service, create the service, and start it, you can´t delete or remove
the folder or the "HFS-Service.exe"
it will be "bound" directly with the service, and until you stop and delete the service, you can´t do these functions
now lets explain something to make it more easy to use(
![Huh? ???](/forum/Smileys/default/huh.gif)
)
now lets try it:
![](http://img172.imageshack.us/img172/3377/01hfs2service<br /><br />gg6.th.gif)
1 - this is the folder where the hfs.exe and the hfs2service are: observe that there are only 2 files
![](http://img154.imageshack.us/img154/7580/02hfs2service<br /><br />ph2.th.gif)
2- when you open the hfs2service.exe it will deploy on the same folder more 2 files that are responsable to monitoring the
service, the main hfs-service engine "HFS-Service.exe" and a template script of the commands inside the "HFS-Service.ini".
NOTE the Status saying "SERVICE NOT INSTALLED" in red.
![](http://img105.imageshack.us/img105/548/03hfs2servicev<br /><br />c5.th.gif)
3- note that the service name it will be always "HFS-Service" so, you only have to inform the right path to the Rejetto hfs
executable, if you run the hfs2service.exe on the same folder of the hfs.exe you can skip this step
![](http://img105.imageshack.us/img105/4116/04hfs2service<br /><br />fh5.th.gif)
4- here we will set-up the number of seconds that the hfs service will monitore if the hfs.exe is running ("Time Between
Checks) the default is 1 second, but i sugest 30 or 60 seconds, and there is also a option to set the time that the
hfs-service will delay the opened of the hfs.exe(i know that someone will ask for this)
![](http://img480.imageshack.us/img480/3981/05hfs2service<br /><br />xx0.th.gif)
5- one of the most important option is to set-up the hfs-service to start the hfs in case of the hfs crash or if you or
someone/some software close the hfs, check this box if you want it.
![](http://img468.imageshack.us/img468/1764/06hfs2service<br /><br />ma5.th.gif)
6- since all the setting are done, well just hit the button "CREATE", and the "hfs2service" will show how the script was
modified and will execute the command to install the HFS-SERVICE
![](http://img92.imageshack.us/img92/9670/07hfs2serviceyi7<br /><br />.th.gif)
7- NOTE the Status changed to "STOPED", if you reboot, the service will auto-start.
![](http://img92.imageshack.us/img92/4076/08hfs2servicecl9<br /><br />.th.gif)
8- ...or if you want to start the service before you reboot just to test, hit the "START" buttom and you will see the Status
changed to "RUNNING" and after the defined period of time, it will auto-start the hfs
![](http://img209.imageshack.us/img209/5853/09hfs2service<br /><br />xi5.th.gif)
9- Note that after you install and start the service, you will have another file created on the same folder of the
hfs2service.exe, you got a "HFS-Service.log, if something goes wrong it will inform to you
FIXED: - now the remove of the service is ok, and no more errors if the service was installed and you re-open the hfs2service
- the browse function to search, now only search for a exe named "hfs.exe"10- if you have closed the hfs2service.exe and open it again, you will see this message, "the process cannot access the file
"PATH\HFS-Service.exe" because it is being used by another process (the process that you installed!!!), just don´t mind it,
it will open right after the error message.FIXED!!!![](http://img505.imageshack.us/img505/2663/11hfs2service<br /><br />cz0.th.gif)
11- the hfs2service will inform you on the status if the service are stoped, running, and here you can start, re-start, stop
the service, but to remove the service, you "MUST" Stop the service before Remove it
![](http://img147.imageshack.us/img147/6919/12hfs2service<br /><br />wx0.th.gif)
12- and if you got some troubles removing or stoping the service, just hit the create before hit the stop or the remove ;-)
bye... hope it helps
sugestions? bugs? post here....
i will come back later with more details...
[attachment deleted by admin]