I haven't seen any more traffic on this, but if it is still an issue, I noticed that if AppSearch runs in InstallUISequence it is suppressed in InstallExecuteSequence, so any properties you are using that aren't UI-only should probably be marked "Secure" as well. Also, AppSearch properties should always be "PUBLIC" properties.
-----Original Message----- From: Nick Ball [mailto:nick.b...@grantadesign.com] Sent: Tuesday, November 03, 2009 2:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] File searching and SourceDir Ah yes, you are right, looking in the log, I can see that ResolveSource happens, but my property is never set. And so the feature is set to Request: Null, Action: Null. Now the full UI log sets all the search property in AppSearch. This doesn't happen in passive mode. Why not? BTW, I know the score with ResolveSource, but need a 'modular' configuration for production where they can take out features by just removing CAB files. As a consequence, I've disabled the 'change' option. -N -----Original Message----- From: Blair [mailto:os...@live.com] Sent: 02 November 2009 21:59 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] File searching and SourceDir 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 ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users