Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Adding a User in windows 2000


1 reply to this topic

Majd

Majd
  • Members
  • 13 posts

Posted 07 January 2002 - 17:52

I need my install program to add a new user in windows 2000.  I am not sure that there is an easy way to do so or not.


Thank you all for all the help


tsweet

tsweet
  • Members
  • 15 posts

Posted 15 January 2002 - 14:34

Somewhere in the help for the MSI SDK 1.2, they gave an example.  This was a big deal to do for me and you needed to create DLLS and such.  They showed you how to do it.  Then, you needed to create tables in the MSI file, which for ISWI 2.x meant creating them after the install was built.  This took about an hour or more.  Everytime the install would be rebuilt, these would have needed to be redone.  If you know SQL stuff, you can automate this process.
Others was talked about using the netuseradd command or something similar to that.  The MS example took into consideration uninstall, rollbacks, etc.  I eventually lost interest in doing this, so I never completed it.