|
Problem using the tray tool
|
|
04-16-2008, 08:59 AM
Post: #1
|
|||
|
|||
|
Problem using the tray tool
Hi
I am having the following problem using the L2G traytool: I have created a shortcut on my start menu for Start-Lighty2Go.exe. When I run Start-Lighty2Go.exe and use the exit command on the tray tool to stop it everything works fine (next time I run Start-Lighty2Go.exe from the start menu, the traytool appears and everything is fine). However, if I start Start-Lighty2Go.exe and then shutdown my PC, next time I try to run Start-Lighty2Go.exe from my shortcut, the target is gone. Is there a workaround for this behaviour? In any case, what I need to do is create an installer that will allow my users to copy L2G + all DBs and PHP files on their hard drive and create a couple of shortcuts on their start menu that will either start the tray-tool or at least start and stop both servers (LTP & MySQL). However, if i try to run the batch file for starting both servers, LTP has a problem parsing the conf file (I have copied lighttpd-custom.conf as lighttpd.conf). Can you please advice me on what to do in order to provide my users with a stable way to start and stop both servers from either the tray tool or their start menu? Thanks in advance cmp |
|||
|
04-16-2008, 04:12 PM
Post: #2
|
|||
|
|||
|
RE: Problem using the tray tool
What OS are you running this on?
Actually I just figured it out - you mention that this is happening when you shutdown the PC - but- didn't run the "Exit" command This is what is happening -- The Start-Lighty2Go.exe runs and creates the bat files - and "moves" Start-Lighty2o.exe to the base_files folder. So the shortcut to Start-Lighty2Go.exe breaks because the exe file does not drop back into the root directory until the exit bat file is run. The Fix: Open "set-path.bat" From \Lighty2Go\base_files Find this line: Code: MOVE /Y Start-Lighty2Go.exe "%cd%\base_files"Code: copy /Y Start-Lighty2Go.exe "%cd%\base_files"That should take care of it. --Tom |
|||
|
04-17-2008, 02:37 AM
Post: #3
|
|||
|
|||
|
RE: Problem using the tray tool
Problem solved.
Thanks cmp_fgr |
|||
|
04-17-2008, 10:07 PM
Post: #4
|
|||
|
|||
|
RE: Problem using the tray tool
Cool glad to here that ...
Thanks --Tom |
|||
|
04-18-2008, 01:30 AM
Post: #5
|
|||
|
|||
|
RE: Problem using the tray tool
Also solved problem with non-english chars on the path name - built a small win32 app that filters dos codepage chars into windows codepage chars, so that LTPD does not crash when reading the .conf file. Now the install path can contain not only spaces but also non-latin chars (at least Greek).
|
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help



