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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users