Properties should be set after msiexec parameters. Move the "/lv*! install.log" to before you declare your properties.
If that doesn't work try without the # in your properties or try changing the Feature Level to something arbitrarily high like 9999 which will be above your standard INSTALLLEVEL. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Jeff Perrigo [mailto:jeff.perr...@microsoft.com] Sent: 08 April 2010 02:55 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Forcing conditional feature install 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users