Hi all,
I am trying to do an admin install of an MSI with a conditional feature and I
need the feature to be installed regardless of the condition. The condition is
a property which I've tried setting on the command line, but the feature still
isn't installed. It appears that the condition is being ignored. Is there a
way with an admin install to force all features to be installed? Any help
would be much appreciated.
Here is the command I am running:
msiexec.exe /qn /a "myinstall.msi" TARGETDIR="C:\temp\msitest" MY_PROPERTY="#1"
ADDLOCAL=ALL /lv*! install.log
Here is a line from my log file showing that request and action are null for
this feature:
MSI (s) (04:64) [15:00:39:123]: Feature: FT.MyFeature; Installed: Absent;
Request: Null; Action: Null
Below is the authoring for my feature:
<Feature Id="FT.MyFeature" Title="My Feature" Absent="allow"
AllowAdvertise="no" Description="My Feature Description" Display="expand"
Level="0" InstallDefault="local" TypicalDefault="install">
<Condition Level="1"> <![CDATA[MY_PROPERTY = "#1"]]> </Condition>
<ComponentRef Id="CP.Some_Component" />
</Feature>
Thanks!
Jeff
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users