Not that this solves the problem, but you could try using Heat to generate the registry information for registration; the way it works is actually kind of slick:
1) It creates a new, empty, overlayed / remapped registry keys for each of the top-level registry keys 2) It calls the DllRegisterServer entry point to invoke self-registration 3) It captures the results in the mapped keys, translating them into WiX Of course, tallow may do the same thing; I've never used it. Thanks, Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.com/ -------- Original Message -------- Subject: Re: [WiX-users] DLL failing to register on a SeflRegCost file From: Steven Chin <[email protected]> To: General discussion for Windows Installer XML toolset. <[email protected]> Date: 2/27/2009 9:29 AM > The only messages were the same as the pop up message about Error 1904.Module > Y:\sandbox\.... > > -----Original Message----- > From: Jeremy Lew [mailto:[email protected]] > Sent: Friday, February 27, 2009 9:55 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] DLL failing to register on a SeflRegCost file > > Sounds like a dependency issue. Take a look at the event logs, are there > any WinSxS errors reported? > > -----Original Message----- > From: Steven Chin [mailto:[email protected]] > Sent: Friday, February 27, 2009 8:44 AM > To: [email protected] > Subject: [WiX-users] DLL failing to register on a SeflRegCost file > > In my win64 installer, I have two .dll files that I have specified in my > .wxs file as SelfRegCost=". > <File Id=ile650" Name="mwcommgr.dll" SelfRegCost="0" > src=:\TEMP\mcr_unzip_dir\v711\runtime\win64\mwcommgr.dll" /> > <File Id=ile651" Name="MWCOMU_1.DLL" > LongName=wcomutil.dll" SelfRegCost="0" > src=:\TEMP\mcr_unzip_dir\v711\runtime\win64\mwcomutil.dll" /> > > If I install the product to the local drive on my machine it will self > register fine. If I install it to a directory on the network drive it > gives me an > "Error 1904.Module Y:\sandbox\....mwcommgr.dll failed to register. > HRESULT -2147312566. Contact your support personnel" message. > Retrying the operation always fails. The HRESULT indicates > TYPE_E_CANTLOADLIBRARY. > Does anybody know why it fails? After I select to ignore the error and > continue installing I can manually use regsvr32.exe to register the DLLs > fine. Error only happens on machines which have .NET Framework > installed. > > I wasn't able to use tallow on these DLLs like I did with my win32 > installer so I was forced to use the SelfRegCost to register the DLL. > Is there a permission or timeout going on here causing it not to load? > I tried disabling the data execution prevention (DEP) in my BIOS and > boot.ini file on my machine but that didn't help. > > Dependency walker complains about msjava.dll but it will install fine if > I install to local drive which doesn't have msjava.dll on the machine. > I can't find a win64 msjava.dll to stick in the project either to rule > out that the dependency is causing this problem. Dependency walker had > complained about MSVCR80.DLL too even though the install had run > vcredist_x64.exe but I put MSVCR80.DLL into the project just to make > sure that wasn't the problem so it doesn't complain about that anymore > but it still can't register. Any help would be appreciated. Thanks. > > ------------------------------------------------------------------------ > ------ > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

