cancerface Posted October 18, 2006 Author Posted October 18, 2006 Well, unless you specified username=Administrator in the INI file or set the name to administrator in the GUI I do not see how the program can write the wrong value in the registry...Are you sure that commenting the winnt.sif values out is the same as deleting them? I do not know if this is the case to be honest. Another way to test this is to use EncryptedAdminPassword = Yes which disables autologon, if I am not mistaken ...All I can tell you is that the program gets a value from the INI file, places it in the GUI, then takes the same value (username) from the GUI and places it in the registry. I cannot see how the wrong value can make it to the registry CF
mazin Posted October 18, 2006 Posted October 18, 2006 (edited) @ vertigoI set DisableAdmin to 1, in my INI. This is a snippet of my (working) NewUser.ini:[userInfo]FirstName=SomeNameLastName=Description=System AdministratorUserName=SomeName (same name as the FirstName)Password=123 (same PW in WINNT.SIF)UnlimitedPass=1AutoLogon=1Admin=1[securityInfo]FakeAdmin=0FakeGuest=0RenameAdmin=1RenameGuest=1DisableAdmin=1ForcedLogon=1NewAdminName=ADMINNewGuestName=GUESSHideNewAdmin=0Also, search your reg files (tweaks) and your CMD files for "Administrator".You might insert it somewhere! Sometimes, I forget to update my tweaks and CMDs to suit a new routine.Or, you might use another software that logs "Administrator" on automatically.Are you sure that commenting the winnt.sif values out is the same as deleting them?Yes! Edited October 18, 2006 by mazin
vertigo Posted October 19, 2006 Posted October 19, 2006 (edited) OK, finally I managed to do it right. I did 2 tests. Firstly I changed winnt.sif entries to[GuiUnattended] AdminPassword=d90asd8098vxcvx9084234... EncryptedAdminPassword=Yesbut that didn't help.Then I removed all commented lines from winnt.sif and moved CreateUser.exe from T13 svcpack (7z-sfx) to T12 cmdlines ($OEM$) and everything went fine. I don't know exactly what was the problem, maybe the autologon entry was overwrriten somehow by the windows setup when I used to run the tool from svcpack. Soon I will try to do more tests.EDIT1:I did another test and it seems that CreateUser.exe should be run only from T12 cmdlines.txt.Cheers Edited October 20, 2006 by vertigo
KenanBalamir Posted October 22, 2006 Posted October 22, 2006 (edited) 1) when I have an occurance of CreateUser with only the computer info enabled the parameters are greyed out till I toggle the "Computer Details" box.Oups! Yes, that behaviour should not be there... In fact the same happened if only the Security Section is enabled. Tracked the error down and fixed it!Updated to v1.6:v.1.6 Changelog Rewrote the function that checks for admin privileges Fixed an error that would hide fields although the Parse[]Section flag was on Added support for Turkish (thanks KenanBalamir!) & Greek languages (Interface + message boxes)Updated first post and uploaded the new versionThanks man! But, Cancel button caption is wrong.Vazgeç is not correct.Vazgeç is correct.Thanks again.~Kenan Edited October 22, 2006 by KenanBalamir
Yurek3 Posted October 22, 2006 Posted October 22, 2006 Sorry guys I have all time some error or SDI.Thisone new version do not wor for me 1.4-1.6 otherone work good.
colc Posted October 25, 2006 Posted October 25, 2006 Hi,Excellent tool - although I found something strange happening when installing completly unattended.I setup basic username / compname / etc but changed Timeout=30000 and nothing happened after30 secs - press GO worked OK.Next install changed Timeout=20000 worked perfectStrange eh!PS:Run from normal desktop with only change comp info on 2 machines - same thing
kSaMi Posted November 13, 2006 Posted November 13, 2006 Hello allHere is french strings... Cya FR.zip
cancerface Posted December 2, 2006 Author Posted December 2, 2006 Not discontinued, nor abandoned, I am just up to my neck with things to do.I think I will have some time during the weekend to update this, adding the French lang support etc.@KenanBalamirI think that the cancel button label is embedded in my nsis compiler like that, I will look into it and post a request for a fix in the NSIS forums.@colcI will play around with this and see if it is a bug indeed@Yurek3Can you provide any info on the reason why these versions do not work for you? Maybe I could upload a debug version for you and we could track the problem down ...@vertigoHmmm... I have been running from cmdlines without any problems and I have tested from svcpack without problems as well. Maybe it is indeed something else in your setup that overwrites the autologon entry?CF
KenanBalamir Posted December 3, 2006 Posted December 3, 2006 I am just up to my neck with things to do.Are you sick ? I hope you'll get better soon. Not discontinued, nor abandoned@KenanBalamirI think that the cancel button label is embedded in my nsis compiler like that, I will look into it and post a request for a fix in the NSIS forums.That's great! Thanks for care..Kenan
DJPro Posted December 6, 2006 Posted December 6, 2006 (edited) Hi, I just discovered this wonderfull tool for usercreation.I've searched the 10 pages of this topic but didn't find out how to use'InterfaceFR.ini' to see the program in French.Also I don't want to fill in a password, so I set CheckValues=0and there's always a popup that says 'fill in all the fields'.Why is this ?Someone could help me please ? THX Edited December 6, 2006 by DJPro
cancerface Posted December 7, 2006 Author Posted December 7, 2006 @DJProThe French strings are not yet implemented. Once I include the strings in the main EXE, it will automatically detect your language and will swap to French if necessaryThe password by design is checked regardless of the CheckValues variable. It cannot be empty.If however you feel that this may be needed, I can add another switch so that password checking can be omitted (which is a BAD idea, especially if the two passwords do not match) ...CF
DJPro Posted December 7, 2006 Posted December 7, 2006 I would like the switch for the password, because I never use passwords on unattended installs.Maybe you can set the passwordfield so that the '*' are readable and you can check if it's correct. (if you think this is a good idea?)Anyway I'll wait for a future release with the language files.Thanks for the fast reply, CF !
cancerface Posted December 12, 2006 Author Posted December 12, 2006 After a loooong delay I managed to get some time and updated this little tool with the latest lang strings ...Updated to v1.7:v.1.7 Changelog Added French GUI support (thanks kSaMi!) Added PasswordCheck switch to disable password checking and force a blank passwordAs always comments/suggestions are welcomeUpdated first post and uploaded the new versionEnjoy CF
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now