I have a configuration file that exists right next to the MSI about to be
executed.
I need to copy this file during install to a specified location.

What am I doing wrong?

As always, thanks for any pointers in the right direction....


<Property Id="MASTERINIFILE_EXISTS">
 <DirectorySearch Id="MI_DirSearch" Path="[INSTALLLOCATION]" Depth="0">
  <FileSearch Id="MI_FileSearch" Name="Kai.ini"/>
 </DirectorySearch>
</Property>

<DirectoryRef Id="CommonAppDataFolder" >
 <Component Id="COMP_CopyMasterIni" Guid="<valid GUID here>" KeyPath="yes">
  <CopyFile Id="CopyMasterIni" SourceProperty="MASTERINIFILE_EXISTS"
DestinationDirectory="AppDataManufacturerFolder"/>
 </Component >
</DirectoryRef>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to