Hmm, don't know what happens when copying from VS xml editor into the web mail. Try again by copying through notepad. -- Very sorry about this. <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"> <Product Id="ba27cf65-2466-40e5-b592-5754f32e601d" Name="MMMM Server" Language="1033" Version="1.0.0.0" Manufacturer="MMMMM" UpgradeCode="426d1089-c0bc-435c-821b-9a0ceb6bf901"> <Package InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="MMMM.cab" EmbedCab="yes" /> <!--section 1--> <Directory Id='TARGETDIR' Name="SourceDir"> <Directory Id='INSTALLDIR_MU' Name='.'> </Directory> </Directory> <!--section 2--> <!--<?Include Shared.wxi?>--> <!--section 3--> <DirectoryRef Id='INSTALLDIR_MU'> <Directory Id='WWWDIR' Name="wwwroot"> </Directory> </DirectoryRef> <!--section 4--> <!--<?Include IISConfig.wxi?>--> </Product> </Wix>
----- Original Message ---- From: Zhisheng Huang <[EMAIL PROTECTED]> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Thursday, June 19, 2008 9:45:09 PM Subject: Re: [WiX-users] Unresolved reference to symbol The file pasted is somehow out of order. Resent the file. <? < < < < section 1-->DirectoryId='TARGETDIR'Name="SourceDir">DirectoryId='INSTALLDIR_MU'Name='.'>Directory>Directory> <!-- < < </ </ section 2--><?Include Shared.wxi?>--> <!-- <!-- </Product>Wix> ----- Original Message ---- From: Zhisheng Huang <[EMAIL PROTECTED]> To: wix-users@lists.sourceforge.net Sent: Thursday, June 19, 2008 9:28:51 PM Subject: [WiX-users] Unresolved reference to symbol 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users <!-- < < </ </ section 4--><?Include IISConfig.wxi?>--> <!-- <!-- </section 3-->DirectoryRefId='INSTALLDIR_MU'>DirectoryId='WWWDIR'Name="wwwroot">Directory>DirectoryRef>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"/> ------------------------------------------------------------------------- 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users