Ben, I've created an installer for a C# COM addin using Wix, and I ran
into some of the same problems.  The best way to get the necessary COM
settings for a registration seems to be to use a registry sniffer that
can compare snapshots.  I took a registry snapshot, registered the
assembly, and then took another snapshot and grabbed the diff between
the two.  Then I put all of these registry settings into my wxs file,
and everything seemed to work.  Probably not the most elegant solution,
but another one that you can try out.  Just remember to try it on as
clean a system as possible-a virtual PC is a good place to start.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
Reichelt
Sent: Saturday, November 24, 2007 5:40 PM
To: Ben
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] outlook com addin

 

I tried running heat on the directory with my .dlls and .ocxs, but it
would just hang :(

I tried the suggestion of setting the SelfRegCost='1' on each component
and that did the trick, thanks for the replies. 

ben

On Nov 23, 2007 7:20 PM, Ben <[EMAIL PROTECTED]> wrote:

Try running heat on a directory (not just a file)  that contains all the
assemblies you need to register. 



Ben Reichelt wrote: 

I am making an installer for an Outlook vb6 COM addin.  The addin
consists of 7 COM assemblies that need to be copied to the target
machine and then have regsvr32 called on each assembly. I have read that
calling out to regsvr32.exe from the msi is not recommended and instead
you should manually create the registry keys needed for each assembly.

The problem is that when I run heat.exe on my main assembly, it only
generates a <TypeLib> wix element, not everything that is  needed to
registry the assembly as an Outlook addin.  When I manually run regsvr32
after installation, then the assembly is correctly added to Outlook.  I
can't locate all the steps necessary to property register an assembly as
an Outlook addin, so I can't do it manually at this point. 

I have scoured the internet looking for someone else who has done this,
but I can't find anyone. Does anyone have experience in making Outlook
(or Office) addin installers?   Thanks



________________________________



 
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


________________________________



 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
  

 

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to