Menu

#1143 Cannot add 64bit com+ component (3.0.3907.0)

v3.0
closed
2012-09-15
2008-03-14
Bart Vries
No

General info:
I've build an 64bit assembly and i need to register it in com+. If set all properties so setup should run in 64bit mode and set the component to 64bit. The component still gets registered but runs in 32bit mode. If I build the component to target the x64 only the the component does not get installed. The problem appears to be in the action ComPlusInstallExecuteCommit.

Repro:
The project containing a very small repro is attached. The repro also contains the log file which you get if the component is targeting "x64" instead of "Any CPU" from vs2008.

Manual repro:
I can get it to work manually.

  • Create com+ (server, not library) application
  • Register (regasm) the .net assembly from the "Visual Studio 2008 x64 Win64 Command Prompt"
  • Add the component to com+ using "Import component(s) that are already registered."
  • When called tjhe component returns an IntPtr size of 8 (64bit).

When I register it using the normal command prompt the component will be running in 32bit mode.

Expected:
If the msi component is which contains com+ component is set to 64bit the components should be registered 64bit.

Discussion

  • Bart Vries

    Bart Vries - 2008-03-14

    Contains repro with the client, the component and the setup source

     
  • Evgeny Potashnik

    I've run into this as well and it's a serious limitation. When moving to x64 we basically have to re-write the bulk of our install kit in something other than WiX. Any estimate on when this might get fixed?

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 21 days (the time period specified by
    the administrator of this Tracker).

     
MongoDB Logo MongoDB