diff --git a/scripts/create_installer.bat b/scripts/create_installer.bat index 393c213..a5258cd 100644 --- a/scripts/create_installer.bat +++ b/scripts/create_installer.bat @@ -5,12 +5,13 @@ @rem Prevent env variables to escape to the calling environment SETLOCAL -rem By Garret Wilson - SET CONFIG=%~1 +SET DEFAULT_CONFIG=Release IF "%CONFIG%" == "" ( - GOTO usage + SET CONFIG=%DEFAULT_CONFIG% + echo No Configuration passed. Defaulted to %CONFIG% + echo Usage: create_installer.bat ^ [-s] ) @rem redefine variables in case already defined in the calling environment