slidonnici
Posts: 4
Joined: Thu Nov 18, 2010 3:24 pm

Howto set a property value from a radiobuttongroup

Hello, I'm trying to set a PropertyValue using a Radiobuttongroup with no success...
I've created a custom dialog where I've put a radiobuttongroup, selecting my custom property name as its "property name" value. I've then added two radiobuttons, setting their values to 1 and 2.
Unfortunately this doesn't seem to work, as the property value remains with no value at the end of the installation.
Any suggestion ?

Thanks
Sergio
slidonnici
Posts: 4
Joined: Thu Nov 18, 2010 3:24 pm

Re: Howto set a property value from a radiobuttongroup

I've finally managed to make this work setting the property as public, I now need to know how to update the installation behaviour of a feature based on this property value.
I have set the feature behaviour as "Install based on condition" but it seems that the condition is tested only at startup, changing the property value through the radio buttons doesn't update the condition status.
Is there a way to force the verification of the install conditions ?

Thanks
Sergio
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Howto set a property value from a radiobuttongroup

Hello,

Unfortunately you cannot condition the installation of a feature by using a property set in the installation's User Interface.
Instead, please follow our how to regarding this.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”