>From the documentation:

The following table shows the feature and component state values used in 
conditional expressions. These states are not set until MsiSetInstallLevel is 
called, either directly or by the CostFinalize action.

Since Launch Conditions are normally evaluated before CostFinalize, 
!FeatureName is going to be empty instead of "3".  I'm running into this issue 
now trying to conditionalize a dialog specific to a feature.

--
John Merryweather Cooper
Jack Henry & Associates, Inc. (Premier Tech, Inc.)
Build & Install Engineer - jXchange
Office:  913-341-3434 x791011
jocoo...@jackhenry.com


-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Saturday, August 06, 2011 9:54 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] feature install state always stops install under XP SP3

Something is definitely fishy in there. Look at verbose log files for all the 
different installs. They will show you the state of the Features and from there 
you should be able to hunt down what is going on.

On Fri, Aug 5, 2011 at 9:36 AM, Peter Stein <pst...@instec-corp.com> wrote:

> Straight from the tutorial: "The term NOT (!FeatureName = 3) means the 
> feature is not installed locally."
>
> So since I want the install to stop if the feature *is* already 
> installed in my product.wxs I have:
>
> <Condition Message="FeatureA already installed">
>      <![CDATA[(!FeatureA = 3)]]>
> </Condition>
>
> Problem is this *always* stops the installer even when the software is 
> not installed!?
>
> Scenario:
>
> 1. Software not installed.
> 2. Install via msi installer. No issues.
> 3. Try running installer again. It stops with "FeatureA already installed"
> message. So far so good.
> 4. Remove software with Control Panel->"Add or Remove Programs".
> 5. Try running installer again. It stops with "FeatureA already installed"
> message. Bzzzt. THIS IS CLEARLY WRONG!!
>
> I have even tried rebooting XP after the removal via CP but that has 
> no impact.
> Also looked in the registry after removal via CP, but cannot find any 
> software remnants.
>
> Any ideas on what's going on and how to make it work?
> Thanks.
>
> ----------------------------------------------------------------------
> -------- BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, 
> CA The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend 
event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to