Discussion:
[WiX-users] Radio Button passing parameter to Custom Action
JoeMarks
2013-08-20 11:14:42 UTC
Permalink
Hello everyone!

In my current project, I must have the user selecting on of many radio
buttons, and execute a custom action according to the chosen value.

My current Dialog (the part that matters) is as follows:



And in my Product.wxs i have:



So as you can see, in my "Next" Button I want to run the "SetLanguage"
custom action (which I already managed to do), but I want to pass the
selection (language) as a parameter. It can be as string, int, doesn't
really matter, as long as I can get the value.

Already tried google, but I found very different results, none of them
providing me valuable content.

Thanks in advance,
Joe



--
View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Radio-Button-passing-parameter-to-Custom-Action-tp7588250.html
Sent from the wix-users mailing list archive at Nabble.com.
JoeMarks
2013-08-20 15:34:35 UTC
Permalink
Managed to get it right, got it from this stackoverflow post
<http://stackoverflow.com/questions/3582370/set-property-value-from-user-selection-in-wix>

Changed the "Next Button" to



And then I can get the value of the property on my Custom Action:



Hope this will be helpful to someone.



--
View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Radio-Button-passing-parameter-to-Custom-Action-tp7588250p7588256.html
Sent from the wix-users mailing list archive at Nabble.com.
Nicolás Alvarez
2013-08-21 17:56:25 UTC
Permalink
Post by JoeMarks
Hello everyone!
In my current project, I must have the user selecting on of many radio
buttons, and execute a custom action according to the chosen value.
FYI, your XML code got somehow lost in the message.
--
Nicolás
José Marques
2013-08-22 10:45:00 UTC
Permalink
Thank you for your reply.
Maybe it had something to do with my browser, since I replied on the
"forum" and add a <raw> tag to my xml.
But you can still see in here
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Radio-Button-passing-parameter-to-Custom-Action-td7588250.html

Cheers

On Wed, Aug 21, 2013 at 6:56 PM, Nicolás Alvarez
Post by Nicolás Alvarez
Post by JoeMarks
Hello everyone!
In my current project, I must have the user selecting on of many radio
buttons, and execute a custom action according to the chosen value.
FYI, your XML code got somehow lost in the message.
--
Nicolás
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
Loading...