neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

CustomInstallDirDlg.wxs (3419B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
      3 
      4 
      5 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
      6     <Fragment>
      7         <UI>
      8             <Dialog Id="CustomInstallDirDlg" Width="370" Height="270" Title="!(loc.InstallDirDlg_Title)">
      9                 <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" />
     10                 <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" />
     11                 <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
     12                     <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
     13                 </Control>
     14 
     15                 <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.InstallDirDlgDescription)" />
     16                 <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.InstallDirDlgTitle)" />
     17                 <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
     18                 <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
     19                 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
     20 
     21                 <Control Id="Note" Type="Text" X="20" Y="45" Width="290" Height="45" NoPrefix="yes">
     22                   <Text>Note: besides its installation folder, [ProductName] stores configuration, data, and logs in standard locations. These can be further configured by the $NVIM_APPNAME environment variable. Also, the "base" (root) directories conform to the XDG Base Directory Specification. For more information see:</Text>
     23                 </Control>
     24                 <Control Id="Link1" Type="Hyperlink" X="20" Y="90" Width="290" Height="15">
     25                   <Text><![CDATA[<a href="https://neovim.io/doc/user/starting.html#standard-path">https://neovim.io/doc/user/starting.html#standard-path</a>]]></Text>
     26                 </Control>
     27                 <Control Id="Link2" Type="Hyperlink" X="20" Y="105" Width="290" Height="15">
     28                   <Text><![CDATA[<a href="https://neovim.io/doc/user/starting.html#base-directories">https://neovim.io/doc/user/starting.html#base-directories</a>]]></Text>
     29                 </Control>
     30                 <Control Id="Link3" Type="Hyperlink" X="20" Y="120" Width="290" Height="15">
     31                   <Text><![CDATA[<a href="https://neovim.io/doc/user/starting.html#%24NVIM_APPNAME">https://neovim.io/doc/user/starting.html#$NVIM_APPNAME</a>]]></Text>
     32                 </Control>
     33                 <Control Id="FolderLabel" Type="Hyperlink" X="20" Y="135" Width="290" Height="15">
     34                   <Text>Install [ProductName] to:</Text>
     35                 </Control>
     36                 <Control Id="Folder" Type="PathEdit" X="20" Y="150" Width="320" Height="18" Property="WIXUI_INSTALLDIR" Indirect="yes" />
     37                 <Control Id="ChangeFolder" Type="PushButton" X="20" Y="180" Width="56" Height="17" Text="!(loc.InstallDirDlgChange)" />
     38             </Dialog>
     39         </UI>
     40     </Fragment>
     41 </Wix>