Changes between Version 1 and Version 2 of ClientSetupLogicWin


Ignore:
Timestamp:
May 24, 2007, 9:57:51 AM (17 years ago)
Author:
romw
Comment:

Check Point 1

Legend:

Unmodified
Added
Removed
Modified
  • ClientSetupLogicWin

    v1 v2  
    11= Client setup logic for Windows =
    22
     3There are three install types supported by the 5.x generation of BOINC clients.
     4
     5== Single-User Install ==
     6
     7Single user installs are the most basic and least prone to failure form of BOINC client installation.
     8
     9It has the following properties:
     10|| File Layout:      || [wiki:ClientSetupLogicWinFileLayout Standard File Layout] ||
     11|| File Permissions: || SYSTEM (Full Control) [[BR]] Administrators (Full Control) [[BR]] %USERNAME% (Full Control) ||
     12|| Launch Mechinism: || Shortcut to boincmgr.exe in the user's 'Startup' folder ||
     13
     14== Shared Install ==
     15
     16Shared installs are geared towards computers who have multiple user accounts and fast user switching is enabled. The first person to login launches BOINC and all the science applications. If the first person logs out BOINC is shutdown.
     17
     18It has the following properties:
     19|| File Layout:      || [wiki:ClientSetupLogicWinFileLayout Standard File Layout] ||
     20|| File Permissions: || SYSTEM (Full Control) [[BR]] Administrators (Full Control) [[BR]] Users (Full Control) ||
     21|| Launch Mechinism: || Shortcut to boincmgr.exe in the all-users 'Startup' folder ||
     22
     23== Service-Mode Install ==
     24
     25Service-Mode installs allows BOINC to run even when nobody is logged into the system. When Windows boots up, it'll launch BOINC. An existing user account must be specified to execute BOINC with at startup. This user account will be granted the 'Execute as a Service' user right during the installation process if it doesn't already have it.
     26
     27It has the following properties:
     28|| File Layout:      || [wiki:ClientSetupLogicWinFileLayout Standard File Layout] ||
     29|| File Permissions: || SYSTEM (Full Control) [[BR]] Administrators (Full Control) [[BR]] %SERVICE_USERNAME% (Full Control) [[BR]] %USERNAME% (Modify, Read & Execute, List Folder Contents, Read, Write)||
     30|| Launch Mechinism: || Shortcut to boincmgr.exe in the user's 'Startup' folder [[BR]] BOINC will be launched at boot by the Service Control Manager ||
     31
     32== Install Details ==
     33
     34Installer packages based on the Microsoft Installer technology are divided into two phases. Phase one is the 'User Interface' phase where the installer presents all the questions that need to be answered before a successful installation can occur. Phase two is the 'Execution' phase where the actual installation occurs.
     35
     36Both phases are broken up into a sequence which executes custom actions in a specific order. Each custom action, whether defined by the MSI system or the setup programmer, preforms a specific action.
     37
     38The following custom actions were designed specifically for BOINC:
     39
     40=== CAValidateSetupType ===
     41
     42The Microsoft Installer technology allows you to install a package without using the 'User Interface', so this custom action validates the input passed to the execution phase.
     43
     44|| Execution After:     || ValidateProductID ||
     45|| Execution Condition: || ||
     46
     47Pseudocode:
     48{{{
     49IF SetupType IS NOT NULL
     50    IF (SetupType IS 'Single') OR (SetupType IS 'Service')
     51        IF (AllUsers IS NOT NULL) OR (IsAdminPagage IS '1')
     52            RETURN ERROR
     53        END IF
     54    ELSE
     55        IF (AllUsers IS '1')
     56            RETURN ERROR
     57        END IF
     58    END IF
     59END IF
     60
     61RETURN SUCCESS
     62}}}