From 93262d1d00488e7325e301316df0acf4f861a295 Mon Sep 17 00:00:00 2001 From: justin1014 Date: Sun, 22 Sep 2002 19:06:15 +0000 Subject: [PATCH] made NLF_ERR_WRITING etc in silent installers too git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1154 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/lang.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/lang.cpp b/Source/lang.cpp index 6e05fb92..1400e79b 100644 --- a/Source/lang.cpp +++ b/Source/lang.cpp @@ -450,8 +450,6 @@ void CEXEBuild::FillDefaultsIfNeeded(StringTable *table, NLF *nlf/*=0*/) { #ifdef NSIS_SUPPORT_FILE SET_INSTRUCTION(NLF_EXTRACT, extract); - SET_INSTRUCTION(NLF_ERR_WRITING, err_writing); - SET_INSTRUCTION(NLF_ERR_DECOMPRESSING, err_decompressing); SET_INSTRUCTION(NLF_SKIPPED, skipped); #endif SET_INSTRUCTION(NLF_OUTPUT_DIR, output_dir); @@ -459,6 +457,10 @@ void CEXEBuild::FillDefaultsIfNeeded(StringTable *table, NLF *nlf/*=0*/) { SET_INSTRUCTION(NLF_COPY_DETAILS, copy_details); #endif//NSIS_CONFIG_VISIBLE_SUPPORT + #ifdef NSIS_SUPPORT_FILE + SET_INSTRUCTION(NLF_ERR_WRITING, err_writing); + SET_INSTRUCTION(NLF_ERR_DECOMPRESSING, err_decompressing); + #endif SET_INSTRUCTION(NLF_INST_CORRUPTED, inst_corrupted); }