Hi there,
my setup needs a domain account information (in
detail domain name;user name; password).
To ask the user for this i could of course create a
custom dialog containing edit fields, but i want to
use a selection drop down box that already shows
valid accounts.
Is there any standard dialog for this ?
Is there a way to call a Windows DLL to
bring the usual account selection dialog up ?
Any info will be helpful. TIA!
Cheers
Stefan
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.
Domain Account Selection
Started by
Stefan Secker
, Aug 06 2002 12:50
2 replies to this topic
Posted 09 August 2002 - 04:34
Use the following vbscript code to list all users in a domain -
sub PullAllUsers(strDomain)
Dim Computer
Dim User
Set Computer = GetObject("WinNT://" & strDomain)
Computer.Filter = Array("User")
For Each User in Computer
Response.Write User.Name
Next
End Sub
sub PullAllUsers(strDomain)
Dim Computer
Dim User
Set Computer = GetObject("WinNT://" & strDomain)
Computer.Filter = Array("User")
For Each User in Computer
Response.Write User.Name
Next
End Sub
Gunavelu
Posted 09 August 2002 - 13:19
Thanx for the reply gunavelu!
As i didn't find any other possiblity yet, i'll use
the VBS code. Can somebody now tell me how
to add the resulting list to a combo box on a
dialog.
I have tried to change MSI tables during the setup
process but always failed to get it running.
TIA! Cheers
Stefan
As i didn't find any other possiblity yet, i'll use
the VBS code. Can somebody now tell me how
to add the resulting list to a combo box on a
dialog.
I have tried to change MSI tables during the setup
process but always failed to get it running.
TIA! Cheers
Stefan