Is there an event that is activated while exe or dmg being extracted



I need to know what is the file name of the exe / dmg that was executed

Is there any event that is fired while exe is being extracted to the AppData folder? and when dmg is being copied to the Application folder?

does the original file name is being recorded somewhere to the application folder?

If there isn’t any option like that - is it possible to push an update to the exe and dmg before downloading it to the user (update json or text file) in a way it wont effect the application signing?