Re: [WiX-users] Use multiple files during CustomAction

2008-03-10 Thread Paul Lalonde
[mailto:[EMAIL PROTECTED] De la part de BugBoy Envoyé : 10 mars 2008 02:09 À : wix-users@lists.sourceforge.net Objet : Re: [WiX-users] Use multiple files during CustomAction 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 fl

Re: [WiX-users] Use multiple files during CustomAction

2008-03-09 Thread BugBoy
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

Re: [WiX-users] Use multiple files during CustomAction

2008-03-09 Thread Paul Lalonde
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 th

Re: [WiX-users] Use multiple files during CustomAction

2008-03-09 Thread BugBoy
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 mus

Re: [WiX-users] Use multiple files during CustomAction

2008-03-09 Thread Alexander Shevchuk
PROTECTED] On Behalf Of BugBoy Sent: Sunday, March 09, 2008 1:48 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Use multiple files during CustomAction I have defined a WIX script that requires to run a .NET application with elevated rights during uninstallation. I added the following

[WiX-users] Use multiple files during CustomAction

2008-03-09 Thread BugBoy
I have defined a WIX script that requires to run a .NET application with elevated rights during uninstallation. I added the following lines to my file: $BinaryComponents=2 It works fine if "Uninstall.exe" doesn't depend on a custom DLL. But I do need a custom DLL during the uninsta