Merge pull request #22870 from twangboy/fix_installer_again

Added ability to send a version with a space in it
This commit is contained in:
Shane Lee 2015-04-20 17:18:28 -06:00
commit c965b0a035
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ If Exist "%BinDir%\README.txt" del /q "%BinDir%\README.txt"
@ echo Building the installer...
@ echo -------------------------
makensis.exe /DSaltVersion="%Version%" "%InsDir%\Salt-Minion-Setup.nsi"
makensis.exe /DSaltVersion=%Version% "%InsDir%\Salt-Minion-Setup.nsi"
@ echo.
@ echo.

View file

@ -17,7 +17,7 @@ ${StrLoc}
${StrStrAdv}
!ifdef SaltVersion
!define PRODUCT_VERSION ${SaltVersion}
!define PRODUCT_VERSION "${SaltVersion}"
!else
!define PRODUCT_VERSION "Undefined Version"
!endif