mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-13 21:39:59 +02:00
Update QElectroTech.wxs
This commit is contained in:
@@ -1,79 +1,79 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
<!--
|
||||||
QElectroTech.wxs — WiX v7 installer definition
|
QElectroTech.wxs - WiX v7 installer definition
|
||||||
Génère un MSI x64 pour QElectroTech (build MSYS2/UCRT64).
|
Generates an x64 MSI for QElectroTech (MSYS2/UCRT64 build).
|
||||||
|
|
||||||
Variables passées depuis la ligne de commande wix build :
|
Variables passed from the wix build command line:
|
||||||
-d FilesDir=<chemin absolu vers artifact\files>
|
-d FilesDir=<absolute path to artifact\files>
|
||||||
-d Version=<version numérique ex. 0.100.1.0>
|
-d Version=<numeric version e.g. 0.100.1.0>
|
||||||
-d ProductVersion=<version lisible ex. 0.100.1-r8770-abc1234_x86_64-win64>
|
-d ProductVersion=<display version e.g. 0.100.1-r8770-abc1234_x86_64-win64>
|
||||||
-->
|
-->
|
||||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
|
||||||
|
xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
|
||||||
|
|
||||||
<Package
|
<Package
|
||||||
Name="QElectroTech"
|
Name="QElectroTech"
|
||||||
Manufacturer="QElectroTech Team"
|
Manufacturer="QElectroTech Team"
|
||||||
Version="!(bind.Variable.Version)"
|
Version="$(var.Version)"
|
||||||
UpgradeCode="A1B2C3D4-E5F6-7890-ABCD-EF1234567890"
|
UpgradeCode="A1B2C3D4-E5F6-7890-ABCD-EF1234567890"
|
||||||
Language="1033"
|
Language="1033"
|
||||||
Codepage="1252"
|
Codepage="1252"
|
||||||
InstallerVersion="500"
|
InstallerVersion="500"
|
||||||
Scope="perMachine">
|
Scope="perMachine">
|
||||||
|
|
||||||
<!-- Mise à jour en place : désinstalle l'ancienne version automatiquement -->
|
<!-- In-place upgrade: automatically uninstalls the previous version -->
|
||||||
<MajorUpgrade
|
<MajorUpgrade
|
||||||
DowngradeErrorMessage="Une version plus récente de QElectroTech est déjà installée."
|
DowngradeErrorMessage="A newer version of QElectroTech is already installed."
|
||||||
Schedule="afterInstallInitialize" />
|
Schedule="afterInstallInitialize" />
|
||||||
|
|
||||||
<!-- Répertoire d'installation -->
|
<!-- Installation directory -->
|
||||||
<StandardDirectory Id="ProgramFiles64Folder">
|
<StandardDirectory Id="ProgramFiles64Folder">
|
||||||
<Directory Id="INSTALLDIR" Name="QElectroTech" />
|
<Directory Id="INSTALLDIR" Name="QElectroTech" />
|
||||||
</StandardDirectory>
|
</StandardDirectory>
|
||||||
|
|
||||||
<!-- ============================================================
|
<!-- ============================================================
|
||||||
bin\ complet (exe + toutes les DLLs + sous-dossiers Qt)
|
bin\ — full harvest (exe + all DLLs + Qt subdirectories)
|
||||||
Files harvest tout le dossier — pas d'attribut Exclude en WiX v7
|
|
||||||
============================================================ -->
|
============================================================ -->
|
||||||
<ComponentGroup Id="CG_Bin" Directory="INSTALLDIR">
|
<ComponentGroup Id="CG_Bin" Directory="INSTALLDIR">
|
||||||
<Files Include="!(bind.Variable.FilesDir)\bin\**" />
|
<Files Include="$(var.FilesDir)\bin\**" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<!-- ============================================================
|
<!-- ============================================================
|
||||||
Fichiers racine de files\ (LICENSE, bat, reg...)
|
Root files in files\ (LICENSE, bat, reg...)
|
||||||
============================================================ -->
|
============================================================ -->
|
||||||
<ComponentGroup Id="CG_Root" Directory="INSTALLDIR">
|
<ComponentGroup Id="CG_Root" Directory="INSTALLDIR">
|
||||||
<Files Include="!(bind.Variable.FilesDir)\*" />
|
<Files Include="$(var.FilesDir)\*" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<!-- ============================================================
|
<!-- ============================================================
|
||||||
Données applicatives — harvest par dossier
|
Application data — one ComponentGroup per folder
|
||||||
============================================================ -->
|
============================================================ -->
|
||||||
<ComponentGroup Id="CG_Elements" Directory="INSTALLDIR">
|
<ComponentGroup Id="CG_Elements" Directory="INSTALLDIR">
|
||||||
<Files Include="!(bind.Variable.FilesDir)\elements\**" />
|
<Files Include="$(var.FilesDir)\elements\**" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<ComponentGroup Id="CG_Lang" Directory="INSTALLDIR">
|
<ComponentGroup Id="CG_Lang" Directory="INSTALLDIR">
|
||||||
<Files Include="!(bind.Variable.FilesDir)\lang\**" />
|
<Files Include="$(var.FilesDir)\lang\**" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<ComponentGroup Id="CG_Titleblocks" Directory="INSTALLDIR">
|
<ComponentGroup Id="CG_Titleblocks" Directory="INSTALLDIR">
|
||||||
<Files Include="!(bind.Variable.FilesDir)\titleblocks\**" />
|
<Files Include="$(var.FilesDir)\titleblocks\**" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<ComponentGroup Id="CG_Examples" Directory="INSTALLDIR">
|
<ComponentGroup Id="CG_Examples" Directory="INSTALLDIR">
|
||||||
<Files Include="!(bind.Variable.FilesDir)\examples\**" />
|
<Files Include="$(var.FilesDir)\examples\**" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<ComponentGroup Id="CG_Fonts" Directory="INSTALLDIR">
|
<ComponentGroup Id="CG_Fonts" Directory="INSTALLDIR">
|
||||||
<Files Include="!(bind.Variable.FilesDir)\fonts\**" />
|
<Files Include="$(var.FilesDir)\fonts\**" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<ComponentGroup Id="CG_Icons" Directory="INSTALLDIR">
|
<ComponentGroup Id="CG_Icons" Directory="INSTALLDIR">
|
||||||
<Files Include="!(bind.Variable.FilesDir)\ico\**" />
|
<Files Include="$(var.FilesDir)\ico\**" />
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<!-- ============================================================
|
<!-- ============================================================
|
||||||
Raccourcis bureau + menu Démarrer
|
Desktop + Start Menu shortcuts
|
||||||
============================================================ -->
|
============================================================ -->
|
||||||
<ComponentGroup Id="CG_Shortcuts" Directory="INSTALLDIR">
|
<ComponentGroup Id="CG_Shortcuts" Directory="INSTALLDIR">
|
||||||
<Component Id="C_ShortcutDesktop" Guid="F1A2B3C4-D5E6-7890-5678-012345678901">
|
<Component Id="C_ShortcutDesktop" Guid="F1A2B3C4-D5E6-7890-5678-012345678901">
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<!-- ============================================================
|
<!-- ============================================================
|
||||||
Association fichier .qet
|
.qet file association
|
||||||
============================================================ -->
|
============================================================ -->
|
||||||
<ComponentGroup Id="CG_FileAssoc" Directory="INSTALLDIR">
|
<ComponentGroup Id="CG_FileAssoc" Directory="INSTALLDIR">
|
||||||
<Component Id="C_FileAssoc" Guid="B3C4D5E6-F7A8-9012-7890-234567890123">
|
<Component Id="C_FileAssoc" Guid="B3C4D5E6-F7A8-9012-7890-234567890123">
|
||||||
@@ -119,12 +119,12 @@
|
|||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<!-- ============================================================
|
<!-- ============================================================
|
||||||
Icône pour les raccourcis
|
Icon for shortcuts
|
||||||
============================================================ -->
|
============================================================ -->
|
||||||
<Icon Id="qet.ico" SourceFile="!(bind.Variable.FilesDir)\ico\qelectrotech.ico" />
|
<Icon Id="qet.ico" SourceFile="$(var.FilesDir)\ico\qelectrotech.ico" />
|
||||||
|
|
||||||
<!-- ============================================================
|
<!-- ============================================================
|
||||||
Feature principale (tout inclus)
|
Main feature (everything included)
|
||||||
============================================================ -->
|
============================================================ -->
|
||||||
<Feature Id="ProductFeature" Title="QElectroTech" Level="1">
|
<Feature Id="ProductFeature" Title="QElectroTech" Level="1">
|
||||||
<ComponentGroupRef Id="CG_Bin" />
|
<ComponentGroupRef Id="CG_Bin" />
|
||||||
@@ -139,14 +139,14 @@
|
|||||||
<ComponentGroupRef Id="CG_FileAssoc" />
|
<ComponentGroupRef Id="CG_FileAssoc" />
|
||||||
</Feature>
|
</Feature>
|
||||||
|
|
||||||
<!-- UI minimale Windows Installer -->
|
<!-- Minimal Windows Installer UI (requires xmlns:ui and WixToolset.UI.wixext) -->
|
||||||
<UIRef Id="WixUI_Minimal" />
|
<ui:WixUI Id="WixUI_Minimal" />
|
||||||
|
|
||||||
<!-- Propriétés affichées dans Programmes et fonctionnalités -->
|
<!-- Properties shown in Programs and Features -->
|
||||||
<Property Id="ARPPRODUCTICON" Value="qet.ico" />
|
<Property Id="ARPPRODUCTICON" Value="qet.ico" />
|
||||||
<Property Id="ARPHELPLINK" Value="https://qelectrotech.org" />
|
<Property Id="ARPHELPLINK" Value="https://qelectrotech.org" />
|
||||||
<Property Id="ARPURLINFOABOUT" Value="https://qelectrotech.org" />
|
<Property Id="ARPURLINFOABOUT" Value="https://qelectrotech.org" />
|
||||||
<Property Id="ARPCOMMENTS" Value="Logiciel libre de schémas électriques" />
|
<Property Id="ARPCOMMENTS" Value="Free electrical schematic editor" />
|
||||||
|
|
||||||
</Package>
|
</Package>
|
||||||
</Wix>
|
</Wix>
|
||||||
|
|||||||
Reference in New Issue
Block a user