This commit is contained in:
Simon Rozman 2013-01-10 08:17:49 +00:00
parent 5f11b3f4a4
commit 9077414554

View File

@ -305,6 +305,8 @@ UINT MSITSCA_API InstallScheduledTasks(MSIHANDLE hInstall)
} }
} else { } else {
// Sequence loading failed. Probably, LOCAL SYSTEM doesn't have read access to user's temp directory. // Sequence loading failed. Probably, LOCAL SYSTEM doesn't have read access to user's temp directory.
PMSIHANDLE hRecordProg = ::MsiCreateRecord(3);
assert(hRecordProg);
uiResult = ERROR_INSTALL_SCHEDULED_TASKS_SCRIPT_READ; uiResult = ERROR_INSTALL_SCHEDULED_TASKS_SCRIPT_READ;
verify(::MsiRecordSetInteger(hRecordProg, 1, uiResult ) == ERROR_SUCCESS); verify(::MsiRecordSetInteger(hRecordProg, 1, uiResult ) == ERROR_SUCCESS);
verify(::MsiRecordSetString (hRecordProg, 2, sSequenceFilename) == ERROR_SUCCESS); verify(::MsiRecordSetString (hRecordProg, 2, sSequenceFilename) == ERROR_SUCCESS);