From 4c7a0657f95803cdc5a3aa6a695ca193a26d3f59 Mon Sep 17 00:00:00 2001 From: Rob Emery Date: Sat, 11 Apr 2026 19:20:19 +0100 Subject: [PATCH] OK this was half working, but on upgrade; the INSTALLDIR is set from the Directory tags and the dynamic pathing, so we need to use a different thing on upgrade. I think our only option is to be able to copy the values between the two when we need with custom actions. --- release/wix/navidrome.wxs | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/release/wix/navidrome.wxs b/release/wix/navidrome.wxs index 6793889c1..ca013d5ad 100644 --- a/release/wix/navidrome.wxs +++ b/release/wix/navidrome.wxs @@ -32,8 +32,8 @@ - - + + @@ -51,12 +51,12 @@ - - - - + + + + - + @@ -72,7 +72,7 @@ Start='auto' Type='ownProcess' Vital='yes' - Arguments='service execute --configfile "[INSTALLDIR]navidrome.ini" --logfile "[ND_DATAFOLDER]\navidrome.log"' + Arguments='service execute --configfile "[INSTALLATIONDIRECTORY]navidrome.ini" --logfile "[ND_DATAFOLDER]\navidrome.log"' /> @@ -98,6 +98,11 @@ Not Installed AND NOT WIX_UPGRADE_DETECTED + + + Not Installed AND NOT WIX_UPGRADE_DETECTED + +