The below WIX code is producing this error: testiis.wxs(17) : error LGHT0204 : ICE18: KeyPath for Component: 'WebVDComponent' is Directory: 'VIRTUALDIR'. The Directory/Component pair must be listed in the CreateFolders table.
I really don't know what to fix here or what I should do? Do I have to use the CreateFolder or CreateFolders element? Begin Wix Code: <?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="*" Name="$(env.ProductName)" Language="1033" Version="$(env.Version)" Manufacturer="Company" UpgradeCode="114989C7-990E-4CA2-92BF-6D73A64DBF6F"> <Package Id="*" Description="$(env.ProductDescription)" Comments="$(env.ProductComments)" InstallerVersion="200" Compressed="yes" /> <Property Id='DiskPrompt' Value="$(env.ProductName) Installation [1]" /> <Property Id='LicenseAccepted' Value="1" /> <Media Id='1' Cabinet='Product.cab' EmbedCab='yes' /> <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='VIRTUALDIR' Name='CustomActionTest'> <Component Id='WebVDComponent' Guid='34639DA6-166C-40BB-B89E-FE1091B157E4'> <iis:WebVirtualDir Id='WebVDID' Alias='itech.cardactivation' Directory='VIRTUALDIR' WebSite='DefaultWebSite'> <iis:WebApplication Id='WebVDID' Name='itech.cardactivation'/> <iis:MimeMap Id='grxml' Extension ='.grxml' Type ='application/srgs+xml'/> </iis:WebVirtualDir> </Component> <Component Id="component0" DiskId="1" Guid="C9EFBE34-F509-4FF4-BB7F-2EDD6A9C6833"> <File Id="file0" Name="Default.aspx" Source="Default.aspx" /> </Component> </Directory> </Directory> </Directory> <iis:WebSite Id='DefaultWebSite' Directory='VIRTUALDIR' Description='Default Web Site'> <iis:WebAddress Id='AllUnassigned' Port='80' /> </iis:WebSite> <Feature Id="WebFeature" Title="$(env.FeatureTitle)" Level="1" Description="$(env.FeatureDescription)" Display="expand" InstallDefault="local" AllowAdvertise="no" Absent="allow" TypicalDefault="install" ConfigurableDirectory='VIRTUALDIR'> <ComponentRef Id='component0'/> <ComponentRef Id='WebVDComponent'/> </Feature> <Property Id="WIXUI_INSTALLDIR" Value="CUSTTEST" /> <UIRef Id="WixUI_Minimal" /> </Product> </Wix> This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are the intended recipient, you must treat the information in confidence and in accordance with all laws related to the privacy and confidentiality of such information. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies of this email, including all attachments. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users