Good idea. It's quite an amount of work (I use managed code), but I'll give it a try. I think it's a flaw in the MSI design...
Paul Lalonde-2 wrote: > > You could embed the custom DLL in your CA's resources, then specify > when linking the CA that the DLL is delay-loaded. At runtime, the CA > could extract the DLL and put it in the TEMP directory. You could then > supply a callback to the delay-load infrastructure in order to load > the DLL from the TEMP dir. > > I've used this approach successfully myself. There's documentation on > delay-loading available in MSDN. > > Hope this helps, > > -- > Paul Lalonde paullalonde at mac dot com > "Il n'y a que les banques qui sont libres" -- Jean-Luc Godard > > > Le 08-03-09 à 19:05, BugBoy a écrit : > >> >> This is bad, because I run it only during uninstall and this code is >> run at >> the end of the uninstall, so the dependencies are not there anymore. I >> really think this is bad. Because of UAC I need to use deferred >> execution :( >> >> >> Alexander Shevchuk wrote: >>> >>> Custom actions stored in Binary table must be either self-contained >>> or >>> depend on pre-installed items. Because you run your >>> UninstallAction after >>> InstallFiles action you can just include your dependency dll into >>> your >>> install. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Use-multiple-files-during-CustomAction-tp15946177p15950563.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users