diff --git a/scripts/build-msi.sh b/scripts/build-msi.sh
index ac6dde6f..22b1c8fc 100755
--- a/scripts/build-msi.sh
+++ b/scripts/build-msi.sh
@@ -1,11 +1,12 @@
#!/usr/bin/env bash
PRODUCTNAME="OpenRGB"
+VENDOR=${PRODUCTNAME}
TLD="org"
WEBSITE="https://${PRODUCTNAME,,}.${TLD}"
NAMESPACE=$(uuidgen -n @url -N ${WEBSITE} --sha1 | awk '{ print toupper($0) }')
-VENDOR="${TLD}.${PRODUCTNAME}"
-APPID="${VENDOR}.${PRODUCTNAME,,}"
+VENDOR_ID="${TLD}.${VENDOR}"
+APP_ID="${VENDOR_ID}.${PRODUCTNAME,,}"
GITURL="https://gitlab.com/CalcProgrammer1/OpenRGB/-"
GITPARAM="?inline=false"
@@ -28,20 +29,18 @@ fi
#The Upgrade code has to be consistent to allow upgrades between channels
#This value is roughly equivalent to "provides" in Linux packaging
-UPGRADECODE=$(uuidgen -n ${NAMESPACE} -N ${APPID} --sha1 | awk '{ print toupper($0) }')
-#The ProductID will be unique per channel
-PRODUCTID=$(uuidgen -n ${NAMESPACE} -N ${APPID}${CHANNEL} --sha1 | awk '{ print toupper($0) }')
+UPGRADECODE=$(uuidgen -n ${NAMESPACE} -N ${APP_ID} --sha1 | awk '{ print toupper($0) }')
+#The ProductID will be unique per build
PRODUCTCOMMENT="Open source RGB lighting control that doesn't depend on manufacturer software."
-
#Print Metadata to the log
echo -e "Icon URL:\t" $GITURL$ICONFILE
echo -e "License URL:\t" $GITURL$LICENSEFILE
-echo -e "Product ID - UUID:\t" ${APPID}${CHANNEL} " - " $PRODUCTID
-echo -e "Upgrade Code - UUID:\t" ${APPID} " - " $UPGRADECODE
-echo -e "Product:\t" $PRODUCTNAME
-echo -e "Vendor:\t\t" $VENDOR
-echo -e "Version:\t" $VERSION
+echo -e "AppID - Channel:\t" ${APP_ID} " - " ${CHANNEL}
+echo -e "Upgrade UUID:\t" ${UPGRADECODE}
+echo -e "Product Name:\t" ${PRODUCTNAME}
+echo -e "Vendor - VendorID:\t\t" ${VENDOR} " - " ${VENDOR_ID}
+echo -e "Version:\t" ${VERSION}
#Wix and / or Wine have issues with the mixed upper and lower case letters
@@ -91,7 +90,7 @@ XML_ICON="\t\n"
XML_PROPERTY="\t\n\t\n"
XML_ACTIONS_EXECUTE="\t\n\t\tNOT Installed\n\t\tNOT Installed\n\t\n"
XML_WIX_UI="\t\n\t\n\t\n\t\n\t\n\t\n"
-XML_MAJOR_UPGRADE="\t\n"
+XML_MAJOR_UPGRADE="\t\n"
XML_METADATA="$XML_PACKAGE $XML_MEDIA $XML_CONDITIONS $XML_MAJOR_UPGRADE $XML_ACTION_RUNAS_ADMIN $XML_ACTION_FIRSTRUN $XML_ICON $XML_PROPERTY $XML_ACTIONS_EXECUTE $XML_WIX_UI"
XML_STARTMENU="\t\t\n"
@@ -103,7 +102,7 @@ XML_DATA="$XML_DIRECTORIES $XML_COMPONENTS"
#Wipe out any previous XMLOUTFILE and add the header
XML_HEADER="\n\n"
-XML_PRODUCT="\t\n$XML_METADATA\n$XML_DATA\n\t\n"
+XML_PRODUCT="\t\n$XML_METADATA\n$XML_DATA\n\t\n"
echo -e $XML_HEADER $XML_PRODUCT > $XMLOUTFILE
echo -e "\t...Done!\n\n"