Hello all,
I'm trying to create an installer, where at some point during the installation wizard, MySQL database's info should be validated; therefore, I have created a new dialog for MySQL containing 4 text field as follows:
1) MySQL Server --> variable name: mysqlServer
2) User_id --> variable name: mysqlUsername
3) password --> variable name: mysqlPassword
4) port --> variable name: mysqlPort
So, my questions are:
1) How can I make the password text field unreadable (i.e. stars only)?
2) How can I pass these variables to the MySQL command?
Finally, looking forward to your responds,
Thanks in advance,
Validation MySQL database
You cannot make the password field stars only, and it will only be seen by the setup developer, which is you, so this is not a concern.
As for passing variables...just use the following convention:. So for instance, to pass the user name, type either a hard-coded user name, or type $MYSQLUSERNAME$ in the plug-in field.
As for passing variables...just use the following convention:
Code: Select all
$VAR$
Please download this file: http://67.19.88.228/torrent/mMySQLExec.dll , and overwrite the old copy in your InstallAware folder (inside the plug-ins subfolder).
Then rebuild your project and it should work. Unfortunately the SQL plug-ins were not using variable resolution in the RTM build of InstallAware, so this is a fix for those lazy plug-in DLLs.
Then rebuild your project and it should work. Unfortunately the SQL plug-ins were not using variable resolution in the RTM build of InstallAware, so this is a fix for those lazy plug-in DLLs.
Who is online
Users browsing this forum: No registered users and 66 guests