Re: [WiX-users] Controls with Conditions

2009-03-11 Thread Don Benson
I have never liked the behavior of enabling/disabline push buttons. Instead of disabling/enabling the control, you might consider publishing multiple events for the push button. You can control the order of the events, which allows you to do validation with three events. The first event runs a cus

Re: [WiX-users] Controls with Conditions

2009-03-11 Thread Bob Arnson
Andy2k8 wrote: > I have added a condition that disables the "Next" button on the installdir > dialog if the dest path is windows root drive.It works fine with next button > click.But if the user press "Enter" without changing the pathEdit focus, the > condition doesn't get evaluated and the UI get

Re: [WiX-users] Controls with Conditions

2009-03-11 Thread Andy2k8
Hi there I have added a condition that disables the "Next" button on the installdir dialog if the dest path is windows root drive.It works fine with next button click.But if the user press "Enter" without changing the pathEdit focus, the condition doesn't get evaluated and the UI get navigated to

Re: [WiX-users] Controls with Conditions

2006-07-29 Thread Dana Gutride
Michael:From what I've seen, the value of the Property doesn't update until the control loses focus.  If you have other textboxes on that dialog, you could try putting those after the database textbox so the user has to tab to those first.  Otherwise, you could use a maskededit control (see below f

Re: [WiX-users] Controls with Conditions

2006-07-29 Thread Bob Arnson
Michael Cline wrote: > Is there any way to update the property with every key press? > No. Unfortunately, MSI only updates properties on focus change. -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the

[WiX-users] Controls with Conditions

2006-07-28 Thread Michael Cline
I'm assuming that this is a lack of understanding on my part and is more of an MSI question than Wix itself. I have a dialog which requires you to enter the Database Name before you can click on Next. I have a condition on the Next Button that makes sure the Database Name is entered.