* Matthew Toseland <toad at amphibian.dyndns.org> [2007-09-08 00:14:04]:

> If you don't cd bin then it's not ../wrapper.conf, surely it's wrapper.conf ?

No; the path is relative to the location of the binary.

> 
> On Friday 07 September 2007 21:36, you wrote:
> > Author: nextgens
> > Date: 2007-09-07 20:36:09 +0000 (Fri, 07 Sep 2007)
> > New Revision: 15019
> > 
> > Modified:
> >    trunk/apps/new_installer/res/windows/bin/install_service.bat
> >    trunk/apps/new_installer/res/windows/bin/remove_service.bat
> > Log:
> > new_installer: better logic
> > 
> > Modified: trunk/apps/new_installer/res/windows/bin/install_service.bat
> > ===================================================================
> > --- trunk/apps/new_installer/res/windows/bin/install_service.bat    
> > 2007-09-07 
> 20:28:52 UTC (rev 15018)
> > +++ trunk/apps/new_installer/res/windows/bin/install_service.bat    
> > 2007-09-07 
> 20:36:09 UTC (rev 15019)
> > @@ -1,6 +1,7 @@
> >  @set PATH=%SYSTEMROOT%\System32\;%PATH%
> >  
> > +if not exist wrapper-windows-x86-32.exe cd bin
> >  @echo Cleaning up
> > - at bin\wrapper-windows-x86-32.exe -r ../wrapper.conf
> > + at wrapper-windows-x86-32.exe -r ../wrapper.conf
> >  @echo Registering Freenet as a system service
> > - at bin\wrapper-windows-x86-32.exe -i ../wrapper.conf
> > + at wrapper-windows-x86-32.exe -i ../wrapper.conf
> > 
> > Modified: trunk/apps/new_installer/res/windows/bin/remove_service.bat
> > ===================================================================
> > --- trunk/apps/new_installer/res/windows/bin/remove_service.bat     
> > 2007-09-07 
> 20:28:52 UTC (rev 15018)
> > +++ trunk/apps/new_installer/res/windows/bin/remove_service.bat     
> > 2007-09-07 
> 20:36:09 UTC (rev 15019)
> > @@ -1,5 +1,6 @@
> >  @set PATH=%SYSTEMROOT%\System32\;%PATH%
> >  
> > +if not exist wrapper-windows-x86-32.exe cd bin
> >  @echo Cleaning up
> >  @net stop freenet-darknet
> >  @echo Unregistering Freenet as a system service
> > 
> > _______________________________________________
> > cvs mailing list
> > cvs at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> > 
> > 



> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20070908/d9c01f5c/attachment.pgp>

Reply via email to