MOTOSHARE 🚗🏍️

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

Keyboard Enter key press does not validate the condition

General

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.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x