]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/installer.wxs
Document SSH IUTF8 mode.
[PuTTY.git] / windows / installer.wxs
index d4aa6c358e0332d55e867ee5bda430fd566af819..52e7cb771effeb472a5c9d3b51bc81c600ac129c 100644 (file)
           <Component Id="README_Component"
                      Guid="0AB63F2A-0FD9-4961-B8F7-AB85C22D9986">
             <File Id="README_File"
-                  Source="README.txt" KeyPath="yes" />
+                  Source="README-msi.txt" Name="README.txt" KeyPath="yes" />
           </Component>
 
           <!--
       <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
       <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
 
+      <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" 
+               Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
+
       <!--
           This ARPNOMODIFY flag prohibits changing the set of
           installed features, which would otherwise be possible by
       <Property Id="ARPNOMODIFY" Value="1" />
     </UI>
 
+    <!--
+        Offer to display README after installation.
+    -->
+    <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT"
+              Value="View README file" />
+    <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1" />
+    <Property Id="WixShellExecTarget" Value="[#README_File]" />
+    <CustomAction Id="LaunchApplication" BinaryKey="WixCA"
+                  DllEntry="WixShellExec" Impersonate="yes" />
+
     <!-- Glue: tell the install dir part of the UI what id my actual
          install dir is known by. Otherwise the former won't know how
          to alter the setting of the latter. -->