-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdolt-windows-amd64.wxs
48 lines (48 loc) · 2.96 KB
/
dolt-windows-amd64.wxs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="Dolt PROCESSED_DOLT_VERSION" Language="1033" Version="PROCESSED_DOLT_VERSION" Manufacturer="DoltHub" UpgradeCode="6BC40754-759D-4899-9FD3-E6BE1823CACD">
<Package Compressed="yes" Manufacturer="DoltHub" InstallScope="perMachine" InstallerVersion="500" Platform="x64" />
<MajorUpgrade DowngradeErrorMessage="The version you're attempting to install is older than the installed version." AllowDowngrades="no" AllowSameVersionUpgrades="no" />
<MediaTemplate EmbedCab="yes" />
<WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="doltbanner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="doltdialog.bmp" />
<WixVariable Id="WixUIExclamationIco" Value="dolticon.ico" />
<WixVariable Id="WixUIInfoIco" Value="dolticon.ico" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Component Id="Path" Guid="0f00b40b-5587-40e6-9a93-35706a6adf8a">
<Environment Id="PATH" Name="PATH" Value="[DOLTINSTALLDIRECTORY]\bin" Permanent="no" Part="last" Action="set" System="no" />
</Component>
<Directory Id="ProgramFiles64Folder">
<Directory Name="Dolt" Id="DOLTINSTALLDIRECTORY">
<Component Win64="yes" Id="CMP_LICENSES" Guid="1e5b52c2-2ee7-4875-b410-71d0cfb91c4e">
<File Id="FILE_LICENSES" KeyPath="yes" Source="dolt\LICENSES" />
</Component>
<Directory Name="bin" Id="DIR_BIN">
<Component Win64="yes" Id="CMP_DOLTEXE" Guid="504086da-db5b-4a46-b683-fa3ca9f2ddfe">
<File Id="FILE_DOLTEXE" KeyPath="yes" Source="dolt\bin\dolt.exe" />
</Component>
</Directory>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder">
<Directory Id="DIR_STARTMENUDIR" Name="Dolt">
<Component Id="CMP_UNINSTALLSHORTCUT" Guid="4ACBEBEB-AAD3-41F6-82CD-097410EFFFE3">
<RemoveFolder Id="DIR_STARTMENUDIR" On="uninstall" />
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="installed" Type="integer" Value="1" KeyPath="yes" />
<Shortcut Id="UninstallProduct" Name="Uninstall Dolt" Description="Uninstalls the application" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" />
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id="FileToInstallFeature" Title="Dolt" Level="1" ConfigurableDirectory="DOLTINSTALLDIRECTORY">
<ComponentRef Id="CMP_LICENSES" />
<ComponentRef Id="CMP_DOLTEXE" />
<ComponentRef Id="Path" />
</Feature>
<Feature Id="ShortcutsFeature" Title="Start Menu Shortcuts" Level="1">
<ComponentRef Id="CMP_UNINSTALLSHORTCUT" />
</Feature>
<UIRef Id="WixUI_FeatureTree" />
</Product>
</Wix>