If you are happy to build your installer with the help file not
compressed into a cab, you can use the OriginalDatabase property to find
the file and use the WixShellExec custom action (documented in the wix3
help) to run it. 

-----Original Message-----
From: Sebastian Brand [mailto:sebast...@instyler.com] 
Sent: 06 May 2010 10:42
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Show help file during installation

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
</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com";><img src="http://www.sdl.com/images/email 
logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a>
<BR>
<font face="arial"  size="2" "><a href = "http://www.sdl.com"; 
style="color:005740; font-weight: bold">www.sdl.com</a>
<BR>
<BR>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
</font>



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

Reply via email to