I have my installer registering my COMPLus component correctly.
I have one last requirement to:
Enforce component level access checks
Under Roles have the "User" Role ticked.
I tried adding a complus:ComPlusCompoent as a child of my ComPlusAssembly but
when I do this the installer fails with an error. (See below)
I am not sure what I should put as the CLSID, perhaps this is what is causing
the issue?
Can anyone help me out? Explain what I should be putting for the CLSID?
Error and WiX snippet below
Note: If I remove the complus:ComPlusComponent element then the installer works
fine:
My User 'ComponentUser" is defined higher up. The role and user
are assigned in the component but not ticked.
MSI (s) (68:BC) [16:25:08:579]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSICE31.tmp, Entrypoint: ComPlusInstallExecuteCommit
Action 16:25:08: RegisterComPlusAssemblies. Registering COM+ components
RegisterComPlusAssemblies: DLL: C:\NTApps\MyComPlusCore\ASB.DA.Insurance.dll
ComPlusInstallExecuteCommit: Error 0x80070490: Failed to find component object
ComPlusInstallExecuteCommit: Error 0x80070490: Failed to configure components
ComPlusInstallExecuteCommit: Error 0x80070490: Failed to register assembly,
key: ASB.DA.Insurance
ComPlusInstallExecuteCommit: Error 0x80070490: Failed to register assemblies
<complus:ComPlusApplication Id="ASB.NETCoreData3"
Name="ASB.NETCoreData3"
Description="ASB .NET Core Data Components"
ApplicationAccessChecksEnabled="yes"
AccessChecksLevel="applicationComponentLevel"
Authentication="packet"
ImpersonationLevel="impersonate"
Activation="inproc">
<complus:ComPlusApplicationRole Id="ASB.NETCoreData3.Role"
Name ="User">
<complus:ComPlusUserInApplicationRole Id="ASB.NETCoreData3.User"
User="ComponentUser" />
</complus:ComPlusApplicationRole>
<complus:ComPlusAssembly Id="ASB.DA.Insurance"
DllPath="[#ASB.DA.Insurance_dll]"
Type="native"
RegisterInCommit="yes">
<complus:ComPlusComponent Id="ASB.DA.Insurance.Com"
CLSID="f8a83c94-9ab1-4c4d-8ebc-901aa747ac33"
Description="ASB.DA.Insurance.AppInsurance"
ComponentAccessChecksEnabled="yes" >
<complus:ComPlusRoleForComponent Id="ASB.DA.Insurance.Role"
ApplicationRole="ASB.NETCoreData3.Role" />
</complus:ComPlusComponent>
</complus:ComPlusAssembly>
</complus:ComPlusApplication>
Darrin Robertson
Tech Design & Development Specialist | Design & Development Standards |
Enterprise Services | ASB creating futures
4148070 direct | 90070 extension |
[email protected]<mailto:[email protected]> | asb.co.nz
This email may contain information which is confidential and/or subject to
legal privilege. If you are not the intended recipient, please immediately
notify the sender and delete the email.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users