diff --git a/w32/Setup/FullVersion.cmd b/w32/Setup/FullVersion.cmd index 5cbec6a7e2..f98ee7360b 100644 --- a/w32/Setup/FullVersion.cmd +++ b/w32/Setup/FullVersion.cmd @@ -5,5 +5,6 @@ FOR /f "delims=" %%i in ('FIND /N "AC_INIT" ..\..\configure.ac') DO SET version_ FOR /f "tokens=2 delims=," %%a in ("%version_contained_string%") DO SET dirty_version=%%a SET almost_clean_version=%dirty_version:[=% SET version_with_spaces=%almost_clean_version:]=% -SET full_version=%version_with_spaces: =% +SET version_with_dash=%version_with_spaces: =% +FOR /f "tokens=1 delims=-" %%a in ("%version_with_dash%") DO SET full_version=%%a echo %full_version% \ No newline at end of file diff --git a/w32/Setup/Setup.2017.wixproj b/w32/Setup/Setup.2017.wixproj index db9b628d61..e740dc0521 100644 --- a/w32/Setup/Setup.2017.wixproj +++ b/w32/Setup/Setup.2017.wixproj @@ -926,7 +926,10 @@ - + + + + @@ -941,7 +944,10 @@ - + + + + @@ -969,6 +975,7 @@ +