Hi, I'm having problems installing a multi-file mixed-mode .NET 4.0 assembly to the GAC using WiX 3.5.2030.
I have a mixed-mode C++/CLI assembly built using Visual Studio 2010 that depends on a native DLL so I've built it with /assemblylinkresource to create a multi-file assembly with the native DLL as a dependency. I'm using the following WiX fragment to try to install them: <DirectoryRef Id="GAC32"> <Component Id="SctpDrv.SctpSocket32RT.dll" Guid="6fe05e7e-ac93-484f-a907-91e9aee5100c"> <File Id="SctpDrv.SctpSocket32RT.dll" Name="SctpDrv.SctpSocket.dll" KeyPath="yes" Assembly=".net" Source="bin\$(env.DDKBUILDENV)_$(env.DDK_TARGET_OS)_x86\SctpDrv.SctpSocket.dll" Compressed="no"/> <File Id="sctpsp32.dll_gac" Name="sctpsp.dll" Source="bin\$(env.DDKBUILDENV)_$(env.DDK_TARGET_OS)_x86\sctpsp.dll" Compressed="no"/> </Component> </DirectoryRef> <DirectoryRef Id="GAC"> <Component Id="SctpDrv.SctpSocket64RT.dll" Win64="$(var.Win64)" Guid="41b65bb1-33aa-447a-a82a-27ce4529fb22"> <File Id="SctpDrv.SctpSocket64RT.dll" Name="SctpDrv.SctpSocket.dll" KeyPath="yes" Assembly=".net" Source="bin\$(env.BUILD_ALT_DIR)\SctpDrv.SctpSocket.dll" Compressed="no"/> <File Id="sctpsp64.dll_gac" Name="sctpsp.dll" Source="bin\$(env.BUILD_ALT_DIR)\sctpsp.dll" Compressed="no"/> </Component> </DirectoryRef> However during intallation I get error 1935 with HRESULT 0x80131043: MSI (s) (E0:08) [08:20:58:828]: Note: 1: 1935 2: {6FE05E7E-AC93-484F-A907-91E9AEE5100C} 3: 0x80131043 4: IAssemblyCacheItem 5: Commit 6: SctpDrv.SctpSocket,version="1.1.6.0",culture="neutral",publicKeyToken="5AF49005A72F253B",processorArchitecture="x86" MSI (s) (E0:08) [08:20:58:828]: Note: 1: 2205 2: 3: Error MSI (s) (E0:08) [08:20:58:828]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1935 Error 1935. An error occurred during the installation of assembly 'SctpDrv.SctpSocket,version="1.1.6.0",culture="neutral",publicKeyToken="5AF49005A72F253B",processorArchitecture="x86"'. Please refer to Help and Support for more information. HRESULT: 0x80131043. assembly interface: IAssemblyCacheItem, function: Commit, component: {6FE05E7E-AC93-484F-A907-91E9AEE5100C} MSI (s) (E0:08) [08:21:00:170]: Note: 1: 2205 2: 3: Error MSI (s) (E0:08) [08:21:00:170]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (s) (E0:08) [08:21:00:171]: Product: SctpDrv 1.1 -- Error 1935. An error occurred during the installation of assembly 'SctpDrv.SctpSocket,version="1.1.6.0",culture="neutral",publicKeyToken="5AF49005A72F253B",processorArchitecture="x86"'. Please refer to Help and Support for more information. HRESULT: 0x80131043. assembly interface: IAssemblyCacheItem, function: Commit, component: {6FE05E7E-AC93-484F-A907-91E9AEE5100C} If I do an administrative installation I can use gacutil to install SctpDrv.SctpSocket.dll from SctpDrv\GAC32 so I'm not sure what could be going wrong when trying to install it from the MSI. -- Bruce Cran ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users