Changes between Version 23 and Version 24 of ClientSetupLogicWinSix


Ignore:
Timestamp:
Oct 5, 2007, 11:46:36 AM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ClientSetupLogicWinSix

    v23 v24  
    9090=== Configuration Screen ===
    9191
    92 This dialog displays:
    9392{{{
    9493Click Next to use installation defaults.
     
    110109[] Use BOINC Screensaver
    111110[] Protected application execution.
    112    If checked, you will have increased protection against misbehaving BOINC project applications.
    113    However, this may cause screensaver graphics to not work for older applications.
     111   If checked, you will have increased protection against faulty BOINC project applications.
     112   However, this may cause screensaver graphics to not work with older applications.
    114113[] Allow all users on this computer to control BOINC
    115114[Next]
     
    128127== Custom Actions ==
    129128
    130 Several specialized pieces of code will manage the migration from the v5 data directory to v6 data directory structure. These custom pieces of code will all be executed during the execution phase of setup and will be introduced in between the following standard custom actions:
    131 
     129Custom actions are executed in the following sequence:
    132130{{{
    133131    ... MSI: Validates installation package
     
    204202=== CACleanupOldBinaries ===
    205203
    206 Deletes any lingering files left over from a previous BOINC installation, this can sometimes happen if a user replaces a stock client with a optimized one.
     204Deletes any lingering files left over from a previous BOINC installation.
     205This can sometimes happen if a user replaces a stock client with a optimized one.
    207206
    208207{{{
     
    224223
    225224Migrate any data files from "C:\Program Files (x86)\BOINC" to "C:\Program Files\BOINC" if "C:\Program Files\BOINC" doesn't already exist.
     225This handles the case where the user is upgrading from a 32-bit BOINC
     226to a 64-bit BOINC on Win64.
    226227
    227228{{{
     
    232233
    233234Migrate any data files from "C:\Program Files\Climate Change Experiment" to "C:\Program Files\BOINC" if "C:\Program Files\BOINC" doesn't already exist.
     235Handles case where user is upgrading from BBC to V6.
    234236
    235237{{{
     
    239241=== CACreateBOINCAccounts ===
    240242
    241 Creates the two user accounts that BOINC will need to complete a secure installation. Passwords are base64 encoded before being stored to disk.
     243Creates the two user accounts used for a protected installation. Passwords are base64 encoded before being stored to disk.
    242244
    243245{{{
     
    313315END IF
    314316
    315 IF GetGroup("boinc_administrators") NOT EXISTS THEN
     317IF GetGroup("boinc_admins") NOT EXISTS THEN
    316318    CreateGroup("boinc_administrators")
    317319    AddUserToGroup("Administrator")
     
    329331=== CAMigrateBOINCData ===
    330332
    331 Migrate any data files from "C:\Program Files\BOINC" to all users application data location if the all users application data location doesn't already exist.
    332 
    333 {{{
    334 MoveFileEx("C:\\Program Files\\BOINC", strDataDirectory, MOVEFILE_COPY_ALLOWED|MOVEFILE_WRITE_THROUGH);
    335 }}}
    336 
    337 == Reverting to a previous version of BOINC ==
    338 
    339 Instructions will be provided on the website for copying the data files from the new location back to the old location, and how to delete the newly created users and groups. ''The user and group deletion should be handled by the uninstaller.''
     333Look in the registry for the old data directory, else "C:\Program Files\BOINC".
     334Move data files from old data dir to all users application data location if the all users application data location doesn't already exist.
     335
     336{{{
     337old_data_dir = registry_lookup
     338MoveFileEx(old_data_dir, strDataDirectory, MOVEFILE_COPY_ALLOWED|MOVEFILE_WRITE_THROUGH);
     339}}}
     340
     341== Reverting to a pre-V6 version of BOINC ==
     342
     343Manually move data dir contents to executables dir, then install old version.
     344
     345Manually remove BOINC-related accounts and groups.
     346Note: we can't remove them automatically on uninstall,
     347otherwise they'd get removed and recreated on each upgrade,
     348and any group membership changes would be lost.
     349