cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to capture the input from another exe in my installanywhere and use it

HI,
i am running another .exe file and whatever the user inputs in the panel of the other .exe i want to capture it in the script of the installanywhere and call a command using the captured input of the other .exe.
(say for instance i am installing mysql installer and i want to capture the username and password which the user selects in the mysql installer and run a command like mysql -ulocalhost -Uroot -proot -P3306 < D:\xxx.sql)
Is this possible to capture the input which the user gives in another .exe.
james.
Labels (1)
0 Kudos
2 Replies
pv7721
Flexera beginner

Re: Is it possible to capture the input from another exe in my installanywhere and use it

Obviously, you cannot without some custom code. But I don't even want to imagine such a code that would listen for keyboard input (maybe also scan the display in order to recognize textfields?) Looks like what you're looking for is a almost like a keylogger functionality! Also what will you do when attempting to install on platforms where MySQL is ALREADY installed?!? Will you make your enduser to reinstall MySQL AGAIN just to capture those credentials?!?

Here's a very simple workaround: in IA simply prompt the user to enter the same credentials they used for MySQL!
0 Kudos

Yes even i thought of this workaround but will it be a burden to input twice.

hi,
even i thought of this workaround but i doubt if asking the user for the username and passsword he had used in mysql installer will annoy him.
Or is it fine if i give a user input panel post installation and ask him for the username,password he has given in the mysql installer and use these variables in my command.
james.
0 Kudos