GAC and COM+ are two completely different things. In order for the COM+ framework to be able to load the assembly it needs to either be in a directory provided to COM+ (see the ApplicationDirectory property of the COM+ Applications collection) or in GAC. IMHO, you are a lot better off if you are able to avoid putting the assembly in GAC. In the example you probided earlier you specified 'Assembly=".net"' for the <File> element. That will make it go into GAC.
Regarding the error you received when the installer tried to add your assembly to GAC..do your assembly have a strong name? Also, the reason you don't need a typelib when registering an assembly directly with regsvcs is that it creates the typelib for you and places it next to the dll. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DEVAL SHAH Sent: Monday, March 26, 2007 8:52 PM To: [EMAIL PROTECTED] Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Using Wix to register COM+ -> similar to regsvcs Hello Fredrik, I have .Net serviced component which i am trying to put in Component Services and not in GAC[C:\Windows\Assembly]. According to me they are separate places. I use regsvcs to register my component and this put in Component Services -> COM+ Application. When I use regsvcs i do not have a typelib. Anyways i ran Tlbexp.exe complus.dll /out:mydll.tlb and got a tlb file. I changed my xml to use: <ComPlusApplication ... Type=".net" DllPathFromGAC="yes" RegisterInCommit="yes" TlbPath="[#MyTypelib]"> When I now try to run the installer I get this error: Error 1935. An error occurred during the installation of assembly ...,version="1.0.2",culture="neutral",publicKeyToken="..",processorArchitecture="MSIL"'. Please refer to Help and Support for more information. HRESULT: 0x80131043. assembly interface: IAssemblyCacheItem, function: Commit, component: {someguid} Any idea why I get this? Thank you Deval >From: Bob Arnson <[EMAIL PROTECTED]> >To: DEVAL SHAH <[EMAIL PROTECTED]> >CC: wix-users@lists.sourceforge.net >Subject: Re: [WiX-users] Using Wix to register COM+ -> similar to regsvcs >Date: Fri, 23 Mar 2007 21:27:17 -0700 > >DEVAL SHAH wrote: >>ComPlusInstallExecute: ErrorInfo: Name='C:\Program Files\MyComp', >>ErrorCode='-2146368476', MajorRef='C:\Program Files\MyComp', >>MinorRef='<invalid>' >> > >The error code represents COMADMIN_E_COMPFILE_DOESNOTEXIST ("The file does >not exist"). > >-- >sig://boB >http://bobs.org > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users