Files
texturecraft/packaging/windows/texturecraft.wxs
bflatastic 1e88b9041f Smooth 8K strokes, decal handles, displacement, refraction, release readiness
- Strokes pre-blend their commit while painting and recompose committed tiles at low
  priority: the 8K stroke-end frame drops from 30-42 ms to 12-19 ms
- Texture set resize runs in the background (8K: 3 s to 0.5 s, UV padding map from island
  borders only)
- Decal move/scale/rotate handles; FBX and USD high-poly textures for the color map;
  viewport displacement from the height channel; screen-space refraction of the scene
- CI pinned to Rust 1.96.0; FreeBSD VM sized for hosted runners; release builds embed
  craft-fonts; file associations for FBX, COLLADA, USD and Alembic on every platform
- README, release checklist, NOTICE and attribution brought up to date

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 13:25:10 +07:00

88 lines
4.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
TextureCraft MSI (WiX Toolset v5: `dotnet tool install -g wix`). Built by package.ps1:
wix build texturecraft.wxs -arch x64 -d Version=1.2.3 -d BinDir=... -d IconPath=... -o out.msi
Per-machine install into Program Files, a Start Menu shortcut, `.tcraft` owned by TextureCraft,
and TextureCraft offered under "Open with" for the mesh formats it opens (without taking over
the user's default app for them).
UpgradeCode is TextureCraft's for good: generated once (2026-10-14), never change it, or new
versions install beside old ones instead of replacing them.
-->
<?define MeshExtensions = glb;gltf;fbx;dae;usd;usda;usdc;usdz;abc;obj;ply;stl ?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package
Name="TextureCraft"
Manufacturer="Learning Machines LLC"
Version="$(var.Version)"
UpgradeCode="7E670E60-BB22-4E6B-8749-DD3FD4CA8979"
Scope="perMachine"
Compressed="yes"
Language="1033">
<SummaryInformation Description="TextureCraft 3D texture painter" Manufacturer="Learning Machines LLC" />
<!-- Same-version upgrades let successive pre-releases of one X.Y.Z replace each other
(MSI versions are numeric, so 1.2.3-rc.1 and 1.2.3-rc.2 are both 1.2.3). -->
<MajorUpgrade AllowSameVersionUpgrades="yes"
DowngradeErrorMessage="A newer version of TextureCraft is already installed." />
<MediaTemplate EmbedCab="yes" CompressionLevel="high" />
<!-- MSI caches this icon using its Id as the filename. Advertised shortcuts to an
.exe need an .exe icon identifier (ICE50), even when the source is an ICO. -->
<Icon Id="TextureCraftIcon.exe" SourceFile="$(var.IconPath)" />
<Property Id="ARPPRODUCTICON" Value="TextureCraftIcon.exe" />
<Property Id="ARPURLINFOABOUT" Value="https://getartcraft.com/apps/texturecraft" />
<Property Id="ARPURLUPDATEINFO" Value="https://getartcraft.com/apps/texturecraft" />
<Property Id="ARPHELPLINK" Value="https://discord.gg/artcraft" />
<StandardDirectory Id="ProgramFiles6432Folder">
<Directory Id="INSTALLFOLDER" Name="TextureCraft" />
</StandardDirectory>
<StandardDirectory Id="ProgramMenuFolder" />
<Feature Id="Main" Title="TextureCraft" Level="1">
<ComponentGroupRef Id="TextureCraftFiles" />
</Feature>
</Package>
<Fragment>
<ComponentGroup Id="TextureCraftFiles" Directory="INSTALLFOLDER">
<Component Id="TextureCraftApp">
<File Id="TextureCraftExe" Source="$(var.BinDir)\texturecraft.exe" KeyPath="yes">
<Shortcut Id="StartMenuShortcut" Directory="ProgramMenuFolder" Name="TextureCraft"
Description="TextureCraft 3D texture painter" WorkingDirectory="INSTALLFOLDER" Advertise="yes"
Icon="TextureCraftIcon.exe" IconIndex="0" />
</File>
<!-- .tcraft: TextureCraft's own project format; TextureCraft is its default app. -->
<ProgId Id="TextureCraft.Project" Description="TextureCraft Project" Icon="TextureCraftExe" IconIndex="0">
<Extension Id="tcraft" ContentType="application/x-texturecraft">
<Verb Id="open" Command="Open" TargetFile="TextureCraftExe" Argument="&quot;%1&quot;" />
</Extension>
</ProgId>
<!-- Meshes (formats mesh_import::MESH_EXTENSIONS): offered under "Open with", never forced
as the default. -->
<ProgId Id="TextureCraft.Mesh" Description="3D Model" Icon="TextureCraftExe" IconIndex="0" />
<RegistryValue Root="HKLM" Key="Software\Classes\TextureCraft.Mesh\shell\open\command" Value="&quot;[#TextureCraftExe]&quot; &quot;%1&quot;" Type="string" />
<?foreach Ext in $(var.MeshExtensions)?>
<RegistryValue Root="HKLM" Key="Software\Classes\.$(var.Ext)\OpenWithProgids" Name="TextureCraft.Mesh" Value="" Type="string" />
<?endforeach?>
<!-- "Open with" app list and the Run dialog (Win+R "texturecraft"). -->
<RegistryValue Root="HKLM" Key="Software\Classes\Applications\texturecraft.exe" Name="FriendlyAppName" Value="TextureCraft" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Applications\texturecraft.exe\shell\open\command" Value="&quot;[#TextureCraftExe]&quot; &quot;%1&quot;" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Applications\texturecraft.exe\SupportedTypes" Name=".tcraft" Value="" Type="string" />
<?foreach Ext in $(var.MeshExtensions)?>
<RegistryValue Root="HKLM" Key="Software\Classes\Applications\texturecraft.exe\SupportedTypes" Name=".$(var.Ext)" Value="" Type="string" />
<?endforeach?>
<RegistryValue Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\App Paths\texturecraft.exe" Value="[#TextureCraftExe]" Type="string" />
</Component>
<Component Id="TextureCraftCli">
<File Id="TextureCraftCliExe" Source="$(var.BinDir)\texturecraft-cli.exe" KeyPath="yes" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>