Re: [WiX-users] Dynamic checkbox initialization problem

2007-10-31 Thread János Brezniczky
...I must admit I'm a bit late with this reply, but still I think the
problem persists.
To be more specific, I include some snippets here. Things go on the same way
when I try to show/hide the control or affect the initial value of it.
Here's only the show/hide part, as I'm specifically interested in that - why
can't I get it work?
First, I initialize a global property with



The checkbox is in my custom UI, on the exit dialog:

  EXITDIALOGONCLOSEACTIONAPPLYCONTROLSHOW="1"
  EXITDIALOGONCLOSEACTIONAPPLYCONTROLSHOW
<>"1"


For the sake of a simplicity, I try to hide it with a simple custom action:

  
Session.Property("EXITDIALOGONCLOSEACTIONAPPLYCONTROLSHOW") = ""
  

Sequenced as
  

It does the modification (checked with MsgBox), and so on.
It still has no effect, while changing the property value in the property
element works appropriately.
Why?

2007/10/27, János Brezniczky <[EMAIL PROTECTED]>:
>
> First of all, thank you for answering.. my problem is that the checkboxsticks 
> to the value provided long before the script runs, no matter what
> value I provide, and if I don't specify one, it remains unchecked because of
> the default 'empty' value of the property. It seems to be immune to whatever
> I do, but I'll retry again, and give a feedback.
>
> Thanks till that time!
>
>
> 2007/10/27, Richard <[EMAIL PROTECTED]>:
> >
> >
> > In article <[EMAIL PROTECTED]
> > >,
> >"=?ISO-8859-1?Q?J=E1nos_Brezniczky?=" <[EMAIL PROTECTED]>  writes:
> >
> > >   Does anyone know a way to accomplish the initialization I'm stuck
> > with?
> > > What am I overlooking?
> >
> > Check boxes toggle the property value between empty and whatever ends
> > up listed in the CheckBox table (WiX has an attribute that specifies
> > this value in the control element, IIRC).  If you initialize the
> > property to some other value, I don't think the checkbox will be
> > checked properly.
> > --
> > "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
> > download
> >  < http://www.xmission.com/~legalize/book/download/index.html>
> >
> >Legalize Adulthood! 
> >
> > -
> >
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Dynamic checkbox initialization problem

2007-10-27 Thread János Brezniczky
First of all, thank you for answering.. my problem is that the checkbox
sticks to the value provided long before the script runs, no matter what
value I provide, and if I don't specify one, it remains unchecked because of
the default 'empty' value of the property. It seems to be immune to whatever
I do, but I'll retry again, and give a feedback.

Thanks till that time!


2007/10/27, Richard <[EMAIL PROTECTED]>:
>
>
> In article <[EMAIL PROTECTED]>,
>"=?ISO-8859-1?Q?J=E1nos_Brezniczky?=" <[EMAIL PROTECTED]>  writes:
>
> >   Does anyone know a way to accomplish the initialization I'm stuck
> with?
> > What am I overlooking?
>
> Check boxes toggle the property value between empty and whatever ends
> up listed in the CheckBox table (WiX has an attribute that specifies
> this value in the control element, IIRC).  If you initialize the
> property to some other value, I don't think the checkbox will be
> checked properly.
> --
> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
>  
>
>Legalize Adulthood! 
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Dynamic checkbox initialization problem

2007-10-27 Thread Richard

In article <[EMAIL PROTECTED]>,
"=?ISO-8859-1?Q?J=E1nos_Brezniczky?=" <[EMAIL PROTECTED]>  writes:

>   Does anyone know a way to accomplish the initialization I'm stuck with?
> What am I overlooking?

Check boxes toggle the property value between empty and whatever ends
up listed in the CheckBox table (WiX has an attribute that specifies
this value in the control element, IIRC).  If you initialize the
property to some other value, I don't think the checkbox will be
checked properly.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Dynamic checkbox initialization problem

2007-10-27 Thread János Brezniczky
Hi all!

  I'm using WiX 2.0.5325.
  I'm trying to initialize a checkbox control which is linked to a property.
The property is initialized according to different conditions which are
evaluated by a vbscript customaction, far before the dialog containing the
control shows up. In fact I even tried to sequence it with 1, to be the
first operation of the installation.
  The checkbox does not reflect the dynamically initialized value, which I
have checked with an MsgBox, but it reflects properly an initial value
provided via a property tag. Currently I've removed any default values, so
it is always unchecked when it shows up.
  Does anyone know a way to accomplish the initialization I'm stuck with?
What am I overlooking?

  Thanks,

  Janos
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users