Using AI 7.7:
I have created a custom dialog, where I put two EditBoxes:
1. User name (property name: USER_NAME)
2. Password (property name: USER_PASSWORD)
I have created a C# program that receives these two parameters in the command line and returns success or failure if these parameters are correct for the current computer.
Now what is missing for me is:
1. I want the user to press the "next"
2. Then I will run my custom action: ValitateUser.exe "[USER_NAME]" "[USER_PASSWORD]"
3. If this custom action fails, then I want to show a MessageBox saying "Incorrect user/password", and return/stay on the dialog page.
4. If the user pressed "next" and the custom action succeeded, then move him to the next dialog.
How can this be achieved?
Many thanks, Dashut.
FOLLOW US
Get the latest news in Application Packaging