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