in reply to Re: Perl script to EXE to Windows Service
in thread Perl script to EXE to Windows Service
Anyway try to force pp to include the ...\perl\site\lib\auto\Win32\Daemon\Daemon.dll
That was it. It works now. Is this something I should not have had to do under "normal" circumstances? Is there something that I should look for to determine whether or not to explicitly linking in the daemon.dll?
In any case, what a great piece of advice. I am off to drink some eggnog now. I will lift a chalice to you as thanks for your invaluable help.
Update: A thought occurred to me. My script is writing out a log. I have hard-coded the path to the log in my script before converting it to the exe which I then converted to the service. This path is likely going to be different in the target computer(s). How do I externalize this path to the log file so I can still create the exe and install it as a service on a target computer, yet change the log file path (and, perhaps, other config vars as well) at will... you know, stop the service, change a few config params, restart the service, a la Apache.exe does on Windows?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl script to EXE to Windows Service
by Jenda (Abbot) on Dec 31, 2004 at 18:06 UTC | |
|
Re^3: Perl script to EXE to Windows Service
by holli (Abbot) on Dec 31, 2004 at 09:54 UTC | |
by aquarium (Curate) on Dec 31, 2004 at 10:28 UTC | |
by punkish (Priest) on Dec 31, 2004 at 13:34 UTC |