A method of installing a program or renewing a file. A first program or file
stored
on a first memory area is copied to a second memory area. Position-information
memory area is updated with position information indicating a location on the second
memory area where the first program or file is copied or stored. Then, a second
program or file is written into the first memory area, and the position-information
memory area is updated again with position information indicating a location on
the first memory area where the second program or file is written. With use of
the above method, even though an unexpected error should occur during the course
of installing the second program or file, the original program or file can be immediately
recovered. An easy to use method of installing a program or renewing a file is
provided, which reduces burden of time consuming operation by a user.