/qb means that the user interface sequence isn't run, so make sure your search (I think there'll be an AppSearch standard action) is in the Execute and UI sequences.
Phil Wilson -----Original Message----- From: Marc Bauer [mailto:marc....@gmx.net] Sent: Thursday, September 08, 2011 2:15 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] DirectorySearch/FileSearch not executed if msiexec runs with qb ? Hi I'm trying to copy a file FOO.DB to the APPLICATIONFOLDER. The FOO.DB can optionally copied into the same folder like the MSI, but is not included in the MSI. The FOO.DB is optional; it may be there or not. If I run the setup interactively it just works. If I'm running it with /qb the FOO.DB is not copied to the APPLICATIONFOLDER. <Property Id="CUSTOM_PRE_CONFIGURATION" Secure="yes"> <DirectorySearch Id="DirSearch" Path="[SOURCEDIR]" Depth="0"> <FileSearch Id="FileSearch" Name="foo.db" /> </DirectorySearch> </Property> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="APPLICATIONFOLDER" Name="$(var.ProductName)"> <Component Id="FOO.DB" Guid="GUID"> <CopyFile Id="FOO.DB" SourceProperty="CUSTOM_PRE_CONFIGURATION" DestinationProperty="APPLICATIONFOLDER" /> </Component> MSI debugging with /qb shows: MSI (s) (80:C8) [22:34:54:130]: Dir (target): Key: CUSTOM_PRE_CONFIGURATION , Object: NULL >From the logfile it looks like the FileSearch is not executed at all with /QB. Any idea what I'm doing wrong or if this is a bug? If a bug I need a workaround... Regards Marc ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users