Fixed bug #769598 - problems with InstType /COMPONENTSONLYONCUSTOM
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2746 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b6d1a077d7
commit
4fbd8b1991
3 changed files with 12 additions and 11 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "build.h"
|
||||
#include "DialogTemplate.h"
|
||||
#include "exehead\resource.h"
|
||||
#include "exehead\lang.h"
|
||||
|
||||
extern const char *NSIS_VERSION;
|
||||
|
||||
|
@ -432,6 +433,9 @@ void CEXEBuild::FillStringTable(StringTable *table, NLF *nlf/*=0*/) {
|
|||
table->installer.componentsubtext[0]=add_string_main(str(NLF_COMP_SUBTEXT1),0);
|
||||
if (!(build_header.common.flags&CH_FLAGS_NO_CUSTOM) && !table->installer.componentsubtext[1])
|
||||
table->installer.componentsubtext[1]=add_string_main(str(NLF_COMP_SUBTEXT2),0);
|
||||
|
||||
if (!(build_header.common.flags&CH_FLAGS_NO_CUSTOM))
|
||||
build_header.install_types[NSIS_MAX_INST_TYPES] = LANG_COMP_CUSTOM;
|
||||
}
|
||||
else table->installer.componenttext=0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue