December 8, 200421 yr I am using the "settings" part of wihu to give a user an interactive option to create a new primary user.I pre-fill the dialog boxes with defaults for username/password/etc. That way, if no user input is detected, the program will continue and create a default user.Is there a commandline parameter to enable "Add administrator rights to new user", or is it better to use the .ini file for setting these defaults?If so, then how would i add a user to the Administrator group?Another question, is it possible to remove/hide/disable the "load" button?
December 8, 200421 yr Is there a commandline parameter to enable "Add administrator rights to new user", or is it better to use the .ini file for setting these defaults?Although there is already such an option I added /group=Administrators|Users to add primary user to specified group.An alternative way is to define a new user in [users] sections and set this to default:[users]default = 0user.0=Primary Usergroup.0 = 1; Add Admin rightsI also added /DisableLoadMenu=0|1 to prevent a user from loading external INI files.Benjamin Kalytta
Create an account or sign in to comment