Page 1 of 1

Can users/groups be created during install?

Posted: Fri Jul 24, 2009 11:25 am
by afriesen3
Is there a means via InstallAware to create users and groups?

I am installing a web service that needs to run under a particular user/group.

Thanks,

Posted: Fri Jul 24, 2009 12:19 pm
by MichaelNesmith
Not built-in, but a plug-in for it might appear :)

Posted: Mon Jul 27, 2009 8:09 am
by StyX
You could do this in a .bat file which you generate based on user input and execute during the setup.

Look for the commands that you need using these cmd's:
net help
net user /?
net help user
net localgroup /?
net help localgroup

Posted: Mon Jul 27, 2009 8:50 am
by MichaelNesmith
Great suggestion - please also note that it might be nicer if you call the "net.exe" program directly, instead of invoking from a batch file.