PDA

View Full Version : Does OnBegin() get called for PATCHes (small update or minor upgrade)?



alastair.camero
07-25-2002, 05:14 PM
Standard project, 7.04.

I've created my first patch (small update) for 7.04. It's working.

However, I am unsure if OnBegin() is called when running Update.exe to patch an install?

I have code in OnBegin() which calls a function to restor cached custom MSI property values from the registry (where I save them during an install) for maintenance mode. These properties should probably be set for a patch installation as well (just in case).

If OnBegin() is not called, where would the most appropriate place be for doing what I want to do - OnPatchUIBefore?

Thanks.

Alastair

RobertDickau
07-26-2002, 08:56 AM
According to the help page "Event Handlers", these are the event-handler functions called during a patch installation:

OnPatchUIBefore
OnGeneratingMSIScript
OnMoving
feature Installing or UnInstalling events
OnInstallFilesActionBefore
OnInstallFilesActionAfter
feature Installed or UnInstalled events
OnMoved
OnGeneratedMSIScript
OnPatchUIAfter