Windows Distribution Fixes

This commit is contained in:
Stef Tervelde
2025-03-10 00:36:45 +01:00
parent 34b90c7cbe
commit 5366ac9ed7
3 changed files with 10 additions and 3 deletions
+4 -1
View File
@@ -145,10 +145,13 @@ tasks.register<Exec>("packageCustomDmg"){
tasks.register<Exec>("packageCustomMsi"){
workingDir = file("windows")
group = "compose desktop"
commandLine(
"dotnet",
"build",
"/p:Platform=x64"
"/p:Platform=x64",
"/p:DefineConstants=\"Version=$version;\""
)
}
+4
View File
@@ -1,4 +1,8 @@
<Project Sdk="WixToolset.Sdk/5.0.1">
<PropertyGroup>
<OutputPath>..\build\compose\binaries\main\msi</OutputPath>
<OutputName>Processing-$(Version)</OutputName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="WixToolset.UI.wixext" Version="5.0.1" />
</ItemGroup>
+2 -2
View File
@@ -1,5 +1,5 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
<Package Name="Processing" Manufacturer="Processing Foundation" Version="0.0.1" UpgradeCode="34577f3b-7cbe-4c5e-827d-5fe5ce9d371c">
<Package Name="Processing" Manufacturer="Processing Foundation" Version="$(Version)" UpgradeCode="34577f3b-7cbe-4c5e-827d-5fe5ce9d371c">
<Icon Id="icon.ico" SourceFile="..\..\build\windows\processing.ico" />
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
@@ -10,7 +10,7 @@
<WixVariable Id="WixUILicenseRtf" Value="license.rtf" />
<WixVariable Id="WixUIDialogBmp" Value="background.png" />
<WixVariable Id="WixUIBannerBmp" Value="banner.png" />
<Feature Id="MainApplication" Title="Main Application" Level="1">
<Feature Id="MainApplication" Title="Processing" Level="1">
<Files Include="..\build\compose\binaries\main\app\Processing\**" />
<ComponentRef Id="ApplicationShortcut" />
</Feature>