diff --git a/contrib/msi/build-msi-gui.sh b/contrib/msi/build-msi-gui.sh
index 879c815e..1e6e5e5d 100644
--- a/contrib/msi/build-msi-gui.sh
+++ b/contrib/msi/build-msi-gui.sh
@@ -153,6 +153,8 @@ cat > wix.xml << EOF
Cabinet="Media.cab"
EmbedCab="yes"
CompressionLevel="high" />
+
+
@@ -211,10 +213,6 @@ cat > wix.xml << EOF
DiskId="1"
Source="mesh-ui.exe"
KeyPath="yes" />
-
-
-
wix.xml << EOF
+
+
+
+
wix.xml << EOF
Source="updateconfig.bat"
KeyPath="yes"/>
+