Use Win32::SetupSup
or use a third party freeware app called AutoIT
Both will send keystrokes/clicks/etc to a gui app..
-----Original Message-----
From: Kyle Payne [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 9:40 AM
To: Perl Win32 Admin (E-mail)
Subject: How do you Pass an ID and Password to a program that wants to
prompt you for it
I am trying to create a silent install script. I have the install working
but after the install is done you have to sign on once. This is required
for the services to work. Currently I install the software silently. Then
I have to run a command "dsmc". Then I install the services silently.
When dsmc is run it prompts for an ID and then after you type it and press
enter a password.
Now the command it self is supposed to be able to take the switches -Node
(for ID) and -Password. However even when passed correctly you are still
prompted the very first time this is run. So I am looking for a way to have
Perl send the ID then a carage return and then the password to see if I can
get it to fill in for me. Can this be done?
Kyle Payne
Berbee
4000 West Spencer Street
Appleton, WI 54914-4015
[EMAIL PROTECTED]
Office: 920.996.3107
Fax: 920.997.9719
Pager: 920.586.3014
Cell: 920.450.0413
Berbee...putting the E in business
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin