1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Configurable CHM path in installer source.

At the moment, it assumes the CHM lives in ../doc, which won't always
be true once we start doing out-of-tree builds of the documentation.
This commit is contained in:
Simon Tatham 2021-05-03 16:21:26 +01:00
parent 4a8fc43d81
commit f60853ec66

View File

@ -91,6 +91,10 @@
<?define Desktop_Shortcut_Component_GUID = "8999BBE1-F99E-4301-B7A6-480C19DE13B9" ?> <?define Desktop_Shortcut_Component_GUID = "8999BBE1-F99E-4301-B7A6-480C19DE13B9" ?>
<?endif ?> <?endif ?>
<?ifndef HelpFilePath ?>
<?define HelpFilePath = "../doc/putty.chm" ?>
<?endif ?>
<?define ProgramName = "PuTTY$(var.Bitness)" ?> <?define ProgramName = "PuTTY$(var.Bitness)" ?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
@ -238,7 +242,7 @@ https://msdn.microsoft.com/en-us/library/windows/desktop/dd391569(v=vs.85).aspx
<Component Id="HelpFile_Component" <Component Id="HelpFile_Component"
Guid="$(var.HelpFile_Component_GUID)"> Guid="$(var.HelpFile_Component_GUID)">
<File Id="HelpFile_File" <File Id="HelpFile_File"
Source="../doc/putty.chm" KeyPath="yes"> Source="$(var.HelpFilePath)" KeyPath="yes">
<Shortcut Id="startmenuManual" Directory="ProgramMenuDir" <Shortcut Id="startmenuManual" Directory="ProgramMenuDir"
Name="PuTTY Manual" Name="PuTTY Manual"
Advertise="no" /> Advertise="no" />