Re: [WiX-users] MaskedEdit and disable Next button?
Nothing gained and much lost. The problem is that these controls don't publish any events. See http://msdn.microsoft.com/en-us/library/aa368036(VS.85).aspx The only controls that publish anything are these: CheckBox DirectoryList PushButton SelectionTree Here is what MSDN says about running custom actions: You can run custom actions by publishing a ControlEvent from a PushButton control or Checkbox control. Add a record to the ControlEvent table with the names of the dialog and the control publishing the ControlEvent. This control should publish a DoAction ControlEvent notifying the installer to run the custom action. On Windows XP or earlier systems, you cannot run a custom action by publishing a ControlEvent from a SelectionTree control. -Original Message- From: kerbe...@noopy.org [mailto:kerbe...@noopy.org] Sent: Thursday, October 22, 2009 4:49 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] MaskedEdit and disable Next button? Thanks for your response! On Wed, Oct 21, 2009 at 9:35 PM, Blair wrote: > Unless you have the person push some other button to call your custom > action, I have no idea how you would get your custom action invoked to check > the lengths to set the property needed to enable your Next button. Would it be recommended to scrap the MaskedEdit and use a (text) type="Edit" instead? I suppose while not as aesthetically pleasing -- and that I lose the MaskedEdit feature of easy input checking -- implementing type="Edit" should do what I want. What are your thoughts? -- K -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MaskedEdit and disable Next button?
Thanks for your response! On Wed, Oct 21, 2009 at 9:35 PM, Blair wrote: > Unless you have the person push some other button to call your custom > action, I have no idea how you would get your custom action invoked to check > the lengths to set the property needed to enable your Next button. Would it be recommended to scrap the MaskedEdit and use a (text) type="Edit" instead? I suppose while not as aesthetically pleasing -- and that I lose the MaskedEdit feature of easy input checking -- implementing type="Edit" should do what I want. What are your thoughts? -- K -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MaskedEdit and disable Next button?
Unless you have the person push some other button to call your custom action, I have no idea how you would get your custom action invoked to check the lengths to set the property needed to enable your Next button. -Original Message- From: kerbe...@noopy.org [mailto:kerbe...@noopy.org] Sent: Wednesday, October 21, 2009 6:16 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] MaskedEdit and disable Next button? Hello, In my installer that I created with Wix, I click a checkbox to accept the license agreement and this enables the Next button. I want to do the same with a MaskedEdit entry or two. That is, until both MaskedEdit entries have at least X characters, I want the Next button to be disabled. I'd assume that I could make a call into a DLL to check someFunction(...) where some function checks that session["PIDKEY"].Length >= X, but I'm not quite sure if this is possible or what my custom actions might look like. Please advise if you have any suggestions. -- K -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] MaskedEdit and disable Next button?
Hello, In my installer that I created with Wix, I click a checkbox to accept the license agreement and this enables the Next button. I want to do the same with a MaskedEdit entry or two. That is, until both MaskedEdit entries have at least X characters, I want the Next button to be disabled. I'd assume that I could make a call into a DLL to check someFunction(...) where some function checks that session["PIDKEY"].Length >= X, but I'm not quite sure if this is possible or what my custom actions might look like. Please advise if you have any suggestions. -- K -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users