Skip to content

Commit

Permalink
gh-766: ConEmuSetup improvements and error handling.
Browse files Browse the repository at this point in the history
  * Don't show MessageBox in auto mode (chocolatey, autoupdate);
  * Log error messages to log-file in the exe's folder;
  * In case TEMP directory is inaccessible, just use exe's folder.
  • Loading branch information
Maximus5 committed Jul 11, 2016
1 parent 6facae0 commit abd8d7d
Show file tree
Hide file tree
Showing 4 changed files with 566 additions and 226 deletions.
2 changes: 2 additions & 0 deletions src/Setup/Release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ GenVersion.exe %1
set CAB_NAME=ConEmu.cab

if "%~2"=="no_msi" goto no_msi
if "%~2"=="setupper" goto setupper

echo Creating x86 installer
set MSI_PLAT=x86
Expand All @@ -37,6 +38,7 @@ if errorlevel 1 goto errs
if not exist "%~dp0Setupper\Executor.exe" goto errs
call "%~dp0..\..\..\ConEmu-key\sign_any.bat" /d "ConEmu %~1 Installer" /du %ConEmuHttp% "%~dp0Setupper\Executor.exe"

:setupper
call "%~dp0Setupper\gccbuild.cmd" /nosign
if errorlevel 1 goto errs
if not exist "%~dp0Setupper\Setupper.exe" goto errs
Expand Down
Loading

0 comments on commit abd8d7d

Please sign in to comment.