Hi Vidya, 

Finally i have done this as well, Nothing really big in order to deal with
this problem, Wix uses Localization file in order to display the text on
SelectionSize Event, if you open the WixUI_en-us.wxl you will see the
following string for this purpose and display the information. 

    <String Id="UITextSelChildCostPos" Overridable="yes">This feature
requires [1] on your hard drive.</String> 
    <String Id="UITextSelParentCostPosPos" Overridable="yes">This feature
requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The
subfeatures require [4] on your hard drive.</String> 
    <String Id="UITextSelChildCostNeg" Overridable="yes">This feature frees
up [1] on your hard drive.</String> 
    <String Id="UITextSelParentCostPosNeg" Overridable="yes">This feature
requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The
subfeatures free up [4] on your hard drive.</String> 
    <String Id="UITextSelParentCostNegPos" Overridable="yes">This feature
frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The
subfeatures require [4] on your hard drive.</String> 
    <String Id="UITextSelParentCostNegNeg" Overridable="yes">This feature
frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The
subfeatures free up [4] on your hard drive.</String>


So in order to display the Parent Total rather then the current solected
total and sub features. I changed the following Strind Id`s in a following
way. 

  <String Id="UITextSelChildCostPos" Overridable="yes">This feature requires
[1] on your hard drive.</String> 
  <String Id="UITextSelParentCostPosPos" Overridable="yes">This feature
requires [4] on your hard drive. It has [2] of [3] subfeatures
selected.</String>


So now it shows the Total of the Child Features on selection of the parent
features, which in my case is perfect because i dont have any components in
my parent features anyways. 

SO All you need to do is to Add Wxl (localization file) and override only
these string id`s and compile and Bee Happy 

:D 

Thanks 




Vidya Kukke wrote:
> 
> I did'nt get response to this. So I am still stuck at this problem too :(.
> 
> Anyone have any ideas?
> 
> -----Original Message-----
> From: BOB1981 [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 08, 2008 12:44 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Q about Feature costing..
> 
> 
> Hi Vidya,
> 
> I am also Facing the Same problem as you are, i wonder what have you done
> to
> fix it.
> 
> I want change the text for Parent Feature to show the text totalling the
> subfeature. Please let me know is anything at all u think would help me
> 
> Thanks
> 
> 
> Vidya Kukke wrote:
>>
>> Hi,
>>
>> My installer has a feature tree with sub-features. The costing displayed
>> in the custom setup dialog is good for the sub-feature.
>>  However at the parent feature level it shows as 0KB. Is there any way I
>> can modify that to just show the costing of the sub-features?
>>
>> E.g of my custom setup dlg with parent feature selected
>> Parent Feature
>>
>> -          Child Feature1
>>
>> -          Child Feature2
>>
>> Message displayed is
>> This component installs <component name>.
>> This feature requires 0KB on your hard drive. It has 2 of 2 subfeatures
>> selected. The subfeatures require 1234KB on your hard drive.
>>
>> My Q is can we change the text highlighted in red ?
>>
>> Thanks
>> Vidya
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
> 
> --
> View this message in context:
> http://n2.nabble.com/Q-about-Feature-costing..-tp1080942p1307598.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Q-about-Feature-costing..-tp1080942p1316528.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to