Re: [WiX-users] Registering ComPlus and Assigning a User

2013-05-10 Thread tom

Based on the documentataion looks like this is the clsid of the com class





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registering-ComPlus-and-Assigning-a-User-tp7585575p7585793.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Registering ComPlus and Assigning a User

2013-05-02 Thread Darrin Robertson
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 | 
darrin.robert...@asb.co.nzmailto:darrin.robert...@asb.co.nz | 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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users