HI ALL,
I have been reading a while around on COM+ setup in wix. Unfortunately I
have not found so far the answer to my question.
My system has the following parameters:

1-sharpdevelop installation (I remark that sharpdevelop itself has got a
local copy of wix library)
2-wix 2.0 installation

I had implemented a setup project in sharpdevelop using wix library. But as
a feature I have a COM+ dll , which must be installed as an add-in within a
given software GUI under windowsXP. Here according to the wix 2.0 online
tutorial I found the code used everywhere on these forum pages.
Unfortunately I do not have any idea about how too properly include
references to pubca stuffs (schema, lib...). The code below did not compile
because of the following error:


Error message:
The Component element contains an unexpected child element
'pca:ComPlusApplication'. (CNDL0005) -
D:\SETUP_DEPLOYMENT\ProjectSetup\Sansan\Sansan.wxs:15.


the code is shown below:
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";     
     xmlns:pca="http://schemas.microsoft.com/wix/2005/02/pubca";>        
        <Module Id="File1" Guid="74E4C484-8E83-4367-A8C4-8F6353C971C8" 
Language="0"
Version="1.0.0.7">
                <Package Id="74E4C484-8E83-4367-A8C4-8F6353C971C8" 
InstallerVersion="200"
Languages="1033" Manufacturer="SM" SummaryCodepage="1252" AdminImage="no"
ShortNames="no" />                              
                <Directory Id="TARGETDIR" Name="SourceDir">
                        <Directory Id="ProgramFilesFolder" Name="PFiles">
                                <Directory Id="TTools" Name="TTools">
                                        <Directory Id="INSTALLDIR" 
Name="cTOOLS" >
                                                <Component Id="MyCOM_dll" 
Guid="A11FA7AB-589A-4950-928C-5EC2D19B8DC0">
                                                        <File Id="MyCOM_dll" 
Name="MyCOM.dll" LongName="Sansan.dll"
KeyPath="yes" Assembly=".net"
                                                              
Source="D:\SETUP_DEPLOYMENT\ProjectSetup\Sansan.dll"/>                          
                          
                                                        <pca:ComPlusApplication 
Id="MyCOM" Name="Sansan">
                                                                
<pca:ComPlusAssembly Id="MyComPlusAssembly" TlbPath="[#MyCOM_dll]"
Type=".net" DllPathFromGAC="yes" RegisterInCommit="yes" />
                                                                
<pca:ComPlusComponent Id="MyCOM"
CLSID="8BAC1633-E462-4f56-97EF-E2D48BA61916" />
                                                        
</pca:ComPlusApplication>
                                                </Component>
                                        </Directory>
                                </Directory>
                        </Directory>
                        <Directory Id="ProgramMenuFolder" Name="PMenu" 
LongName="Programs">
                                <Directory Id="ProgramMenuDir" Name="CD" 
LongName="CONTOOLS" />
                        </Directory>
                </Directory>
        </Module>
</Wix>


Initially the local sharpdevelop installation didn't contain any copy of
pubca.wixlib. I 've had to copy it from sourceforge.net. Am I missing
anything vital? Am I doing anything wrong? Please, any help would be more
than more than welcome! In advance many thanks.
Kasa

-- 
View this message in context: 
http://www.nabble.com/Installing-.NET-Serviced-COM%2B-component-tp3559578p14296937.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
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

Reply via email to