Keyboard Enter key press does not validate the condition

created the topic: Keyboard Enter key press does not validate the condition
I have added a condition INSTALLDIR <> WindowsVolume to the “Next” button of the InstallDir dialog to prevent installation to the windows root drive.
This condition gets validated and next button gets disabled if the condition is true when the user clicks the button.
But if the user enters the windows root folder and press enter, it directly navigates the user to the ready to install screen without validating the condition

I have read somewhere that the property gets validated only on a control click event. But how do I handle this situation?? when i proceed with the installation, everything gets installed on the root drive.

Any ideas??

msiexpert replied the topic: Re: Keyboard Enter key press does not validate the condition
Properties like WindowsVolume end with a \ and I’d guess that the user input doesn’t.

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x