I have the following searches setup to scrape values from an ini file
into properties
<Property Id="INI_INSTALL_LOCATION">
<IniFileSearch Id="Read.dzInstall.ini_dzHexagonInstallDir"
Name="dzInstall.ini" Section="ApplicationPath"
Key="dzHexagonInstallDir">
<DirectorySearch Id="CommonFilesFolder_dzInstall.ini"
Path="[CommonFilesFolder]">
<FileSearch Name="dzInstall.ini"/>
</DirectorySearch>
</IniFileSearch>
</Property>
<Property Id="INI_ICON_GROUP">
<IniFileSearch Id="Read.dzInstall.ini_dzHexagonIconGroup"
Name="dzInstall.ini" Section="ApplicationPath"
Key="dzHexagonIconGroup">
<DirectorySearchRef Id="CommonFilesFolder_dzInstall.ini">
<FileSearch Name="dzInstall.ini"/>
</DirectorySearchRef>
</IniFileSearch>
</Property>
I'm attempting to reuse the existing DirectorySearch with a
DirectorySearchRef to avoid duplication. Yet, when I do this, I get
the following error from WiX 3.0:
Product.wxs(9,0): error LGHT0091: Duplicate symbol 'Signature:CommonFilesFolder_dzInstall.ini' found.
Product.wxs(16,0): error LGHT0092: Location of symbol related to previous error.
Line 9 refers to the <DirectorySearch> and line 16 referes to the
<DirectorySearchRef>.
What am I doing wrong?
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<
http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>
Legalize Adulthood! <
http://legalizeadulthood.wordpress.com>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users