tell me about it. I've just tried $cWIAServices=3 and I still get the property 
set to "1" when that component isn't being installed.

I must be missing something but I can't think what.

-----Original Message-----
From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com] 
Sent: 20 January 2011 15:01
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Set property from feature

Conditions
<SetProperty ...>$cWIAServices=3</SetProperty>
and
<SetProperty ...>&feWIA=3</SetProperty>
should work correctly.

Maksim

-----Original Message-----
From: Simon Topley [mailto:simon.top...@mwhsoft.com] 
Sent: Thursday, January 20, 2011 1:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Set property from feature

just to clarify that this doesn't work for me if I use the component state 
instead of the feature state

Simon

-----Original Message-----
From: Simon Topley
Sent: 19 January 2011 18:10
To: 'wix-users@lists.sourceforge.net'
Subject: RE: Set property from feature

sorry the first one of them uses the component:

<SetProperty Id="CONFIGREQUIRED" Value="1" 
After="CostFinalize">?cWIAServices&gt;2 OR $cWIAServices&gt;2</SetProperty>

but i still get:

MSI (s) (64:E8) [10:05:59:199]: PROPERTY CHANGE: Modifying CONFIGREQUIRED 
property. Its current value is '0'. Its new value: '1'.

when the component is not being installed.

Simon

-----Original Message-----
From: Simon Topley
Sent: 19 January 2011 17:50
To: wix-users@lists.sourceforge.net
Subject: Set property from feature

Hello all,

I have a simple problem with WIX 3.0 but I just can't solve it. I have a 
feature "feWIA" and I wish to set a property to "1" when it is selected to be 
installed. I've tried just about every combination I can think of but they 
always result in the property being set incorrectly when i do or don't select 
that feature to be installed:

<SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize">?feWIA&gt;2 OR 
$feWIA&gt;2</SetProperty>

<SetProperty Id="CONFIGREQUIRED" Value="1" 
After="CostFinalize"><![CDATA[&feWIA=3]]></SetProperty>

<SetProperty Id="CONFIGREQUIRED" Value="1" 
After="CostFinalize"><![CDATA[(!feWIA=2) AND (&feWIA=4)]]></SetProperty>

<SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize"><![CDATA[NOT 
Installed AND &feWIA=3 Or &feWIA=4]]></SetProperty>

any more offers ladies and gentlemen?

Any help will be kindly received.

Simon





Disclaimer: This electronic communication and its attachments may contain 
confidential, proprietary and/or legally privileged information which are for 
the sole use of the intended recipient. If you are not the intended recipient, 
any use, distribution, or reproduction of this communication is strictly 
prohibited and may be unlawful; please contact the sender and delete this 
communication. MWH Soft does not warrant or make any representation regarding 
this transmission whatsoever nor does it warrant that it is free from viruses 
or defects, correct or reliable. MWH Soft is not liable for any loss or damage 
that occurs as a result of this communication entering your computer network.

The views expressed in this message are not necessarily those of MWH Soft. This 
communication cannot form a binding agreement unless that is the express intent 
of the parties and they are authorized to make such an agreement. MWH Soft 
reserves all intellectual property rights contained in this transmission. MWH 
Soft reserves the right to monitor any electronic communication sent or 
received by its employees.

MWH Soft Limited is registered in England with number 6975921. Its registered 
office is Terriers House, 201 Amersham Rd, High Wycombe, HP13 5AJ.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to