[WiX-users] self registration of COM dlls

2010-11-24 Thread Yu, Brian
Can I ask how I am to do self registration of com dll?

I've been using SelfRegCost='0' on the file element 

 

Even it's not advisable as seen below because it's quick and easy.

http://www.symantec.com/connect/blogs/resons-avoiding-self-registration

 

I remember trying to do it the proper way using heat but never got
anywhere

Please advise on a proper way of doing it with an example.

 

Regards

Brian


_
This e-mail was sent to you by EASYSCREEN LIMITED (EASYSCREEN). We are 
incorporated under the laws of England and Wales (company no. 05677531 and VAT 
registration no. 872810613). Our registered office is at 155 Bishopsgate, 
London EC2M 3TQ. This e-mail and/or any attached documents may contain 
privileged and confidential information and should only be read by those 
persons to whom this e-mail is addressed. Use by other than intended recipients 
is prohibited. If you are not the addressee, you must not copy, distribute, 
disclose or use any of the information in it. If you have received it in error, 
please delete it and immediately notify the sender. EASYSCREEN reserves the 
right to monitor all e-mail messages passing through its network. As we cannot 
guarantee the genuineness, accuracy or completeness of the information 
contained in this message, the statements set forth are not legally binding.
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] self registration of COM dlls

2010-11-24 Thread Rob Mensching
SelfReg is evil. Run heat against your .dll and it will try to extract the
registry keys. If it can't for some reason (usually because your .dll has
difficult dependencies) then you can write the Class, ProgId, TypeLib
registration by hand.

On Wed, Nov 24, 2010 at 1:30 AM, Yu, Brian b...@easyscreen.com wrote:

 Can I ask how I am to do self registration of com dll?

 I've been using SelfRegCost='0' on the file element



 Even it's not advisable as seen below because it's quick and easy.

 http://www.symantec.com/connect/blogs/resons-avoiding-self-registration



 I remember trying to do it the proper way using heat but never got
 anywhere

 Please advise on a proper way of doing it with an example.



 Regards

 Brian


 _
 This e-mail was sent to you by EASYSCREEN LIMITED (EASYSCREEN). We are
 incorporated under the laws of England and Wales (company no. 05677531 and
 VAT registration no. 872810613). Our registered office is at 155
 Bishopsgate, London EC2M 3TQ. This e-mail and/or any attached documents may
 contain privileged and confidential information and should only be read by
 those persons to whom this e-mail is addressed. Use by other than intended
 recipients is prohibited. If you are not the addressee, you must not copy,
 distribute, disclose or use any of the information in it. If you have
 received it in error, please delete it and immediately notify the sender.
 EASYSCREEN reserves the right to monitor all e-mail messages passing through
 its network. As we cannot guarantee the genuineness, accuracy or
 completeness of the information contained in this message, the statements
 set forth are not legally binding.

 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users