/build/static/layout/Breadcrumb_cap_w.png

Wise Package Studio 5.6 Dialog Editor

Hi there!

Does anyone know how to set the initial state of a checkbox(checked/unchecked)?

0 Comments   [ + ] Show comments

Answers (5)

Posted by: akhlaque 18 years ago
Orange Senior Belt
2
hi sini:

just make the correspond property to null (Blank) then the checkbox will appear blank.
Posted by: vamshidharr 18 years ago
Senior Yellow Belt
0
hi sini,

firstly create a property for a check box ,say checkremove and execute properties and keep the value as 1 in the property value and in the conditions add action diable and put checkremove~="true" , and then go for the exit box(if the check box is placed in the exit dialog box) and in the finish button -double click on it and place an event DoAction -in this execute the .exe you want to execute and put the condition EXECUTE=1.


hope this will work out for your problem.... if not let me know

regards,

vamshi reddy
Posted by: sini 18 years ago
Orange Senior Belt
0
It's a program that installs prerequisites as nested .msis! Upon removal the user is given the choice to also remove the prerequisites(MSDE and/or .NET Framework) by checking or unchecking the checkboxes. The checkboxes will set their corresponding properties to "True". The properties on the otherside are checked in the ExecuteDeferred Section after InstallFinalize! If the condition Installed And [PropertyName]="True" are true the corresponding prerequisite will be removed after the main product has been uninstalled. I've created 2 properties one is named REMOVEFRAMEWORK the other REMOVEMSDE. No matter what I set the properties initially to the checkboxes always appear checked when I enter the dialog.

I just want to for example set the property REMOVEMSDE to "False" and let the checkbox appear unchecked, when it gets checked REMOVEMSDE should be set to "True" and by clicking it once more to "False" again and so on. Nothing more, nothing should be disabled or anything like that.
Posted by: sini 18 years ago
Orange Senior Belt
0
Thanks man! that worked!
Posted by: wiseapp 18 years ago
Second Degree Green Belt
0
Hi Sini:

Anyways I think I was late , nice work Akhlaque and Vamshidhar.

God Bless You
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ