From b133d0f16d33fa0f842263e40c783723c6a47408 Mon Sep 17 00:00:00 2001 From: "IETM_FIXE\\ietm6" Date: Mon, 22 Jun 2026 09:49:33 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20dans=20l'installeur=20:=20ajout=20?= =?UTF-8?q?d'une=20case=20pour=20pouvoir=20lancer=20le=20programme=20autom?= =?UTF-8?q?atiquement=20=C3=A0=20la=20fin=20de=20l'installation=20(sous=20?= =?UTF-8?q?windows)=20afin=20d'=C3=A9viter=20que=20l'utilisateur=20ne=20so?= =?UTF-8?q?it=20perturb=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installers/desktop/build-windows.ps1 | 2 + installers/desktop/wix/main.wxs | 164 +++++++++++++++++++++++++++ 2 files changed, 166 insertions(+) create mode 100644 installers/desktop/wix/main.wxs diff --git a/installers/desktop/build-windows.ps1 b/installers/desktop/build-windows.ps1 index 8952491..e3cfd98 100644 --- a/installers/desktop/build-windows.ps1 +++ b/installers/desktop/build-windows.ps1 @@ -58,6 +58,7 @@ $CoreDir = Join-Path $RepoRoot 'core' $StageDir = Join-Path $CoreDir 'target\dist-input' # charge utile jpackage $OutDir = Join-Path $CoreDir 'target\dist-out' # .msi produit $IconFile = Join-Path $PSScriptRoot 'app-icon.ico' # icone de l'app (.msi + raccourcis) +$WixDir = Join-Path $PSScriptRoot 'wix' # main.wxs surcharge (case "Lancer" en fin d'install) # --- Version (numerique pour MSI) ------------------------------------------ if (-not $Version) { @@ -229,6 +230,7 @@ jpackage ` --app-version $Version ` --vendor 'IGML Creation' ` --icon $IconFile ` + --resource-dir $WixDir ` --input $StageDir ` --main-jar loremind-core.jar ` --main-class org.springframework.boot.loader.launch.JarLauncher ` diff --git a/installers/desktop/wix/main.wxs b/installers/desktop/wix/main.wxs new file mode 100644 index 0000000..5c391f4 --- /dev/null +++ b/installers/desktop/wix/main.wxs @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed + + + + + Not Installed + Not Installed + Not Installed + Not Installed + + Not Installed + + + Not Installed + + + Not Installed + + + + JP_UPGRADABLE_FOUND + + + JP_DOWNGRADABLE_FOUND + + + + + + + + + + +