Assemblies aren't available in the GAC until InstallFinalize at the end of the install, that's probably the issue. There doesn't seem to be a reasonable solution to this, and I don't think it's seen as a bug because it's documented in the MsiAssembly table docs.
Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacek Dudziak Sent: Friday, August 22, 2008 12:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Deferred Managed CA and GAC-ed dll dependency I have implemented deferred managed custom action relying on other dll (let's call it gaced.dll) that is extracted to INSTALLDIR and also GAC-ed during install. From time to time, custom action fails with FileNotFound exception saying that gaced.dll was not found. The same action uses other dlls which are not GAC-ed and extracted to the same INSTALLDIR. None of my code is using explicit assembly loading. All asemblies are deployed using FILE elements, and only my custom action dll is deployed using BINARY element. Has anybody ever encountered this problem and what is the solution to it? Is is possible that it is a race condition between the end of GACing process and loading my custom action assembly? Is there a way to guarantee that my custom action is called after all GAC-ing has bee completed? Thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users