Yeah, I haven't had any luck with Heat either, but the reverse engineering isn't all that tricky actually. Grab the trial version of RegSnap from http://lastbit.com/regsnap/ and try unregistering your control, taking a snapshot, registering, taking a snapshot, and comparing the two. There'll be some junk in there, but it should be easy to find what you're looking for. Then, convert to WiX, and you're done.
Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick Sent: Monday, April 02, 2007 3:27 PM To: 'Chuck'; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Registering an OCX with Wix v3? Heat attempts to run the DLL's DllRegisterServer function and then work out what it did. Like most reverse engineering, it's not very reliable, and it's heavily dependent on the DllRegisterServer code working correctly in the unusual, artificial environment that Heat creates. This is done both to filter out everything that's already present in the registry, and to stop the DLL's changes from being applied to the real registry. It's far better to work out what registry settings it's going to create and author the appropriate WiX script yourself. This is obviously more work. An OCX is simply a DLL with a different extension. There's no real reason for the changed extension. You can implement ActiveX controls in a DLL file and OCX files don't necessarily contain any ActiveX controls. The MFC ActiveX project wizards normally sets the extension to OCX, while ATL doesn't bother. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chuck Sent: 02 April 2007 19:53 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Registering an OCX with Wix v3? I'm trying to register an OCX control. I ran heat.exe and used the output in my wix project but the ocx isn't properly registered??? If can manually register the ocx using a command line with regsvr32.exe and it registers properly. Am I missing something or does heat not work with ocx controls. ------------------------------------------------------------------------ - 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=DEVDE V _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- 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