added msi to release pipeline
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<!--
|
||||
The installer project. It is not part of CursorLang.sln and is not meant to be
|
||||
built on its own: build-installer.ps1 publishes the application first and then
|
||||
builds this, passing in the folder it published to.
|
||||
|
||||
WiX 5 rather than the current 7: from version 6 onwards the toolset asks every
|
||||
build to accept the Open Source Maintenance Fee licence, which is a decision for
|
||||
a person to make and not for a build script. Version 5 carries no such
|
||||
requirement. Moving up later means changing the version here and adding
|
||||
-p:AcceptEula=true to the build.
|
||||
-->
|
||||
<Project Sdk="WixToolset.Sdk/5.0.2">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputName>CursorLang</OutputName>
|
||||
<OutputType>Package</OutputType>
|
||||
|
||||
<!--
|
||||
MSI validation still assumes an installation for the whole machine.
|
||||
Installing into the user's own profile trips three of its rules: a
|
||||
component whose key path is a file (ICE38), a folder it wants listed
|
||||
for removal (ICE64), and a warning that the files will not follow other
|
||||
users of the machine (ICE91). All three describe exactly what was
|
||||
intended here, so they are turned off rather than worked around.
|
||||
-->
|
||||
<SuppressIces>ICE38;ICE64;ICE91</SuppressIces>
|
||||
|
||||
<!--
|
||||
What the script passes in, gathered into the constants the source file
|
||||
reads. They are gathered here rather than handed over as one property
|
||||
from the command line: a semicolon in a property value is where MSBuild
|
||||
stops reading it, and the separator between constants is a semicolon.
|
||||
-->
|
||||
<DefineConstants>
|
||||
Version=$(CursorLangVersion);
|
||||
PayloadDir=$(PayloadDir);
|
||||
IconFile=$(IconFile);
|
||||
LicenseFile=$(LicenseFile)
|
||||
</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- CloseApplication and the launch at the end of the wizard come from here -->
|
||||
<PackageReference Include="WixToolset.Util.wixext" Version="5.0.2" />
|
||||
<PackageReference Include="WixToolset.UI.wixext" Version="5.0.2" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user