Here is a COM+ fragment I have just knocked up. <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:complus="http://schemas.microsoft.com/wix/ComPlusExtension"> <Fragment Id="Files"> <DirectoryRef Id="INSTALLDIR"> <Component Id="LogEvnt_dll" DiskId="1" Guid="E0E0C0B6 PUT-GUID-HERE "> <File Id="LogEvnt_dll" Name="LogEvnt.dll" Source="Files\LogEvnt.dll" KeyPath="yes" Vital="yes" /> <complus:ComPlusApplication Id="LogEvnt" Name="My COM+ Application"> <complus:ComPlusAssembly Id="MyComPlusAssembly" Type="native" DllPath="[#LogEvnt_dll]"> <complus:ComPlusComponent Id="LogEvnt" CLSID=" PUT-GUID-HERE " /> </complus:ComPlusAssembly> <complus:ComPlusApplicationRole Id="Role" Name="My Role" /> </complus:ComPlusApplication> </Component> </DirectoryRef> </Fragment> </Wix>
If you are using Votive the you need to reference the WiXComPlusExtension if you are building from the command line then use something like this: candle -ext WixComPlusExtension.dll -out obj\ *.wxs light -cultures:en-US -ext WixComPlusExtension.dll -out Setup.msi obj\*.wixobj I hope this helps. Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mo Benmouffok Sent: 01 August 2008 12:56 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix 3.0 Com+ deployment question. No sure I understand the answer. So I have the following command-line. The extension I want to use is specified in the command line. Candle Main.wxs -ext WixComPlusExtension.dll When I run it, I get the following message. C:\MultiCorpora Projects\Ito\Build\MSI\OutsideIn\Main.wxs(26) : error CNDL0200 : The Component element contains an unhandled extension element 'pca:ComPlusAppli cation'. Please ensure that the extension for elements in the ' http://schemas.m icrosoft.com/wix/2005/02/pubca' namespace has been provided. Do I still need the pcaext in Wix 3.0. If yes, I don't see it part of Wix 3.0? Has anyone been using COM+. I tried to find documentation on Com+ support on the net, but I find only things related to Com+ in Wix 2.0. Has anyone been using Com+ in Wix 3.0. Thanks. On Thu, Jul 31, 2008 at 5:43 PM, Bob Arnson <[EMAIL PROTECTED]> wrote: > Mo Benmouffok wrote: > > *Candle Main.wxs -ext > > Microsoft.Tools.WindowsInstallerXml.Extensions.ComPlusCompiler, > > WixComPlusExtension.dll * > > > > In WiX v3, you reference an extension just by specifying its assembly; > Candle et al will load the extension based on the types it contains. > > -- > sig://boB > http://joyofsetup.com/ > > > > ------------------------------------------------------------------------ - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users