I think setting the feature's level to 0 might be what you want to do.

Rob

Bjørndahl wrote:
> Hi.
> 
>  
> 
> I’m struggling with an issue in WIX.
> 
> I have used a external dll (c++) to validate a product key.
> 
> This is called using the DoAction event calling PIDKEYValidation.
> 
>  
> 
> This works fine…
> 
> But now I want to disable or remove the features where a specific 
> parameter has a empty string value.
> 
> The events AddLocal / Remove will only select or deselect the features.
> 
>  
> 
> This is my WIX code:
> 
>  
> 
> <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" 
> Height="17" Default="yes" Text="Next">
> 
>   <Publish Event="DoAction" Value="PIDKEYValidation">1</Publish>
> 
>   <Publish Event="AddLocal" 
> Value="AppServerFeature"><![CDATA[INSTALL_FEATURE_APP_SERVER <> 
> ""]]></Publish>
> 
>   <Publish Event="Remove" 
> Value="AppServerFeature"><![CDATA[INSTALL_FEATURE_APP_SERVER = 
> ""]]></Publish>
> 
>   <Publish Event="AddLocal" 
> Value="ExtentionsFeature"><![CDATA[INSTALL_FEATURE_EXTENTIONS <> 
> ""]]></Publish>
> 
>   <Publish Event="Remove" Value=" ExtentionsFeature 
> "><![CDATA[INSTALL_FEATURE_ EXTENTIONS = ""]]></Publish>         
> 
> </Control>
> 
>  
> 
> I hope anyone can help me…
> 
> Thomas Bjørndahl
> Senior Systems Engineer 
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


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

Reply via email to