Author: nextgens
Date: 2007-04-29 17:55:41 +0000 (Sun, 29 Apr 2007)
New Revision: 13049

Modified:
   trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
Log:
new_installer: workaround against lusers using windows

Modified: trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd        
2007-04-29 13:05:21 UTC (rev 13048)
+++ trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd        
2007-04-29 17:55:41 UTC (rev 13049)
@@ -52,6 +52,8 @@
 @echo  - Creating a user for freenet
 @set PASSWORD=%random%%random%
 @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
+:: Force the password in case it's a re-installation
+ at net user freenet %PASSWORD% > NUL
 @echo wrapper.ntservice.password=%PASSWORD%>> wrapper.conf

 @echo  - Hiding the freenet user from the login screen


Reply via email to