Hi Everyone,
I want to create a feature allow user to associate a file extension to one of
my distubuted applicatio but it comes up with the following error message:
error LGHT0204 : ICE69: Mismatched compone
nt reference. Entry 'reg025239CBB8E309CA4AF78D766B8DBDE4' of the Registry table
belongs to component 'ExtensionComponent'. However, the formatted string in colu
mn 'Value' references file 'notepad2' which belongs to component 'MyComponent'.
Components belong to different features
In my sample I create 1 feature for normal install and other feature to
associate file extension. The reason I put it in different feature because
only user enable feature 2 will associate the extension. Can anyone tell me
what is wrong? I already read the Wix help file but it won't help.
<?xml version='1.0'?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id='2F932D9B-754B-4169-9F76-8934CED8771F' Name='Test Package'
Language='1033'
Version='1.0.0.0' Manufacturer='Microsoft Corporation'
UpgradeCode="FC39F3FD-17B3-4E87-8375-8C46CE3931A9">
<Package Description='My first Windows Installer package'
Comments='This is my first attempt at creating a Windows
Installer database'
Manufacturer='Microsoft Corporation' InstallerVersion='200'
Compressed='yes' />
<Media Id='1' Cabinet='product.cab' EmbedCab='yes' />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='MyDir' Name='TestProg' >
<Component Id='MyComponent'
Guid='8E50D268-2749-4EEC-9B3D-B13A2EF6B27A'>
<File Id='readme' Name='readme.ddd' DiskId='1' />
<File Id='notepad2' Name='notepad2.exe' DiskId='1' />
</Component>
<Component Id='ExtensionComponent'
Guid='05E6BDFD-82B0-4B75-937A-AC157DEB6887' KeyPath="yes">
<Extension Id="ddd"
ContentType="application/ddd">
<Verb Id='open' Command='Open' TargetFile='notepad2' Argument='"%1"' />
</Extension>
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id='MyFeature' Title='Normal Install' Level='1'>
<ComponentRef Id='MyComponent' />
</Feature>
<Feature Id='DDDExtension' Title='Associate file extension ' Level='1'>
<ComponentRef Id='ExtensionComponent' />
</Feature>
<UIRef Id="WixUI_FeatureTree" />
</Product>
</Wix>
Thank you very much for your help in advance.
Jeff
Need a Holiday? Win a $10,000 Holiday of your choice. Enter
now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users