The general approach to this is to do whatever it takes to run a
ShellExcute "open" on the file.  For doc, chm, html or whatever
extension this will invoke the handler for it, just like double-click.
Details depend on your choice of language for the custom action, but C++
has ShellExecute() that takes "open" and file path, among other things. 

Phil Wilson 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Young,
Jason (GE Indust, GE Fanuc)
Sent: Thursday, September 28, 2006 11:40 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Launching a CHM

I've been banging my head all day trying to figure out how to launch a
CHM at the end of my install.  I'm trying to use a custom action, and I
got it to work for an EXE, but not the CHM.  I would like to load it
based on a FileKey if possible.  I don't really understand what the
documentation means when it has a phrase "type 35" or something.  Do you
actually set the type somewhere, or are they just classifications based
on what you pass in?

My ultimate goal is to have a checkbox that allows you to choose if you
want to launch the CHM, but that's not a requirement.

If anyone has an example for me, I would really appreciate it.

Thanks,
Jason

------------------------------------------------------------------------
-
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to