It would appear that the preview handler you are using does some
calculations to determine what changes to make to the box (a part of the
evil of self-registration is when there is no way to know beforehand what
some component will try to do to your box).

You will need to get a hold of the source code to your preview handler and
see what it is doing, and try to distill out of that what really needs to be
done in a declarative way.

-----Original Message-----
From: Daniel Moody [mailto:dani...@gibbscam.com] 
Sent: Thursday, July 15, 2010 9:23 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Difficulties registering a Preview Pane handler

Hello,

I'm trying to register a Preview Pane handler for our product's files using
Wix.  Unfortunately, Heat is unable to harvest anything from the preview
handler .dll file.  Iit gives a HEAT5151 error and reports "Exception has
been thrown by the target of an invocation."  I've tried using the
before-and-after registry snapshot approach, which has given me a large
number of registry keys and values, which oddly work fine on most computers
but not at all on a few.

My installer is "GACing" the .dll just fine, and if I run regasm from a
command line after my installer is finished, everything works as expected.

As I've just had the installer project transferred to me recently, I often
reference our old InstallShield installer to see what my predecessor did,
but in this case he used a binary custom action to manually run regasm,
something that I intend to avoid at all costs.

Thanks,

Daniel Moody | QA Engineer | Gibbs and Associates



----------------------------------------------------------------------------
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to