Hi,
For WIX 3.0, following Wix file compiles fine. However
1. If I move the Directory in section 1 into an include file in section 2 and
include that file, the light.exe fails with
Error 8 Unresolved reference to symbol 'Directory:INSTALLDIR_MU' in section
'Product:{BA27CF65-2466-40E5-B592-5754F32E601D}'. D:\Scratch\WixProject2\MMMM.wxs 24 1 WixProject2
2. If I also move the Directory in section 3 into an include file in section 4
and include that file, it compiles fine.
Could anyone explain why? It looks like a bug to me.
Thanks,
Zhisheng
<?xmlversion="1.0"encoding="UTF-8"?>
<Wixxmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension">
<ProductId="ba27cf65-2466-40e5-b592-5754f32e601d"Name="MMMM Server"
Language="1033"
Version="1.0.0.0"
Manufacturer="MMMMM"
UpgradeCode="426d1089-c0bc-435c-821b-9a0ceb6bf901">
<PackageInstallerVersion="200"Compressed="yes"/>
<MediaId="1"Cabinet="MMMM.cab"EmbedCab="yes"/>
<!--section 1-->
<DirectoryId='TARGETDIR'Name="SourceDir">
<</DirectoryId='INSTALLDIR_MU'Name='.'>
</Directory>Directory>
<!--section 2-->
<!--<?Include Shared.wxi?>-->
<!--section 3-->
<DirectoryRefId='INSTALLDIR_MU'>
<
</
</Wix>
DirectoryId='WWWDIR'Name="wwwroot">
</Directory>DirectoryRef>
<!--section 4-->
<!--<?Include IISConfig.wxi?>-->
</Product>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users