This commit is contained in:
Anmol Sethi 2022-12-18 10:36:20 -08:00
parent e3e889f90d
commit b76ab9b989
No known key found for this signature in database
GPG key ID: 25BC68888A99A8BA
2 changed files with 40 additions and 40 deletions

View file

@ -1,39 +1,39 @@
<!-- <!--
Wix documentation is nonexistent for v4. What exists is largely out of date and inconsistent. Wix documentation is nonexistent for v4. What exists is largely out of date and inconsistent.
This file was pieced together from: This file was pieced together from:
1. https://www.firegiant.com/wix/tutorial/getting-started/ 1. https://www.firegiant.com/wix/tutorial/getting-started/
- This is for v3, I used wix convert to convert to v4 - This is for v3, I used wix convert to convert to v4
2. https://wixtoolset.org/docs/reference/schema/wxs/ 2. https://wixtoolset.org/docs/reference/schema/wxs/
3. Googling with trial and error 3. Googling with trial and error
--> -->
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Name="D2" UpgradeCode="ac84fee7-eb67-4f5d-a08d-adef69538690" Language="1033" Codepage="utf-8" Version="$(var.D2Version)" Manufacturer="Terrastruct, Inc." InstallerVersion="200"> <Package Name="D2" UpgradeCode="ac84fee7-eb67-4f5d-a08d-adef69538690" Language="1033" Codepage="utf-8" Version="$(var.D2Version)" Manufacturer="Terrastruct, Inc." InstallerVersion="200">
<SummaryInformation Keywords="Installer" Description="The D2 Installer" Manufacturer="Terrastruct, Inc." Codepage="1252" /> <SummaryInformation Keywords="Installer" Description="The D2 Installer" Manufacturer="Terrastruct, Inc." Codepage="1252" />
<Icon Id="d2.ico" SourceFile="d2.ico" /> <Icon Id="d2.ico" SourceFile="d2.ico" />
<Property Id="ARPPRODUCTICON" Value="d2.ico" /> <Property Id="ARPPRODUCTICON" Value="d2.ico" />
<Media Id="1" Cabinet="D2.cab" EmbedCab="yes" /> <Media Id="1" Cabinet="D2.cab" EmbedCab="yes" />
<Feature Id="Complete" Level="1"> <Feature Id="Complete" Level="1">
<ComponentRef Id="Executable" /> <ComponentRef Id="Executable" />
</Feature> </Feature>
<MajorUpgrade AllowSameVersionUpgrades='yes' DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit."/> <MajorUpgrade AllowSameVersionUpgrades='yes' DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit."/>
<StandardDirectory Id="ProgramFiles64Folder"> <StandardDirectory Id="ProgramFiles64Folder">
<Directory Id="INSTALLDIR" Name="D2"> <Directory Id="INSTALLDIR" Name="D2">
<Component Id="Executable" Guid="1090d036-c985-461f-94f6-3121dbcfcb48"> <Component Id="Executable" Guid="1090d036-c985-461f-94f6-3121dbcfcb48">
<File Id="D2EXE" Name="d2.exe" Source="d2.exe" KeyPath="yes" /> <File Id="D2EXE" Name="d2.exe" Source="d2.exe" KeyPath="yes" />
<Environment <Environment
Id="D2PathEntry" Id="D2PathEntry"
Action="set" Action="set"
Part="last" Part="last"
Name="PATH" Name="PATH"
Permanent="no" Permanent="no"
System="yes" System="yes"
Value="[INSTALLDIR]" /> Value="[INSTALLDIR]" />
</Component> </Component>
</Directory> </Directory>
</StandardDirectory> </StandardDirectory>
</Package> </Package>
</Wix> </Wix>

View file

@ -14,7 +14,7 @@ You may install `d2` through any of the following methods.
- <a href="#from-source" id="toc-from-source">From source</a> - <a href="#from-source" id="toc-from-source">From source</a>
- <a href="#source-release" id="toc-source-release">Source Release</a> - <a href="#source-release" id="toc-source-release">Source Release</a>
- <a href="#windows" id="toc-windows">Windows</a> - <a href="#windows" id="toc-windows">Windows</a>
- <a href="#msys2" id="toc-msys2">MSYS2</a> - <a href="#release-archives" id="toc-release-archives">Release archives</a>
- <a href="#wsl" id="toc-wsl">WSL</a> - <a href="#wsl" id="toc-wsl">WSL</a>
- <a href="#docker" id="toc-docker">Docker</a> - <a href="#docker" id="toc-docker">Docker</a>
- <a href="#coming-soon" id="toc-coming-soon">Coming soon</a> - <a href="#coming-soon" id="toc-coming-soon">Coming soon</a>