windows installer - Wix Toolset - Is there a way to set a property based on RadioButtonGroup value within the control? -


what i'd set, or alternatively unset, property (create_user) based on selected radiobutton within radiobuttongroup control. possible?

note: example below not work me.

# placed under fragment tag <property id="sql_user_type" value="existingsqluser" />  # placed under dialog tag <control id="sqlusertype" type="radiobuttongroup" x="40" y="134" width="210" height="15" property="sql_user_type">     <radiobuttongroup property="sql_user_type">         <radiobutton value="newsqluser" x="90" y="0" width="80" height="15" text="!(loc.tenantdbconnectdlg_createnewuser)" />         <radiobutton value="existingsqluser" x="0" y="0" width="80" height="15" text="!(loc.tenantdbconnectdlg_useexistinguser)" />     </radiobuttongroup>     <publish property="create_user" value="1">sql_user_type = "newsqluser"</publish>     <publish property="create_user" value="{}">sql_user_type = "existingsqluser"</publish> </control> 

put publish elements on next button of dialog higher or schedule them set property custom actions in execute sequence. depends on silent installation story , when/what doing property. remember in silent install ui sequence isn't processed.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -