My Exit handler is only called if the user initiates the exit but not if SilentReadData fails. Is there any way to make my exit handler be called in all cases? I want this to happen so that I can log events up to the point of failure. Thanks!
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Exit handler not called if SilentReadData fails
Started by
jennetta
, Jun 20 2002 14:04
1 reply to this topic
Posted 20 June 2002 - 18:57
Here's what I did to get past the problem described above: since SilentReadData was failing (and my default exit handler not running -> the original problem) and since I found that the cause of the failure was in invalid szAppKey being auto-generatedy by SdMakeName, I added a check of the parameter to make sure it's one of a set held in a list object. If it is not, I output the abort log before allowing SilentReadData to fail. Objective largely achieved.
Bill