rejetto forum

Service?!!

Diquito · 11 · 16347

0 Members and 1 Guest are viewing this topic.

Offline Diquito

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Hi all HSF user :D
I must say that this is one of the neatest software I've seen in a loooong time...really well thought Rejetto...
And Now to my question first I though that I read in a thread that someone already had a upload "plugin" or something like that? Is it possible to dowload it to test it?
And my real question... what about running HFS as a service... That would be great if it was possible...
Once again thanks for the neat product  :lol:
Diquito
In Stockholm Sweden


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
no plugin
it is embedded
actually, version 1.6 has upload code inside, but it is disabled because it is incomplete
it is early to test it now, you will have to wait

ATM there's no plan for it be work as service
it would require too much work
you can try using firedaemon anyway


Bob

  • Guest
you can try instsrv and srvany from the w2k resource kit
actually I will give it a try tommorow and report back


Offline Diquito

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Oki thanks Rejetto for the upload info... I'll be waiting for it.

Bob I'll be waiting for your report too  :D  cos im acctually not so interested to run firedaemon though.
Diquito
In Stockholm Sweden


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
i never heard of those tools
i'm interested too :)


Bob

  • Guest
Totally forgot about this, sorry
Well, as I'm stuck in work and have nothing better to do I have done a quick test
For some reason my server denies me to connect remotely today so I tested it on standard win2000 workstation, I'll try it tomorow on win2003 server

Basically you need instsrv.exe and srvany.exe, they are part of the win2000 resource kit, but can be downloaded on the net - google is your friend :)

you put both files in a folder (I preffer c:\winnt)
the open up a command prompt, go to winnt, enter "instsrv HFS c:\winnt\srvany.exe" where HFS is your desired service name and is followed by the absolute path to srvany.exe
Good, service is now added

Second step is to go to the registry, go to HKLM/System/CurrentControlSet/Services/<name of your service>
Here you have to add a new key (folder), name it Parameters. In this parameters key you create a new string (right click > new > string, in right window), name is Application, and the value of the string is the absolute path to hfs.exe
That's it.
However you need to make hfs load the vfs definition file, are there any command line switches for this?
But the test works this way too - of course no folders are loaded because none are setup but you can test it and see that the page loads etc. Of course you can't change any setting nor view the log, to do that simply stop the service and start the exe manually :)

instsrv/srvany are good tools, I use them to install UD as a service on some systems where I want them run 7x24


Bob

  • Guest
just realized > to auto-load the vfs file on startup - there's the option for it in the menu to load the last used file :D


Anonymous

  • Guest
Thanks Bob
I'll try it on WinXP well if it works there  :)


Offline Diquito

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Well Bob!
It work perfectly on XP too.. just so u now... :D
Diquito
In Stockholm Sweden


Offline Notorious

  • Occasional poster
  • *
    • Posts: 2
    • View Profile
doesn't seem to work in w2k3

i have followed all the steps i see the service... i can start it and stop it... the only problem is when i try to load the page... i get cannot be displayed


Offline bminor

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
it's useful
a remind that before you change the program to services, it'd better to click "save options-->to registry(all users) in order to make setting up-to-date.