These should still work for self-registering exes, here:

http://installsite.org/pages/en/msi/tips.htm 

Scroll down to RegSpy. It indeed uses CreateRemoteThread and 
RegOverridePredefKey.  Somebody also extended it to do tlbs, RegSpy2. The 
source is all there. The original magazine article is here:

http://www.ddj.com/windows/184416328 

RegAsm is basically  RegistrationServices.RegisterAssembly and 
TypeLibConverter.ConvertAssemblyToTypeLib, so all the pieces exist - they just 
need putting together. Anyway Heat does assemblies and type libraries anyway, 
yes? 

Phil Wilson 



-----Original Message-----
From: Thomas S. Trias [mailto:tomtr...@artizan.com] 
Sent: Tuesday, March 03, 2009 11:56 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Does anyone know how best to capture the registry 
changes made by RegAsm / RegTlib?

Well, RegAsm has the /regfile switch, but it doesn't work with the /tlb 
option; RegTLib has no such switch; I suppose I could embark on the 
wonderful world of code injection (which I'm sure my virus scanner will 
love), but even with CreateRemoteThread it looks pretty nasty.  I recall 
how interesting it was to write a thunk to push an extra parameter onto 
the stack in VB (nothing like storing assembly in data structures).  I 
will scour the web for a TLB utility that generates a reg file.

Thanks,

Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/


-------- Original Message  --------
Subject: Does anyone know how best to capture the registry changes made 
by RegAsm / RegTlib?
From: Thomas S. Trias <tomtr...@artizan.com>
To: 'General discussion for Windows Installer XML toolset.' 
<wix-users@lists.sourceforge.net>
Date: 3/3/2009 1:31 PM
> Heat works well for self-registered DLLs; is there a similar technique 
> that one can use for the results of RegAsm / RegTlib on a .NET 
> assembly / type library?  Is there a way to get a child process to 
> inherit the Registry re-mappings?  The same thing would be useful for 
> self-registered EXEs.
>
> Thanks,
>


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to