added NSIS_CONFIG_LOG_STDOUT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4510 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
cfec122ba1
commit
94f7f3b673
11 changed files with 45 additions and 10 deletions
|
@ -165,7 +165,7 @@ static BOOL NSISCALL _HandleStaticBkColor(UINT uMsg, WPARAM wParam, LPARAM lPara
|
|||
#endif//!NSIS_CONFIG_ENHANCEDUI_SUPPORT
|
||||
|
||||
#ifdef NSIS_CONFIG_LOG
|
||||
#ifndef NSIS_CONFIG_LOG_ODS
|
||||
#if !defined(NSIS_CONFIG_LOG_ODS) && !defined(NSIS_CONFIG_LOG_STDOUT)
|
||||
void NSISCALL build_g_logfile()
|
||||
{
|
||||
mystrcat(addtrailingslash(mystrcpy(g_log_file,state_install_directory)),"install.log");
|
||||
|
@ -329,7 +329,7 @@ FORCE_INLINE int NSISCALL ui_doinstall(void)
|
|||
#ifdef NSIS_CONFIG_LOG
|
||||
if (g_flags & CH_FLAGS_SILENT_LOG && !g_is_uninstaller)
|
||||
{
|
||||
#ifndef NSIS_CONFIG_LOG_ODS
|
||||
#if !defined(NSIS_CONFIG_LOG_ODS) && !defined(NSIS_CONFIG_LOG_STDOUT)
|
||||
build_g_logfile();
|
||||
#endif
|
||||
log_dolog=1;
|
||||
|
@ -882,7 +882,7 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
GetUIText(IDC_DIR,dir);
|
||||
validate_filename(dir);
|
||||
#ifdef NSIS_CONFIG_LOG
|
||||
#ifndef NSIS_CONFIG_LOG_ODS
|
||||
#if !defined(NSIS_CONFIG_LOG_ODS) && !defined(NSIS_CONFIG_LOG_STDOUT)
|
||||
build_g_logfile();
|
||||
#endif
|
||||
if (GetUIItem(IDC_CHECK1) != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue