PDA

View Full Version : Create a user account



nitsev
01-20-2005, 02:53 AM
I want to create a local (and also learn how to create a domain user) user on the system. I don't want to show the user a dialog where they enter a user name, password etc. but I want to create it automatically. How do I do this? Can I write it in installscript? Do I have to create a DLL and call a function in that or how do I do it? How can I automatically delete the account when my product is uninstalled?

RobertDickau
01-20-2005, 09:36 AM
For one approach, you might see the MSI Help Library topic Windows Installer Guide > Custom Actions > Using Custom Actions > How do I use a custom action to create user accounts on the local computer?...

nitsev
01-20-2005, 10:29 AM
Thanks

I searched the online help but had missed that. I'll give it a try.


For one approach, you might see the MSI Help Library topic Windows Installer Guide > Custom Actions > Using Custom Actions > How do I use a custom action to create user accounts on the local computer?...