In my win64 installer, I have two .dll files that I have specified in my .wxs 
file as SelfRegCost="0".
<File Id="file650" Name="mwcommgr.dll" SelfRegCost="0" 
src="C:\TEMP\mcr_unzip_dir\v711\runtime\win64\mwcommgr.dll" />
              <File Id="file651" Name="MWCOMU_1.DLL" LongName="mwcomutil.dll" 
SelfRegCost="0" src="C:\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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to