Hello,
I have Serviced component which I want to register with Wix. I can register
it with regsvcs but not able to do it with Wix. This is my config:
<Fragment Id='FragmentComPlus'>
<DirectoryRef Id='ComPlusInstallDIR'>
<Component Id="ComPlusDll" Guid="some-id">
<File Id="ComPlus_dll" Name="Com" LongName="COM+ Component"
DiskId="1"
Vital="yes" KeyPath="yes" Assembly=".net"
src="SourceDir\abc\complus.dll"
/>
<File Id='file2' Name='CommonDl' LongName=Common.dll' DiskId='1'
Source='SourceDir\abc\Common.dll' Vital='yes'/>
<pca:ComPlusApplication Id="ComPlusApp" Name="COM+ Application">
<pca:ComPlusAssembly Id="ComPlusAssembly1" Type="native"
DllPath="[#ComPlus_dll]">
<pca:ComPlusComponent Id="ABC.MyServicedComponent"
CLSID="some-guid" />
</pca:ComPlusAssembly>
</pca:ComPlusApplication>
</Component>
</DirectoryRef>
</Fragment>
This installation fails in between. The log shows following error:
ComPlusInstallExecute: ErrorInfo: Name='C:\Program Files\MyComp',
ErrorCode='-2146368476', MajorRef='C:\Program Files\MyComp',
MinorRef='<invalid>'
ComPlusInstallExecute: Error 0x80110401: Failed to install components
ComPlusInstallExecute: Error 0x80110401: Failed to register native assembly
ComPlusInstallExecute: Error 0x80110401: Failed to register assembly, key:
ComPlusAssembly1
ComPlusInstallExecute: Error 0x80110401: Failed to register assemblies
Any idea what is wrong? I want to achieve the same functionality as regsvcs.
Thank you in advance
Deval
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users