diff --git a/deployment/windows/wixSetup/build.bat b/deployment/windows/wixSetup/build.bat
index 6b99d0ae..f529477f 100644
--- a/deployment/windows/wixSetup/build.bat
+++ b/deployment/windows/wixSetup/build.bat
@@ -1,3 +1,11 @@
+VERSION_STRING=$(git describe --long)
+VERSION_STRING="${VERSION_STRING//-/_}"
+VERSION_STRING="${VERSION_STRING//./_}"
+VERSION_STRING="${VERSION_STRING%_*}"
+VERSION_STRING="${VERSION_STRING//_/.}"
+
+echo "installer version is $VERSION_STRING"
+
rm -rf build
mkdir build
@@ -7,7 +15,8 @@ mkdir build
rm -rf bin
mkdir bin
-candle.exe -dprojectVersion="0.9.0" coati.wxs customActions.wxs dialogShortcuts.wxs installDir.wxs appDataDir.wxs -out build/ > build/compileLog.txt
+
+candle.exe -dprojectVersion="$VERSION_STRING" coati.wxs customActions.wxs dialogShortcuts.wxs installDir.wxs appDataDir.wxs -out build/ > build/compileLog.txt
light.exe -ext WixUIExtension build/coati.wixobj build/customActions.wixobj build/dialogShortcuts.wixobj build/installDir.wixobj build/appDataDir.wixobj -out build/coati.msi > build/linkLog.txt
cp -u -r build/coati.msi bin
diff --git a/deployment/windows/wixSetup/coati.wxs b/deployment/windows/wixSetup/coati.wxs
index 71415aea..f82aeaac 100644
--- a/deployment/windows/wixSetup/coati.wxs
+++ b/deployment/windows/wixSetup/coati.wxs
@@ -186,7 +186,10 @@
+
+
+
diff --git a/deployment/windows/wixSetup/installDir.wxs b/deployment/windows/wixSetup/installDir.wxs
index a90727ce..d480e994 100644
--- a/deployment/windows/wixSetup/installDir.wxs
+++ b/deployment/windows/wixSetup/installDir.wxs
@@ -254,9 +254,18 @@
+
+
+
+
+
+
+
+
+
diff --git a/script/deploy_windows.sh b/script/deploy_windows.sh
index 6ae58eac..571e9481 100644
--- a/script/deploy_windows.sh
+++ b/script/deploy_windows.sh
@@ -32,9 +32,6 @@ if [ $UPDATE_DATABASES = false ]; then
read -p "Press [Enter] key to continue"
fi
-echo -e "$INFO Did you set the correct version number for the installers?"
-read -p "Press [Enter] key to continue"
-
echo -e "$INFO Did you set the correct version number for the Visual Studio plugin?"
read -p "Press [Enter] key to continue"