Registry remapping is process-wide only, so you need to inject a thread in 
regedit.exe process to set it up.

 

Here is a modified version of tallow that we use to harvest out-of-process COM 
registration:

 

http://unicontsoft.com/upload/tallow/

 

Basicly it uses a helper RegRedir.dll that sets remapping on DllLoad.

 

cheers,

</wqw>

 

 

From: Neil Sleightholm [mailto:[email protected]] 
Sent: Thursday, June 17, 2010 8:32 AM
To: Windows Installer XML toolset developer mailing list; [email protected]
Subject: Re: [WiX-devs] Harvesting a registry file

 

I thought I had a really simple solution but at the moment it doesn’t work. My 
theory was that the registry remapping would capture running “regedit /s 
data.reg” but it doesn’t seem to. There are no APIs to read a reg file that I 
can find. I suspect the remapping will only work in process. 

 

My next attempt is to process the file line by line either using the tallow 
code or with some code I have written before.

 

I will keep working on this but if you get a solution could you let me know.

 

Thanks 

 

Neil

 

From: Brian Rogers [mailto:[email protected]] 
Sent: 17 June 2010 02:42
To: Windows Installer XML toolset developer mailing list
Subject: Re: [WiX-devs] Harvesting a registry file

 

There could be a relatively simple way to handle this issue using what is 
already in place. I am on the hook to try and fix a couple bugs, I will look at 
this too for the 3.5 date.


Brian Rogers
"Intelligence removes complexity." - Me
http://blogs.msdn.com/icumove

On Wed, Jun 16, 2010 at 6:24 AM, Bob Arnson <[email protected]> wrote:

On 6/15/2010 2:17 AM, Neil Sleightholm wrote: 

A common request in the mail list seems to be the lack of support for 
harvesting a registry file in the same way that tallow did. I think I can add 
this to heat fairly easily because most of the code for generating the fragment 
is already in heat. My question is would this be accepted in to the main WiX 3 
code base or should I write it as an extension and publish if via my blog or 
some other means?

 

It seems like a good idea; just realize that WiX v3.5 is heading toward 
lockdown so timing is tight. 

 

-- 
sig://boB
http://joyofsetup.com/


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

 

 
---- Content & Policy Scan by M+ Guardian ----
Millions of safe & clean messages delivered daily
 
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to