diff --git a/contrib/msi/build-msi.sh b/contrib/msi/build-msi.sh index cfa2728d..421481cd 100644 --- a/contrib/msi/build-msi.sh +++ b/contrib/msi/build-msi.sh @@ -83,12 +83,18 @@ else exit 1 fi +if [ $PKGNAME != "master" ]; then + PKGDISPLAYNAME="Yggdrasil Network (${PKGNAME} branch)" +else + PKGDISPLAYNAME="Yggdrasil Network" +fi + # Generate the wix.xml file cat > wix.xml << EOF wix.xml << EOF Id="*" Keywords="Installer" Description="Yggdrasil Network Installer" - Comments="This is the Yggdrasil Network router for Windows." + Comments="Yggdrasil Network standalone router for Windows." Manufacturer="github.com/yggdrasil-network" InstallerVersion="200" InstallScope="perMachine" @@ -115,7 +121,8 @@ cat > wix.xml << EOF + EmbedCab="yes" + CompressionLevel="high" /> @@ -177,13 +184,19 @@ cat > wix.xml << EOF SourceFile="${PKGMSMNAME}" /> - - + + + + UPGRADINGPRODUCTCODE + + + +