Hi all
I have trying to read a license file. Based on the valid license value, I
need to install files related to it.

I have declared a Property in Wix
<Property Id="RProperty" Value="0" /> 

On reading the license file, I am setting the property value.
MsiSetProperty(hInstall,"RProperty","1");

Next, I need to install those files related to it
<Feature Id="RFileFeature" Title="Main Feature" Level="0">
 <Condition Level="1">RProperty=1</Condition>
 <ComponentRef Id="RFile"/>
</Feature>

I am setting the Level = 0 (disable) and using Condition element, I am
enabling it if RProperty is being set.
But I am not able to install the files that I have packaged in my Component
=RFile.

Any idea where I am going wrong? Is my approach correct? 

Best Regards
Shivin
 

-- 
View this message in context: 
http://www.nabble.com/Feature-element--setting-of-Level-attribute-tp14592806p14592806.html
Sent from the wix-devs mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to