I found one error in my project. The wixlib was not created with the -bf switch. Now the wixlib needs much more space so I think the dll is included. In the extension I embed the wixlib as a resource. GetLibrary() returns my wixlib.
So far so good. But if I use my extension I get still the error that "The system cannot find the file". What am I missing? My wixlib code: <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <CustomAction Id="ReplaceText" BinaryKey="CBToolsCA" DllEntry="ReplaceText" Execute="immediate" Return="check" SuppressModularization="yes" /> ... <Binary Id="CBToolsCA" SourceFile="MyCA.dll" /> </Fragment> </Wix> My GetLibrary: public override Library GetLibrary(TableDefinitionCollection tableDefinitions) { if (this.library == null) { this.library = LoadLibraryHelper(Assembly.GetExecutingAssembly(), "MyLib.wixlib", tableDefinitions); } return this.library; } Markus -----Ursprüngliche Nachricht----- Von: Bob Arnson <[EMAIL PROTECTED]> Gesendet: 02.06.08 06:48:26 An: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Betreff: Re: [WiX-users] Deployment of Custom Actions Markus Wagner wrote: > I have written my own CompilerExtension which calls a custom action > also written by me. > > Now I have written a setup project to deploy my extension. It installs > my extension dll and my custom action dll in a given directory and my > xsd in the Visual Studio schema cache. > The WiX extensions all include their custom action DLLs embedded in the extension in a .wixlib. Then in your extension class, override GetLibrary to return it. That makes the WiX authoring and files they refer to available "for free." -- sig://boB http://joyofsetup.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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users