The condition on your publish property event appears to be the problem. If
you always want this event to trigger than this text:
<Publish Property="ISWEBBOX" Value="TRUE">TRUE</Publish>
should read like this:
<Publish Property="ISWEBBOX" Value="TRUE">1</Publish>
When you have just "TRUE" in there. The installer isn't really checking
against anything so that condition will always evaluate to false. "1" means
run this all the time.
Regards,
//aj
On 5/22/07, Mike Menaker <[EMAIL PROTECTED]> wrote:
Hi,
I'm not sure what I'm doing wrong.
When one feature is selected it will go to a certain dialog, in this
dialog I will always set a property to true. And later I will check this
property in a component.
Here is what I have in the dialog:
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Disabled="no" Text="$(loc.WixUINext)">
<Publish Property="ISWEBBOX" Value="TRUE">TRUE</Publish>
<Publish Event="NewDialog" Value="
[WixUI_WEBConfigToReadyToInstall_Next]"></Publish>
</Control>
And in the component:
<Component Id='Comp1' Guid='
345c09f9-f760-4700-89da-12f1a1cbf08c' KeyPath="yes" DiskId="1" >
<Condition><![CDATA[(ISWEBBOX = 'FALSE')]]></Condition>
… (I cut out the stuff here, doesn't matter)
</Component>
<Component Id='Comp2' Guid='
0BBCE421-BC25-46cc-8A86-3F9EAEF4A839'>
<Condition><![CDATA[(ISWEBBOX = 'TRUE')]]></Condition>
<CreateFolder />
… (I cut out the stuff here, doesn't matter)
</Component>
Any help would be much appreciated!
Thanks,
Mike
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users