| 13 | |
| 14 | === Purpose === |
| 15 | |
| 16 | The install program prepares a computer system to run BOINC and to uninstall BOINC if the user no longer wishes BOINC to run on their computer. This is accomplished through the use of the Microsoft Installer technology which uses a series of Custom Actions to copy files and install services. |
| 17 | |
| 18 | === Overview === |
| 19 | |
| 20 | The Microsoft Installer technology is broken up into two phases, the GUI phase gathers all the needed information from the user and validates input, the execution phase does the actual heavy lifting such as copying files and registering services. |
| 21 | |
| 22 | The v6 client installer will reduce the overall amount of input required by the user so that in the most streamlined case the user will only need to accept the license agreement and proceed through the configuration screen by hitting next to begin installation. Selection of the user names and group names will be autogenerated, but can be overwritten in the advanced configuration screen, and will be used by the core client and screensaver to minimized the amount of damage a science application can cause on a user's computer. All settings except passwords should be persisted in the registry and reused for the next installation. |
| 23 | |
| 24 | The following is expected to happen during the execution phase of setup: |
| 25 | * Setup parameters are validated |
| 26 | * All BOINC processes are killed |
| 27 | * Uninstall any previous version (Handled by the Microsoft Installer) |
| 28 | * Create new user accounts (see the User Accounts section below) |
| 29 | * Create new groups (see the User Accounts section below) |
| 30 | * Migrate any data from c:\Program Files (x86)\BOINC to c:\Program Files\BOINC (Abort if c:\Program Files\BOINC already exists) |
| 31 | * Migrate any data from c:\Program Files (x86)\CPDNBBC to c:\Program Files\BOINC (Abort if c:\Program Files\BOINC already exists) |
| 32 | * Migrate any data from c:\Program Files\BOINC to the data directory (see the Data Directory section below) (Abort if Data Directory already exists) |
| 33 | * Install the new installation of BOINC (Handled by the Microsoft Installer) |
| 34 | |
| 35 | See the following sections for further details. |
| 36 | |
| 37 | === MSI Overview === |