I don't understand how ResolveSource (which looks for your installation MSI) applies to your situation. (ResolveSource in effect is a no-op in initial installations, since the source was supplied to begin with, and is used to ensure access to the non-stripped MSI during maintenance installations such as patching, repairs, and removals. It is generally frowned upon, intended for use when you want to error out early when you know you will need access to the "source").
Look at a verbose debug log and see what properties you have set in each sequence. Then backtrack in that same log to see where things are going wrong (feature state or filesearch). -----Original Message----- From: Nick Ball [mailto:nick.b...@grantadesign.com] Sent: Monday, November 02, 2009 10:07 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] File searching and SourceDir Hi All, I'm trying to write some conditional feature code, based on whether a certain file is available on the installation media. I've been setting a property like this: <Property Id="Feature1"> <DirectorySearch Id="Feature1" Path="[SourceDir]"> <FileSearch Id="Feature1" Name="feature1.cab"/> </DirectorySearch> </Property> And then using it like this: <Feature Id="Feature1" Title="Feature1" Level="1"> <Condition Level="0">NOT Installed AND Feature1=""</Condition> <..> </Feature> This works, provided the installation has a UI. But when run in silent mode, this feature does not get installed. How can I schedule ResolveSource so that my property has the right value? Cheers Nick ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users