FWIW, the RegSpy utility here
http://www.installsite.org/pages/en/tt_analyze.htm (scroll down to
RegSpy) can monitor registration of out of process servers. It initiates
the process suspended with the /regserver command line, then injects
code to call RegOverridePredefKey for the process, then resumes the
process. The result is redirection of the registration entries to a
substitute key in the registry (not a .reg for or wxs file). Source is
available and I'm told it still works although it's rather dated now.  
 
Capturing registry diffs is tricky unless you can completely control
what's happening on the system at the time, and anyway
RegOverridePredefKey to write to a completely different registry
location captures the relevant data - it just needs conversion from a
bunch of registry items to a wxs or .reg file. 

Phil Wilson 


________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Hybner
Sent: Thursday, December 21, 2006 3:07 PM
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Extracting COM data from executable COM
servers(AppID) with heat.exe



As always, thank you for your help, Bob.

 

I'll submit an enhancement request for Heat. It seems like we could add
a switch (perhaps in file-mode only if it is too giving us much rope for
directories) that would override the registry location, run an exe with
the regserver switch, capture the diff, and provide the desired
functionality. Slow and clunky, but functional. Perhaps if enough other
people find it useful, it will be worth the trouble to add the
functionality.

 

Eric Hybner wrote: 

Do y'all have any pointers for extracting COM data from executable COM
servers? 

 

Bob Arnson wrote:

The technique Heat uses to detect self-reg data only works on in-proc
servers. I don't think there's a way for Heat to support out-of-proc
servers.




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to