Single-user installation
This is the recommended mode. If you check the 'run on startup' box, BOINC will run while you (the installing user) are logged in.
BOINC is listed in the Start menu of the installing user, but not other users.
The 'Show graphics' command in the BOINC manager works only for the installing user. The BOINC screensaver only shows application graphics only for the installing user (other users can run the screensaver but will see textual information only).
If you check the 'run on startup' box, BOINC runs whenever any user is logged in.
BOINC is listed in the Start menu of all users.
While BOINC is running, it runs as a particular user (either the first user to log in, or the first to run BOINC). The 'Show graphics' command in the BOINC manager works only for this user. The BOINC screensaver shows application graphics only for this user (other users can run the screensaver but will see textual information only).
If you check the 'run on startup' box, BOINC runs all the time (even when no one is logged in).
BOINC is listed in the Start menu of the installing user, but not other users.
The 'Show graphics' command in the BOINC manager will not work for any user. The BOINC screensaver will only show textual information.
The BOINC installer is an MSI package.
Parameter | Description |
INSTALLDIR |
The location to install BOINC to. Example: 'C:\\BOINC' |
SETUPTYPE |
The type of installation to perform. Valid Values: 'Single'. |
ALLUSERS |
Whether the shortcuts appear for just one user or all users. Valid Values: '0' for Single. |
ENABLESCREENSAVER |
Whether to automatically enable the screensaver. Valid Values: '0' for disabled, '1' for enabled. |
ENABLELAUNCHATLOGON |
Whether to automatically start BOINC when the installing user or all
users sign on to the computer. Valid Values: '0' for disabled, '1' for enabled. |
LAUNCHPROGRAM |
Whether to automatically launch BOINC Manager after setup completes. Valid Values: '0' for disabled, '1' for enabled. |
Parameter | Description |
INSTALLDIR |
The location to install BOINC too. Example: 'C:\\BOINC' |
SETUPTYPE |
The type of installation to perform. Valid Values: 'Shared'. |
ALLUSERS |
Whether the shortcuts appear for just one user or all users. Valid Values: '1' for shared. |
ENABLESCREENSAVER |
Whether to automatically enable the screensaver. Valid Values: '0' for disabled, '1' for enabled. |
ENABLELAUNCHATLOGON |
Whether to automatically start BOINC when the installing user or all
users sign on to the computer. Valid Values: '0' for disabled, '1' for enabled. |
LAUNCHPROGRAM |
Whether to automatically launch BOINC Manager after setup completes. Valid Values: '0' for disabled, '1' for enabled. |
Parameter | Description |
INSTALLDIR |
The location to install BOINC too. Example: 'C:\\BOINC' |
SETUPTYPE |
The type of installation to perform. Valid Values: 'Service'. |
ALLUSERS |
Whether the shortcuts appear for just one user or all users. Valid Values: '1' for service. |
ENABLESCREENSAVER |
Whether to automatically enable the screensaver. Valid Values: '0' for disabled, '1' for enabled. |
ENABLELAUNCHATLOGON |
Whether to automatically start BOINC when the installing user or all
users sign on to the computer. Valid Values: '0' for disabled, '1' for enabled. |
LAUNCHPROGRAM |
Whether to automatically launch BOINC Manager after setup completes. Valid Values: '0' for disabled, '1' for enabled. |
SERVICE_DOMAINUSERNAME |
Which user account should the service use. Valid Values: '%ComputerName%\\%UserName%' %ComputerName% can be either the local computername or a domain name. %UserName% should be the username of the user to use. |
SERVICE_PASSWORD |
The password for the account described in the SERVICE_DOMAINUSERNAME property. Valid Values: '%Password%' %Password% the password for the SERVICE_DOMAINUSERNAME user account. |
SERVICE_GRANTEXECUTIONRIGHT |
Grant the above user account the 'Logon as a Service' user right. Valid Values: '0' for disabled, '1' for enabled. |
An example for the single-user install would be:
msiexec /i boinc.msi /qn /l c:\boincsetup.log SETUPTYPE='Single' ALLUSERS=0 ENABLESCREENSAVER=0 ENABLELAUNCHATLOGON=0 LAUNCHPROGRAM=0
An example for the shared install would be:
msiexec /i boinc.msi /qn /l c:\boincsetup.log SETUPTYPE='Shared' ALLUSERS=1 ENABLESCREENSAVER=0 ENABLELAUNCHATLOGON=0 LAUNCHPROGRAM=0
An example for the service install would be:
msiexec /i boinc.msi /qn /l c:\boincsetup.log SETUPTYPE='Service' ALLUSERS=0 ENABLESCREENSAVER=0 ENABLELAUNCHATLOGON=0 LAUNCHPROGRAM=0 SERVICE_DOMAINUSERNAME='%ComputerName%\\%UserName%' SERVICE_PASSWORD='%Password%' SERVICE_GRANTEXECUTIONRIGHT=1
BOINC's Windows installer installs several programs:
Say the install is done by user X. The manager runs automatically when X logs in. The manager starts up the core client. The core client it runs as a regular process, not a service. If the manager crashes the core client continues to run. The user can re-run the manager. When the user logs out, the manager, the core client, and any running applications exit.
Files (in the BOINC directory) are owned by user X.
Detection of mouse/keyboard is done by the manager.
The screensaver works as it currently does, except that we'll pass window-station/desktop info so that the password-protected screensaver mechanism will work.
Other users can't run the BOINC manager.
Processes run as whoever is logged in. If someone logs in while BOINC is already running, it will not start a new instance of BOINC.
The core client runs as a service, started at boot time. On Windows 2003 and greater is runs under the 'network service' account. Otherwise it runs as the installing user.
The manager checks mouse/keyboard input and conveys idle state to the core client. Only the installing user can run the BOINC manager. Files are accessable only to the installing user. "; page_tail(); ?>