These are COM objects written in .NET, IIRC you have to go through some
hoops to install them and you can (and WiX does) use the
System.EnterpriseServices to do it.


>Hmmm... I haven't done COM+ apps in 10 years but I guess I don't see the
>connection to .NET.  My custom actions (InstallScript back then) always
>used the COMAdmin objects which were unmanaged.
>
>For .NET remoting I think of things like  remoting, webservices, wcf et
>al... 
>
>----------------------------------------
> From: "Neil Sleightholm" <n...@x2systems.com>
>Sent: Wednesday, March 20, 2013 3:56 AM
>To: "General discussion for Windows Installer XML toolset."
><wix-users@lists.sourceforge.net>
>Subject: Re: [WiX-users] COM+ registration help
>
>I think Rob is right, the WiX code uses an assembly
>System.EnterpriseServices (method RegistrationHelper) to install COM+ this
>doesn't seem to have a .NET version associated with it but on a couple of
>machines I have checked they don't always have the .NET 4.0 reference
>under the InprocServer32 key (not done COM/COM+ for a while so I'd need to
>research this more to be completely sure how it works).
>
>Might be worth checking whether your machine has a 4.0.0.0 entry under
>this key:
>HKEY_CLASSES_ROOT\CLSID\{89A86E7B-C229-4008-9BAA-2F5C8411D7E0}\InprocServe
>r
>
>
>32
>
>Neil
>
>>It is entirely possible the COM+ CustomAction has not been updated to
>>handle NETFX 4.0. I don't even know if that statement makes sense but the
>>custom action was written so long ago, there may be something about NETFX
>>4.0 that isn't handled correctly. Someone could look at the code...
>>
>>
>>On Tue, Mar 19, 2013 at 2:26 PM, Neil Sleightholm
>><n...@x2systems.com>wrote:
>>
>>> Does the .NET 4.0 component install to COM+ ok if you do it manually?
>>>
>>> -----Original Message-----
>>> From: DexterSinister [mailto:dma...@nt4hire.com]
>>> Sent: 19 March 2013 20:34
>>> To: wix-users@lists.sourceforge.net
>>> Subject: Re: [WiX-users] COM+ registration help
>>>
>>> Hi Rob -
>>>
>>> Your 'nothing' is probably more than my nothing on this topic, so
>thanks
>>> in advance for any assistance and insight you can provide.
>>>
>>> Here's the relevant log segment:
>>>
>>> **********
>>> ComPlusInstallExecuteCommit:  Entering ComPlusInstallExecuteCommit in
>>> C:\WINDOWS\Installer\MSI29.tmp, version 3.7.1224.0 MSI (s) (E0!50)
>>> [11:17:57:286]: Closing MSIHANDLE (859) of type 790531 for thread 3920
>>>MSI
>>> (s) (E0!50) [11:17:57:286]: Creating MSIHANDLE (860) of type 790531 for
>>> thread 3920 MSI (s) (E0!50) [11:17:57:286]: Closing MSIHANDLE (860) of
>>>type
>>> 790531 for thread 3920 MSI (s) (E0!50) [11:17:57:426]: Creating
>>>MSIHANDLE
>>> (861) of type 790531 for thread 3920 MSI (s) (E0!50) [11:17:57:426]:
>>> Closing MSIHANDLE (861) of type 790531 for thread 3920 MSI (s) (E0!50)
>>> [11:17:57:426]: Creating MSIHANDLE (862) of type 790531 for thread 3920
>>> ComPlusInstallExecuteCommit:  Registering assembly, key: myApp MSI (s)
>>> (E0!50) [11:17:57:426]: Closing MSIHANDLE (862) of type 790531 for
>>>thread
>>> 3920 MSI (s) (E0!50) [11:18:01:708]: Creating MSIHANDLE (863) of type
>>> 790531 for thread 3920
>>> ComPlusInstallExecuteCommit:  ExceptionInfo: Code='0',
>>> Source='System.EnterpriseServices', Description='Failed to load
>assembly
>>> 'c:\program files (x86)\MyCompany\queue\13.0\vmsqueue.dll'.',
>>>HelpFile='',
>>> HelpContext='0'
>>> MSI (s) (E0!50) [11:18:01:708]: Closing MSIHANDLE (863) of type 790531
>>>for
>>> thread 3920 MSI (s) (E0!50) [11:18:01:708]: Creating MSIHANDLE (864) of
>>> type 790531 for thread 3920
>>> ComPlusInstallExecuteCommit:  Error 0x80020009: Failed to invoke
>>> RegistrationHelper.InstallAssembly() method MSI (s) (E0!50)
>>> [11:18:01:708]: Closing MSIHANDLE (864) of type 790531 for thread 3920
>>>MSI
>>> (s) (E0!50) [11:18:01:708]: Creating MSIHANDLE (865) of type 790531 for
>>> thread 3920
>>> ComPlusInstallExecuteCommit:  Error 0x80020009: Failed to register .NET
>>> assembly MSI (s) (E0!50) [11:18:01:708]: Closing MSIHANDLE (865) of
>type
>>> 790531 for thread 3920 MSI (s) (E0!50) [11:18:01:708]: Creating
>>>MSIHANDLE
>>> (866) of type 790531 for thread 3920
>>> ComPlusInstallExecuteCommit:  Error 0x80020009: Failed to register
>>> assembly,
>>> key: myApp
>>> MSI (s) (E0!50) [11:18:01:708]: Closing MSIHANDLE (866) of type 790531
>>>for
>>> thread 3920 MSI (s) (E0!50) [11:18:01:708]: Creating MSIHANDLE (867) of
>>> type 790531 for thread 3920
>>> ComPlusInstallExecuteCommit:  Error 0x80020009: Failed to register
>>> assemblies MSI (s) (E0!50) [11:18:01:708]: Closing MSIHANDLE (867) of
>>>type
>>> 790531 for thread 3920 MSI (s) (E0:20) [11:18:01:708]: Closing
>MSIHANDLE
>>> (858) of type 790536 for thread 3360
>>> **********
>>>
>>> Doesn't seem very helpful ... but that's what I've got ...
>>>
>>> If the assembly is re-based to target Framework v2 [2.0.50727, to be
>>> precise] ... then it installs just fine ...
>>>
>>> There is some uninstallation weirdness [but only on 1 system, not on a
>>> clean test box] - when uninstalling, the app remains in the Component
>>> Services control panel applet ... the installed files and folders [and
>>>ARP
>>> entry] get removed properly ... weird, huh?
>>>
>>> We're trying to move all of our code to Framework v4 ... so this is
>kind
>>> of a pain ... and as I've said already, any assistance / insights are
>>> greatly appreciated.
>>>
>>> Thanks,
>>>
>>> -dmm
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> 
>>>http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/COM-regist
>>>r
>
>
>>>ation-help-tp7584402p7584465.html
>>> Sent from the wix-users mailing list archive at Nabble.com.
>>>
>>>
>>> 
>>>------------------------------------------------------------------------
>>>-
>
>
>>>-----
>>> Everyone hates slow websites. So do we.
>>> Make your web apps faster with AppDynamics Download AppDynamics Lite
>for
>>> free today:
>>> http://p.sf.net/sfu/appdyn_d2d_mar
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>>> 
>>>------------------------------------------------------------------------
>>>-
>
>
>>>-----
>>> Everyone hates slow websites. So do we.
>>> Make your web apps faster with AppDynamics
>>> Download AppDynamics Lite for free today:
>>> http://p.sf.net/sfu/appdyn_d2d_mar
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>>-------------------------------------------------------------------------
>>-
>
>
>>----
>>Everyone hates slow websites. So do we.
>>Make your web apps faster with AppDynamics
>>Download AppDynamics Lite for free today:
>>http://p.sf.net/sfu/appdyn_d2d_mar
>>_______________________________________________
>>WiX-users mailing list
>>WiX-users@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/wix-users
>
>--------------------------------------------------------------------------
>--
>--
>Everyone hates slow websites. So do we.
>Make your web apps faster with AppDynamics
>Download AppDynamics Lite for free today:
>http://p.sf.net/sfu/appdyn_d2d_mar
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to