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

Setting up a user


3 replies to this topic

mat t

mat t
  • Members
  • 11 posts

Posted 03 July 2001 - 13:10

It is quite possible that our install needs to create a new account for a service to work fully. The person installing has to have admin privelages already so thats not a problem, is it possible to create a new user with InstallShield? Has anyone had any experience of this?
TIA,
Matt

Torgui

Torgui
  • Members
  • 27 posts

Posted 25 July 2001 - 11:05

By using InstallShield, creating user accounts might be quite painful. We solved the problem by creating a custom DLL with some functions that do the task. We then call the user creation function from IS script...


Ide Nentjes

Ide Nentjes
  • Members
  • 222 posts

Posted 25 July 2001 - 12:50

On "IS5/6 Samples > Operating System" you can find code to create and validate user accounts. Although it uses screens from InstallDialogue you can still use this code by writing your own dialog boxes.

NB: the sample code is for IS6. You'll need to do some adaption of the code to make it work in IS5

Ide

(Edited by Ide Nentjes at 2:53 pm on July 25, 2001)