Re: [WiX-users] RE : COM Registration

2007-03-21 Thread Richard.Foster
Either calling regsvr32, or (more correctly and more in keeping with the 
Windows Installer way of doing things) adding SelfRegCost to the appropriate 
File element(s) and making sure that SelfRegModules and SelfUnregModules 
is present where it needs to be in your InstallExecuteSequence.

 

I would STRONGLY recommend against doing this however. It simply doesn't work 
well enough. I would choose setting binary compatibility on the VB side and 
update the registry keys manually when necessary over the SelfReg option.

 

Regards,

Richard

 



From: Jacquet Fabian [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 21, 2007 10:55 AM
To: Foster, Richard - PAL
Subject: RE : [WiX-users] COM Registration

 

When you say SelfReg, you think about call regsvr32?

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 21 mars 2007 15:45
À : Jacquet Fabian; wix-users@lists.sourceforge.net
Objet : RE: [WiX-users] COM Registration

Jacquet,

 

If you have binary compatibility enabled for the DLL then you should 
only need to regenerate the registry keys if you modify the public interface. 
This would probably significantly reduce the number of times you have to change 
the keys in question.

 

You could use SelfReg... but as has already been commented on this list 
many times SelfReg is evil (during installation, at least).

 

Regards,

Richard

 





From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacquet 
Fabian
Sent: Wednesday, March 21, 2007 10:38 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] COM Registration

 

Hi,

 

Is there a way to register self-register com dll (made with VB6) 
without use registry keys?

 

My problem is: if I modify my com dll I must generate registry keys 
again...

I would like to copy dll and compile my wix files without change 
anything else.

 

Is it possible?

 

 






* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the 
individual or entity to whom it is addressed. If you have received this 
communication in error, be aware that forwarding it, copying it, or in any way 
disclosing its content to any other person, is strictly prohibited. Peek 
Traffic Corporation is neither liable for the contents, nor for the proper, 
complete and timely transmission of (the information contained in) this 
communication. If you have received this communication in error, please notify 
the author by replying to this e-mail immediately and delete the material from 
any computer.




* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Peek Traffic Corporation 
is neither liable for the contents, nor for the proper, complete and timely 
transmission of (the information contained in) this communication. If you have 
received this communication in error, please notify the author by replying to 
this e-mail immediately and delete the material from any computer.


-
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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] RE : COM Registration

2007-03-21 Thread Wilson, Phil
The issue with VB6 COM Dlls is that they let you change the public interface, 
so you correctly get a new IID, but VB sometimes helps by adding a forwarding 
link from the old IID to the new one (interface forwarding).  This can result 
in a mess of IIDs and registration woes, especially when updated versions of 
the Dll are shipped. You might see a Forward key in the interface entries 
that isn't actually in the type library - self-registration adds it.  Some COM 
clients don't recognise interface forwarding 
(http://support.microsoft.com/kb/230385).   COM registration is tricky at the 
best of times, so I'm just pointing out that when the COM Dll is VB6 there's 
potentially more complication, and the VB guys have to be very careful with 
compatibility. 

Phil Wilson  




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, March 21, 2007 8:04 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] RE : COM Registration



Either calling regsvr32, or (more correctly and more in keeping with the 
Windows Installer way of doing things) adding SelfRegCost to the appropriate 
File element(s) and making sure that SelfRegModules and SelfUnregModules 
is present where it needs to be in your InstallExecuteSequence.

 

I would STRONGLY recommend against doing this however. It simply doesn't work 
well enough. I would choose setting binary compatibility on the VB side and 
update the registry keys manually when necessary over the SelfReg option.

 

Regards,

Richard

 

From: Jacquet Fabian [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 21, 2007 10:55 AM
To: Foster, Richard - PAL
Subject: RE : [WiX-users] COM Registration

When you say SelfReg, you think about call regsvr32?

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 21 mars 2007 15:45
À : Jacquet Fabian; wix-users@lists.sourceforge.net
Objet : RE: [WiX-users] COM Registration

Jacquet,

 

If you have binary compatibility enabled for the DLL then you should 
only need to regenerate the registry keys if you modify the public interface. 
This would probably significantly reduce the number of times you have to change 
the keys in question.

 

You could use SelfReg... but as has already been commented on this list 
many times SelfReg is evil (during installation, at least).

 
Regards,

Richard



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
Jacquet Fabian
Sent: Wednesday, March 21, 2007 10:38 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] COM Registration


Hi,


Is there a way to register self-register com dll (made with VB6) 
without use registry keys?
 

My problem is: if I modify my com dll I must generate registry keys 
again...

I would like to copy dll and compile my wix files without change 
anything else.
 

Is it possible?
 




* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the 
individual or entity to whom it is addressed. If you have received this 
communication in error, be aware that forwarding it, copying it, or in any way 
disclosing its content to any other person, is strictly prohibited. Peek 
Traffic Corporation is neither liable for the contents, nor for the proper, 
complete and timely transmission of (the information contained in) this 
communication. If you have received this communication in error, please notify 
the author by replying to this e-mail immediately and delete the material from 
any computer.




* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Peek Traffic Corporation 
is neither liable for the contents, nor for the proper, complete and timely 
transmission of (the information contained in) this communication. If you have 
received this communication in error, please notify the author by replying to 
this e-mail immediately and delete the material from any computer.




-
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

[WiX-users] RE : COM registration[Scanned]

2007-03-14 Thread Jacquet Fabian
It's exact. I have to install the VB6fr.dll which is the vb runtime.

I discover I have another problem too. I have to register an activeX which is a 
.exe
Could I do this with tallow?

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Thomas Leigh
Envoyé : mercredi 14 mars 2007 11:01
À : wix-users@lists.sourceforge.net
Objet : Re: [WiX-users] COM registration[Scanned]


I'm guessing that Jacquet's app is written in VB6 and probably uses some DLLs 
that Microsoft provide. In which case, the files probably should go in 
system32, as they may already be installed...

I'm in a similar situation - preparing to write my first WiX install, for a VB6 
app. I'm guessing there's an msm out there somewhere to install the VB runtime 
files?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett
Sent: 14 March 2007 09:40
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] COM registration[Scanned]

Is the DLL shared just between your products or with other parts of the system? 
 You're not really 
meant to put things in the system32 folder.

Rob

Jacquet Fabian wrote:
 Hi,
 
  
 
 I'm a new user of wix. I'm trying to convert a setup made with
Package 
 and Deployment Wizard of visual studio 6.
 
  
 
 This setup use some self register dll and some shared dll wich are in
 the system32 directory.
 
  
 
 Currently, I'm using tallow to generate registry keys of self register
dll.
 
 And I just copy shared dll in the system32 directory.
 
  
 
 But I'm not sure if it's the best way to install those components.
Could 
 you help me?
 
  
 
 Thank you.
 
  
 
 


 


-
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
___
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users