Thanks Pavan.

I will try your suggestion and get back with results.

Regards
Sampat
(Unisys, Blore, ktaka, India)
On May 29, 2015 10:46 PM, "KONDURU Pavan [via Windows Installer XML (WiX)
toolset]" <ml-node+s687559n7600493...@n2.nabble.com> wrote:

> Hi Sampat,
>
> WIX does not give you the functionality to disable the next button by
> default if no feature is selected. But there are events conditions you can
> set to disable the button.
> This is what I do and works good for me:
>
> --Publish a property on the CustomizeDialog page:
>
> <Publish Property="DisableButton" Value = "1" Order="0">
>             <![CDATA[<condition for when to disable]]>
>           </Publish>
>           <Publish Property="DisableButton" Value = "0" Order="1">
>             <![CDATA[<condition for when to enable]]>
>           </Publish>
>
>
> --Put this condition in the "Next" button control:
>
> <Control Id="Next" Type="PushButton" X="248" Y="243" Width="56"
> Height="17" Default="yes" Text="!(loc.WixUINext)">
>           <Subscribe Event="SelectionNoItems" Attribute="Enabled" />
>           <Condition Action="disable">
>             <![CDATA[DisableButton = "1"]]>
>           </Condition>
>           <Condition Action="enable">
>             <![CDATA[DisableButton <> "1"]]>
>           </Condition>
>
>
>
> Best Regards,
> Pavan KONDURU
>
>
>
> -----Original Message-----
> From: ssmsam [mailto:[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=7600493&i=0>]
> Sent: Friday, May 29, 2015 12:01 AM
> To: [hidden email] <http:///user/SendEmail.jtp?type=node&node=7600493&i=1>
> Subject: [WiX-users] WixUI_FeatureTree : What if all deselected?
>
> Hi Forum,
>
> We are using WixUI_FeatureTree UI for our installer.
>
> 1. When i deselect 1 feature :  Its respective Costing, Install Path and
> etc UI Controls gets Disabled immediately.
>
> 2. When we deselect all the features : The Next button is still enabled
> and allowing the installation.
>
> Q1) Is the 2nd scenario a correct behavior?
>
> I tried to Disable Next button using ControlCondition and condition as
> features requested state(&Feature1 = 2). But its not been working on UI as
> Windows installer UIs are not so flexible to do so.
>
> Q2) How are they disabling the button like configuration_Directory,
> Install Path, Costing etc based on the Feature requested state. I am
> curious and checked in Control Condition table there no clue about these
> buttons.
>
>
> Could anyone share you thoughts, is it feature to be implemented in Wix? I
> checked in isntallshield it  is the same.
>
> PS: As of Now, We are using a VB Script CA to check for the requested
> state of all features and display a pop up and will bring back to the
> custom setup dialog.
>
> Regards,
> Sampat
>
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixUI-FeatureTree-What-if-all-deselected-tp7600478.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> WiX-users mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=7600493&i=2>
> https://lists.sourceforge.net/lists/listinfo/wix-users
> This email and any attachments are intended solely for the use of the
> individual or entity to whom it is addressed and may be confidential and/or
> privileged.
>
> If you are not one of the named recipients or have received this email in
> error,
>
> (i) you should not read, disclose, or copy it,
>
> (ii) please notify sender of your receipt by reply email and delete this
> email and all attachments,
>
> (iii) Dassault Systemes does not accept or assume any liability or
> responsibility for any use of or reliance on this email.
>
> For other languages, go to http://www.3ds.com/terms/email-disclaimer
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> WiX-users mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=7600493&i=3>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixUI-FeatureTree-What-if-all-deselected-tp7600478p7600493.html
>  To unsubscribe from WixUI_FeatureTree : What if all deselected?, click
> here
> <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7600478&code=c3NtY3MwNjBAZ21haWwuY29tfDc2MDA0Nzh8LTEzMDU5NDQ4OTg=>
> .
> NAML
> <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixUI-FeatureTree-What-if-all-deselected-tp7600478p7600494.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to