How do you register the COM DLL? Heat will pull the information from COM
DLLs which implement the public function DLLRegisterServer (which is
what regsvr32.exe calls). If you're using some custom method like using
rundll32.exe or something you'll likely need to look into using RegSpy2
(see http://www.installsite.org/pages/en/msi/tips.htm about 1/3 down the
page). RegSpy2 will output a .reg file which you can run through
tallow.exe in WiX 2.0 to generate a .wxs (if you're using WiX 3.0 you
then need to run that .wxs through WiXCop.exe to get WiX 3.0 compliant
code).

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-----Original Message-----
From: Lian Jiang [mailto:lji...@microsoft.com] 
Sent: 11 February 2010 11:26
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] registry info extraction for native COM dll

Thanks for reply.

I tried heat.exe in v3. Similarly, it works for managed COM dll and does
not for a native dll:

heat.exe : warning HEAT5150 : Could not harvest data from a file that
was expect ed to be a SelfReg DLL: c:\TEMP\station.dll. If this file
does not support SelfR eg you can ignore this warning. Otherwise, this
error detail may be helpful to d iagnose the failure: Unable to load
file: c:\TEMP\station.dll, error: 193.


Thanks
Lian

-----Original Message-----
From: Pally Sandher [mailto:pally.sand...@iesve.com]
Sent: Thursday, February 11, 2010 3:12 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] registry info extraction for native COM dll

Have you tried using heat.exe in WiX 3.0? The post you're referring to
is 3 years old which is very much pre-WiX 3.0. Unless there's some
requirement which means you can't upgrade to WiX 3.0 I'd strongly
suggest migrating. If you can't you could still try to use heat.exe to
generate the .wxs for you & then modify it to work in the WiX 2.0
schema.
See http://wix.sourceforge.net/manual-wix3/heat.htm


Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501 

http://www.iesve.com
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP Email Disclaimer

-----Original Message-----
From: Lian Jiang [mailto:lji...@microsoft.com]
Sent: 11 February 2010 10:58
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] registry info extraction for native COM dll

Hi,

Maybe this is an old topic but I did not find much information online.

To install a COM component, I need to extract COM information from the
dll first. In Wix2.0, tallow.exe can extract the information from a
managed COM dll, but it does not work for a native COM dll.

According to post
http://n2.nabble.com/Com-registration-using-tallow-td698121.html, the
work around is to debug with tallow to extract a native COM dll's
information.

Is there any tool making the job easier?

Thanks
Lian
------------------------------------------------------------------------
------
SOLARIS 10 is the OS for Data Centers - provides features such as
DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10
NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
------
SOLARIS 10 is the OS for Data Centers - provides features such as
DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10
NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
SOLARIS 10 is the OS for Data Centers - provides features such as
DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10
NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to