A Custom Action must point to a DLL/EXE/VBScript or Jscript.

If the file must be in the MSI itself you cannot run it using a 
VBScript/DLL/EXE Custom action because the .chm is not extracted yet. You could 
wrap the .CHM in a small EXE and run that then...

Best regards,
Sebastian Brand
www.instyler.com | blog.sebastianbrand.com 


-----Original Message-----
From: Goran Brcanski [mailto:goran.brcan...@gmail.com] 
Sent: Donnerstag, 6. Mai 2010 10:40
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Show help file during installation


Is it possible to run .chm file during installation?

I added one checkbox, and if it's checked custom action is called which
should show install guide.

I tried this:

<Binary Id="InstallGuide" SourceFile="InstallGuide.chm" />

<CustomAction  Id='ShowInstallGuide' BinaryKey="InstallGuide" ExeCommand=''
Execute='immediate' Return='asyncNoWait' />


Checkbox state is checked on Next button click:
<Publish Dialog="CustomWelcomeDlg" Control="Next" Event="DoAction"
Value="ShowInstallGuide">SHOW_INSTALL_GUIDE = "1"</Publish>

It works if I define executable file in Binary element, but nothing happens
for .chm or any other non executable file.

I was thinking to try calling hh.exe InstallGuide.chm but I am not sure how
to call this when InstallGuide.chm is not on the disk but in installer.


Thanks,
Goran
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Show-help-file-during-installation-tp5013146p5013146.html
Sent from the wix-users mailing list archive at Nabble.com.

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


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

Reply via email to