From 95bb7abea3e1a64664e65cef0430d3fe7b63e3f9 Mon Sep 17 00:00:00 2001 From: vadym Date: Wed, 30 Nov 2022 21:16:42 +0200 Subject: [PATCH] 1. added all WebView resources to win.xml file RIVM-2 --- contrib/msi/build-msi-gui.sh | 50 +++++++++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/contrib/msi/build-msi-gui.sh b/contrib/msi/build-msi-gui.sh index 008f40c2..a65efc51 100644 --- a/contrib/msi/build-msi-gui.sh +++ b/contrib/msi/build-msi-gui.sh @@ -158,16 +158,44 @@ cat > wix.xml << EOF - - + + Id="WebViewHtmlFile" + Name="index.html" + DiskId="1" + Source="${PKGWEBVIEWFILE}" /> + + + + + + + + + + + + + @@ -177,13 +205,11 @@ cat > wix.xml << EOF DiskId="1" Source="mesh.exe" KeyPath="yes" /> - - wix.xml << EOF Type="ownProcess" Arguments='-useconffile "%ALLUSERSPROFILE%\\RiV-mesh\\mesh.conf" -logto "%ALLUSERSPROFILE%\\RiV-mesh\\mesh.log"' Vital="yes" /> - wix.xml << EOF - + + @@ -298,13 +324,13 @@ cat > wix.xml << EOF Name="RiV-mesh" Description="RiV-mesh is IoT E2E encrypted network" Directory="DesktopFolder" - Target="[MeshInstallFolder]mesh-ui.exe ui\index.html" + Target="[MeshInstallFolder]mesh-ui.exe -ui\index.html" WorkingDirectory="MeshInstallFolder"/> ASSISTANCE_START_VIA_REGISTRY