Author: nextgens Date: 2008-02-25 15:36:46 +0000 (Mon, 25 Feb 2008) New Revision: 18148
Modified: trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd Log: new_installer: doh Modified: trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd =================================================================== --- trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd 2008-02-25 02:56:14 UTC (rev 18147) +++ trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd 2008-02-25 15:36:46 UTC (rev 18148) @@ -7,7 +7,7 @@ :: Try to detect a free, available port for fproxy @set FPROXY_PORT=8888 @java -jar bin\bindtest.jar %FPROXY_PORT% - at if %ERRORLEVEL% EQ 0 goto configure_fproxy + at if %ERRORLEVEL% EQU 0 goto configure_fproxy @set FPROXY_PORT=8889 @bin\cat.exe welcome.html | bin\sed.exe "s/8888/%FPROXY_PORT%/g" > welcome2.html @move /Y welcome2.html welcome.html > NUL @@ -50,13 +50,13 @@ @net user freenet /delete 2> NUL > NUL :: create the user @net user freenet %PASSWORD% /add /comment:"this user is used by freenet: do NOT delete it!" /expires:never /passwordchg:no /fullname:"Freenet dedicated user" > NUL - at if %ERRORLEVEL% EQ 0 goto pwgen + at if %ERRORLEVEL% EQU 0 goto pwgen @echo Error while creating the freenet user! let's try something else... :: try with a stronger password @set TMPPASSWORD=Freenet_0@%PASSWORD%- @set PASSWORD=%TMPPASSWORD:~0,12% @net user freenet %PASSWORD% /add /comment:"this user is used by freenet: do NOT delete it!" /expires:never /passwordchg:no /fullname:"Freenet dedicated user" - at if %ERRORLEVEL% EQ 0 goto pwgen + at if %ERRORLEVEL% EQU 0 goto pwgen :: We shouldn't reach that point @echo The workaround is still not working! will install freenet to run as SYSTEM @goto registerS
