Hi Everyone,
I am using a Custom UI which gets the users preference for the application to
get installed for the Current User or for All Users according to the user
preference. I am getting the users choice using the RadioButtonGroup. I am also
aware of the Property AllUsers=1 which makes the installtion for all users. I
am not able to retreive the users information in which he prefers Current User
or All Users in the RadioButton. I want this to take place as a conditional
installtion if the user chooses Current User then the installation should take
place for current user alone, else if it is for All Users it should take place
for All Users. I dont know where i am going wrong. Here is the snippet of the
code which i am using.
<
<
<
</
DialogId='UserSelectionDlg'Width='370'Height='270'Title='ProAnalytics 1.0
Setup'NoMinimize='yes'>ControlId='UserSelectionLabel'Type='Text'X='45'Y='73'Width='100'Height='15'TabSkip='no'Text='&Please
Select the User'/>
<
<
<
ControlId='Back'Type='PushButton'X='180'Y='243'Width='56'Height='17'Text='&Back'>PublishEvent='NewDialog'Value='ProductKeyDlg'>1</Publish>Control>
<
<
</
ControlId='Next'Type='PushButton'X='236'Y='243'Width='56'Height='17'Default='yes'Text='&Next'>
PublishEvent='SpawnWaitDialog'Value='WaitForCostingDlg'>CostingComplete =
1</Publish>PublishEvent='NewDialog'Value='SetupTypeDlg'>UserSelected="yes" or
"no"</Publish>
<
<
ConditionAction='disable'>
<<![CDATA[
</
ConditionAction='enable'>UserSelected</
</
ControlId='Cancel'Type='PushButton'X='304'Y='243'Width='56'Height='17'Cancel='yes'Text='Cancel'>PublishEvent='SpawnDialog'Value='CancelDlg'>1</Publish>Control>
<
<
</
ControlId='BannerBitmap'Type='Bitmap'X='0'Y='0'Width='370'Height='44'TabSkip='no'Text='WixUI_Bmp_Banner'/>
<
<ControlId='Description'Type='Text'X='25'Y='23'Width='280'Height='15'Transparent='yes'NoPrefix='yes'>
<Text>Please tell where to install</Text>
</Control>
ControlId="BottomLine"Type="Line"X="0"Y="234"Width="370"Height="0"/>
<
<ControlId="Title"Type="Text"X="15"Y="6"Width="200"Height="15"Transparent="yes"NoPrefix="yes">Text>{\WixUI_Font_Title}User
Selection</Text>Control>
<
</
ControlId='BannerLine'Type='Line'X='0'Y='44'Width='370'Height='0'/>Dialog>
<
</
Please help me.
Thanks
PrabhakaranControl>Condition>
<(UserSelected <>"Just Me") AND (UserSelected <>
"Everyone")]]>Condition><ControlId='Buttons'Type='RadioButtonGroup'X='20'Y='100'Width='330'Height='50'Property='UserSelected'/>RadioButtonGroupProperty='UserSelected'>RadioButtonText='Just
Me'X='25'Y='0'Width='250'Height='15'Value='Just
Me'/>RadioButtonText='Everyone'X='25'Y='20'Width='250'Height='15'Value='Everyone'/>RadioButtonGroup>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users