Article # 694, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
How to handle installing apps or docs.
Q. How do you know if I'm installing software or document? At the moment appins gives "replace an existing document" for each and every GEOS file, which is not a driver, library or application, and every non-GEOS file. Is this correct? A. There are many checks being done in the connect library to decide what is being installed and how to handle overwrite conflicts. All the checks rely on file type. Nothing depends on final location of installed file. Case 1: New Dos file overwriting existing Dos file -> ask user about replacing existing software. Case 2: New dos file overwriting existing Geos file -> ask user about replacing unrelated software. Case 3: New Geos file overwriting existing Dos file -> Dos name of Geos file is changed so existing Dos file is not overwritten. No note. If name cannot be changed, ask user about replacing unrelated software. Case 4: New Geos file will overwrite Geos file with same Geos filename and manufacturer ID -> If new file and existing file are of different types, user is asked about replacing unrelated software. No checks on file type. If new file GeosFileType is GFT_VM or GFT_DATA, user is asked about replacing existing document. If new file GeosFileType is GFT_EXECUTABLE, user is asked about replacing existing software. If the new file does not fit any of the above checks, user is asked about replacing unrelated software. Case 5: New Geos file will overwrite Geos file with same Geos filename, different manufacturer ID -> ask user about replacing unrelated software. Case 6: New Geos file will overwrite existing Geos file with different Geos filename -> If GFT_VM or GFT_DATA, FileCopy or FileMove routines will assign a different Dos name to new Geos file. No note. Else, ask user about replacing unrelated software.