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) {
|
switch (dwReason) {
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
|
//assert(0); // Attach debugger here, or press "Ignore"!
|
||||||
|
|
||||||
// Randomize!
|
// Randomize!
|
||||||
srand((unsigned)time(NULL));
|
srand((unsigned)time(NULL));
|
||||||
|
|
||||||
@ -52,9 +54,6 @@ UINT MSITSCA_API EvaluateScheduledTasks(MSIHANDLE hInstall)
|
|||||||
CString sValue;
|
CString sValue;
|
||||||
|
|
||||||
assert(hRecordProg);
|
assert(hRecordProg);
|
||||||
#ifdef ASSERT_TO_DEBUG
|
|
||||||
assert(0); // Attach debugger here, or press "Ignore"!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Check and add the rollback enabled state.
|
// Check and add the rollback enabled state.
|
||||||
uiResult = ::MsiGetProperty(hInstall, _T("RollbackDisabled"), sValue);
|
uiResult = ::MsiGetProperty(hInstall, _T("RollbackDisabled"), sValue);
|
||||||
@ -238,10 +237,6 @@ UINT MSITSCA_API InstallScheduledTasks(MSIHANDLE hInstall)
|
|||||||
BOOL bIsCoInitialized = SUCCEEDED(::CoInitialize(NULL));
|
BOOL bIsCoInitialized = SUCCEEDED(::CoInitialize(NULL));
|
||||||
CString sSequenceFilename;
|
CString sSequenceFilename;
|
||||||
|
|
||||||
#ifdef ASSERT_TO_DEBUG
|
|
||||||
assert(0); // Attach debugger here, or press "Ignore"!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
uiResult = ::MsiGetProperty(hInstall, _T("CustomActionData"), sSequenceFilename);
|
uiResult = ::MsiGetProperty(hInstall, _T("CustomActionData"), sSequenceFilename);
|
||||||
if (uiResult == ERROR_SUCCESS) {
|
if (uiResult == ERROR_SUCCESS) {
|
||||||
CMSITSCAOpList lstOperations;
|
CMSITSCAOpList lstOperations;
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
||||||
#define _WIN32_WINNT 0x0501 // Include Windows XP symbols
|
#define _WIN32_WINNT 0x0501 // Include Windows XP symbols
|
||||||
#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h
|
#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
|
#ifdef _WINDLL
|
||||||
#define MSITSCA_DLL // This is a DLL
|
#define MSITSCA_DLL // This is a DLL
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user