Hi there!

Does anyone know how to set the initial state of a checkbox(checked/unchecked)?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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
Answered 08/30/2005 by: vamshidharr
Senior Yellow Belt

Please log in to comment
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.
Answered 08/30/2005 by: sini
Orange Senior Belt

Please log in to comment
2
hi sini:

just make the correspond property to null (Blank) then the checkbox will appear blank.
Answered 08/30/2005 by: akhlaque
Orange Senior Belt

Please log in to comment
0
Thanks man! that worked!
Answered 08/30/2005 by: sini
Orange Senior Belt

Please log in to comment
0
Hi Sini:

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

God Bless You
Answered 08/30/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity