Friday, 15 July 2011

wix - Install a file only if both the features are selected -



wix - Install a file only if both the features are selected -

there 2 features - feature1 , feature2;i need install file if both features selected, have written:

<component id="cmpcfa15f2c5dc1eeea145360ea017fb322" guid="*"> <condition><![cdata[(&feature1=3) , (&feature2=3)]]></condition> <file id="filcb4bd4847e5bdfc79a4308d520941a22" keypath="yes" source="$(var.binsourcedir)\hello.exe" /> </component>

but not work, help appreciated.what missing?.thanks in advance

feature states in component conditions won't work. see http://www.joyofsetup.com/2008/04/09/feature-states-in-component-conditions/ breakdown of why doesn't work.

wix windows-installer wix3 wix3.6 wix3.7

No comments:

Post a Comment