Odstranil sem pasti za razhroščevalnik.
This commit is contained in:
parent
88ac67178b
commit
11a0eb82bf
@ -22,6 +22,8 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpRes
|
||||
|
||||
switch (dwReason) {
|
||||
case DLL_PROCESS_ATTACH:
|
||||
//assert(0); // Attach debugger here, or press "Ignore"!
|
||||
|
||||
// Randomize!
|
||||
srand((unsigned)time(NULL));
|
||||
|
||||
@ -52,9 +54,6 @@ UINT MSITSCA_API EvaluateScheduledTasks(MSIHANDLE hInstall)
|
||||
CString sValue;
|
||||
|
||||
assert(hRecordProg);
|
||||
#ifdef ASSERT_TO_DEBUG
|
||||
assert(0); // Attach debugger here, or press "Ignore"!
|
||||
#endif
|
||||
|
||||
// Check and add the rollback enabled state.
|
||||
uiResult = ::MsiGetProperty(hInstall, _T("RollbackDisabled"), sValue);
|
||||
@ -238,10 +237,6 @@ UINT MSITSCA_API InstallScheduledTasks(MSIHANDLE hInstall)
|
||||
BOOL bIsCoInitialized = SUCCEEDED(::CoInitialize(NULL));
|
||||
CString sSequenceFilename;
|
||||
|
||||
#ifdef ASSERT_TO_DEBUG
|
||||
assert(0); // Attach debugger here, or press "Ignore"!
|
||||
#endif
|
||||
|
||||
uiResult = ::MsiGetProperty(hInstall, _T("CustomActionData"), sSequenceFilename);
|
||||
if (uiResult == ERROR_SUCCESS) {
|
||||
CMSITSCAOpList lstOperations;
|
||||
|
@ -19,7 +19,6 @@
|
||||
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
||||
#define _WIN32_WINNT 0x0501 // Include Windows XP symbols
|
||||
#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h
|
||||
//#define ASSERT_TO_DEBUG // Enable false asserts to provide opportunity to attach debuger
|
||||
#ifdef _WINDLL
|
||||
#define MSITSCA_DLL // This is a DLL
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user