Hello everyone.

I'm attempting to create an installer for a COM+ extension, however I'm
encountering a build exception:

#################################################################

Error 14 The Component element contains an unhandled extension element
'complus:ComPlusApplication'.  Please ensure that the extension for
elements in the 'http://schemas.microsoft.com/wix/ComPlusExtension'
namespace has been provided.
C:\Development\Dimmi.BookingQueue\Dimmi.BookingQueue.Installer\MergeModule.wxs
11 1 Dimmi.BookingQueue.Installer

#################################################################

I've based this configuration off this guide:
http://wix.tramontana.co.hu/tutorial/com-expression-syntax-miscellanea/com-applications

My WXS file looks like this:

#################################################################

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"; xmlns:complus="
http://schemas.microsoft.com/wix/ComPlusExtension";>
<?define MAINEXE=$(var.MyCompany.MyApp.TargetFileName)?>
<?define VERSION=!(bind.FileVersion.$(var.MAINEXE))?>
<Module Id="MyCompany.MyApp.Installer" Language="1033"
Version="$(var.VERSION)">
<Package Id="30ad56d8-dcc0-49bb-a427-df89c31c272c" Manufacturer="MyCompany"
InstallerVersion="200" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="MergeRedirectFolder" FileSource="..\..\Stage">
<Component Id="MyCompany.MyApp.dll" DiskId="1"
Guid="{E588F4F1-28C9-43F6-BC0E-764307A9271E}">
<File Id="MyCompany.MyApp.dll" Name="MyCompany.MyApp.dll"
Source="MyCompany.MyApp.dll" KeyPath="yes" Assembly="no" />
<complus:ComPlusApplication Id="MyCompany.MyApp" Name="MyCompany My App">
<complus:ComPlusAssembly Id="MyCompany.MyApp"
DllPath="[#MyCompany.MyApp.dll]" TlbPath="[#MyCompany.MyApp.tlb]"
Type=".net" RegisterInCommit="yes">
<complus:ComPlusComponent Id="IMyAppComponent"
CLSID="{0A30C2F9-6DEF-48A4-B1DD-F2FE06F47AE0}" />
</complus:ComPlusAssembly>
</complus:ComPlusApplication>
</Component>
<Component Id="MyCompany.MyApp.tlb" DiskId="1"
Guid="ff4dde7c-1819-4411-8908-e2461b87b343">
<File Id="MyCompany.MyApp.tlb" Name="MyCompany.MyApp.tlb"
Source="MyCompany.MyApp.tlb" KeyPath="yes" />
</Component>
</Directory>
</Directory>
</Module>
</Wix>

#################################################################

As far as I can see I have included the
http://schemas.microsoft.com/wix/ComPlusExtension namespace correctly. Can
anyone see where I'm going wrong?

In appreciation,
Aaron Newton
___
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to