Added automatic use of dll commands (see config.h for more details)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@645 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
sunjammerx 2002-08-05 02:05:00 +00:00
parent 8ef7b8fe3c
commit 31ad4513e9
16 changed files with 752 additions and 18 deletions

View file

@ -31,9 +31,12 @@
#include "fileform.h"
#include "state.h"
#include "ui.h"
#include "lang.h"
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
#include "dllpaths.h"
#endif // NSIS_CONFIG_PLUGIN_SUPPORT
extern unsigned long CRC32(unsigned long crc, const unsigned char *buf, unsigned int len);
#if !defined(NSIS_CONFIG_VISIBLE_SUPPORT) && !defined(NSIS_CONFIG_SILENT_SUPPORT)
@ -359,6 +362,11 @@ end:
if (dbd_hFile!=INVALID_HANDLE_VALUE) CloseHandle(dbd_hFile);
#endif
if (m_Err) MessageBox(NULL,m_Err,g_caption,MB_OK|MB_ICONSTOP);
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
DllPathsCleanup();
#endif // NSIS_CONFIG_PLUGIN_SUPPORT
ExitProcess(ret);
}