Hello,

I have page with boolean parameter presented with check box. In the validation action list I'm checking the state of this checkbox. In case it is not checked , pressing on the next button will popup warning message. Even if I go back to this screen I set the checkbox value in the preShowPageActionList to 0. It seems that everything is working well. But In case I check the box and immediately un-check it and then press on the next button the popup message not appear and the rest steps act as the check box was checked. Is there any way to avoid that or is that a bug

Appreciate your help. Ronen

alt text

asked 09 Jan '13, 12:23

Ronen's gravatar image

Ronen
16565656
accept rate: 0%


Is that happening on Windows? Are you using InstallBuilder for Qt or the regular flavour?

link

answered 10 Jan '13, 16:58

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

The issue is that you are using <compareValues> instead of <isFalse>. In Qt mode, the value is set to false, not 0, when it is unchecked again. The <compareValues> rule becomes false (as 0 is not the same value as false), but <isFalse> rule would still be true in this case. So it should be:

<validationActionList> <throwError> <text>The license reminder must be acknowledged before proceeding with the software installation</text> <ruleList> <isFalse> <value>${Acknowledge}</value> </isFalse> </ruleList> </throwError> </validationActionList>

link

answered 11 Jan '13, 03:35

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2

Asked: 09 Jan '13, 12:23

Seen: 535 times

Last updated: 11 Jan '13, 03:35