InstallScript, RemoveScript, and DeletionScript

Keep RemoveScript Small

The InstallScript and RemoveScript are copied into the NewtonScript heap of the Newton when the application is installed. Once the InstallScript has executed, it is removed from memory (actually, for an auto-part, the InstallScript isn't copied into the heap). The RemoveScript remains in memory so that it will be available even if the card is pulled. Since there is a limited amount of memory, you should keep your RemoveScript as small as possible.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996