Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

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
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x