"David A. Buckle" wrote:
>
> I'm attempting to develop a hack using HackMaster to control the installation
> process (the hack patches the SysGetEvent trap entry).
>
> The trap routine that is installed makes some changes to the OS environment that
> need to be undone when the hack is un-installed:
You could always trap a table routine or two and check to see if
the table item (when in HackMaster) being selected is the one that
corresponds to your hack's name. If it is, you'd want to perform
your cleanup routines right there, because as soon as HackMaster gets
a tblSelectEvent it's going to disable your hack.
(If this sounds vague, it's because I've never done it before. But
I'm sure it's possible and could send you an example if you needed it.)
Regards,
Daniel.