This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Is it possible to capture the input from another exe in my installanywhere and use it
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 23, 2008
06:56 AM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 23, 2008
07:16 AM
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!
Here's a very simple workaround: in IA simply prompt the user to enter the same credentials they used for MySQL!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 23, 2008
07:50 AM
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.
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.