Feature Requests item #1003089, was opened at 2004-08-04 10:42 Message generated for change (Comment added) made by wqweto You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1003089&group_id=105970
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: harvester (heat) Group: None Status: Open Priority: 2 Submitted By: Riko Eksteen (rikoe) Assigned to: Nobody/Anonymous (nobody) Summary: tallow: extract out-of-process selfreg Initial Comment: tallow currently supports the -s (selfreg) option for files that use DllRegisterServer (e.g. *.dll, *.ocx). This is great, but I'd also like to see support for out-of-process self-registration (e.g. *.exe). Would love to do it myself, but I'm not experienced in that kind of thing. All I know is it will require kicking off another process, running the exe with /register (or whatever), and capturing the registry information. ---------------------------------------------------------------------- Comment By: Vlad Vissoultchev (wqweto) Date: 2006-04-18 12:19 Message: Logged In: YES user_id=1463598 I have this one implemented on the 2.0.3309.0 build. Check out http://www.unicontsoft.com/upload/tallow/ for source modification and compiled binary. I'm using a tiny helper dll that's being injected in the out-of-process COM component. The injection is using CreateRemoteThread so this is NT based OSes solution. All API gory details are encapsulated in ProcessWithInjectedDll class in new\tallow.cs. Another problem that i've fixed but never had the time to submit a bug-report are GPFs we had with extracting reg info on some Data Dynamics ActiveX controls. It turned out that these are assuming that CLSID, TypeLib and Interface keys are already present under HKCR. So a simple fix si to just make sure these are precreated before invoking DllRegisterServer -- search for the new TallowMain.CreateEmptySubKey method in new\tallow.cs. With these modification *and* a couple of scripts for cleaning up the output we are successfully using tallow and wix to build setups for some of our VB6 solutions. I'm pretty new to .Net (this being my first in-house project) so the code needs a complete review. I'll be glad to provide more info on the injection hack as it's implemented in 190 straight-forward lines of code. cheers, </wqw> ---------------------------------------------------------------------- Comment By: Derek (derekc) Date: 2006-04-17 10:57 Message: Logged In: YES user_id=518766 I'm not sure if this is possible, but I'm updating it to a Heat category in case it is (now that tallow is being deprecated). The problem is that Heat and Tallow currently re-direct the registry for their own process so all the self-reg keys automatically get caught. Not sure if this method or a similar one could be adopted for something in a separate process. ---------------------------------------------------------------------- Comment By: Zeinrich (zeinrich) Date: 2005-12-09 00:49 Message: Logged In: YES user_id=1174566 Typelibraries would be another great example! ---------------------------------------------------------------------- Comment By: colsnell (colsnell) Date: 2005-02-15 13:48 Message: Logged In: YES user_id=1126466 This feature would be fantastic. RegSpy2 (in the Windows Installer / Tools & Tips section of installsite.org) gives the source code in C++ for extracting the out of process info. As above I'd love to do it myself but that is way out of my league. I'm not sure what the licensing is on this as it doesn't say anyway in the release notes or code. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642717&aid=1003089&group_id=105970 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
