I'm not a WiX or install expert by any means, but this worked for me: <!-- The custom action to launch the ReadMe.CHM file when the installation completes. --> <CustomAction Id='LaunchReadme' Return='asyncNoWait' ExeCommand='hh.exe "[INSTALLDIR]ReadMe.chm"' Directory='TARGETDIR'> </CustomAction>
<!-- Perform the custom action only if it's an new install and the UI level is INSTALLUILEVEL_FULL (or completely interactive). --> <InstallExecuteSequence> <Custom Action='LaunchReadme' OnExit='success'> (NOT Installed) AND (UILevel=5) </Custom> </InstallExecuteSequence> John Wintellect - Know How http://www.wintellect.com 877-968-5528 > From: "Wilson, Phil" <[EMAIL PROTECTED]> > Date: Thu, 28 Sep 2006 12:35:03 -0700 > To: <wix-users@lists.sourceforge.net> > Conversation: [WiX-users] Launching a CHM > Subject: Re: [WiX-users] Launching a CHM > > 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 ------------------------------------------------------------------------- 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