2004-12-02 22:56:49 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("docutil.php");
|
|
|
|
|
2005-04-01 22:30:08 +00:00
|
|
|
page_head("BOINC Windows installer");
|
2004-12-02 22:56:49 +00:00
|
|
|
echo "
|
|
|
|
|
2005-03-29 00:55:04 +00:00
|
|
|
BOINC can be installed in any of several modes:
|
|
|
|
|
|
|
|
<h2>Single-user installation</h2>
|
|
|
|
<p>
|
|
|
|
This is the recommended mode.
|
|
|
|
If you check the 'run on startup' box,
|
|
|
|
BOINC will run while you (the installing user) are logged in.
|
|
|
|
<p>
|
|
|
|
BOINC is listed in the Start menu of the installing user,
|
|
|
|
but not other users.
|
|
|
|
<p>
|
|
|
|
The 'Show graphics' command in the BOINC manager
|
|
|
|
will work only for the installing user.
|
|
|
|
The BOINC screensaver will only show application
|
|
|
|
graphics only for the installing user
|
|
|
|
(other users can run the screensaver but will see
|
|
|
|
textual information only).
|
|
|
|
|
|
|
|
<h2>Shared installation</h2>
|
|
|
|
<p>
|
|
|
|
If you check the 'run on startup' box,
|
|
|
|
BOINC runs whenever any user is logged in.
|
|
|
|
<p>
|
|
|
|
BOINC is listed in the Start menu of all users.
|
|
|
|
<p>
|
|
|
|
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,
|
|
|
|
will work only for this user.
|
|
|
|
The BOINC screensaver will only show application
|
|
|
|
graphics only for this user
|
|
|
|
(other users can run the screensaver but will see
|
|
|
|
textual information only).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2>Service installation</h2>
|
|
|
|
<p>
|
|
|
|
If you check the 'run on startup' box,
|
|
|
|
BOINC runs all the time (even when no one is logged in).
|
|
|
|
<p>
|
|
|
|
BOINC is listed in the Start menu of the installing user,
|
|
|
|
but not other users.
|
|
|
|
<p>
|
|
|
|
The 'Show graphics' command in the BOINC manager will not work for any user.
|
|
|
|
The BOINC screensaver will only show textual information.
|
2004-12-02 22:56:49 +00:00
|
|
|
|
2005-03-29 00:55:04 +00:00
|
|
|
<h2>Customizing the installer</h2>
|
|
|
|
<p>
|
|
|
|
The new BOINC installer is an MSI package.
|
2005-05-04 05:09:53 +00:00
|
|
|
|
2005-05-04 05:13:10 +00:00
|
|
|
<h3>Active Directory Deployment</h3>
|
2005-05-04 05:09:53 +00:00
|
|
|
|
2005-03-29 00:55:04 +00:00
|
|
|
Suppose you want to modify it so that you can
|
2005-05-04 05:09:53 +00:00
|
|
|
deploy BOINC across a Windows network using Active Directory,
|
2005-03-29 00:55:04 +00:00
|
|
|
and have all the PCs attached to a particular account.
|
2005-05-15 21:44:12 +00:00
|
|
|
Here is how to do this:
|
2005-05-04 05:09:53 +00:00
|
|
|
|
|
|
|
|
2005-03-29 00:55:04 +00:00
|
|
|
<ul>
|
2005-05-04 05:09:53 +00:00
|
|
|
<li> Download the BOINC client package and execute it with the /a parameter.
|
|
|
|
<li> Drop the files to a share that can be accessed by all the computers on the network.
|
2005-04-01 22:30:08 +00:00
|
|
|
<li> Using <a href=http://support.microsoft.com/kb/255905/EN-US/>Microsoft ORCA</a>,
|
2005-05-04 05:09:53 +00:00
|
|
|
or some other MSI packaging tool, create an MSI Transform that contains the the
|
|
|
|
account_*.xml files of the projects you have already attached too on another machine
|
|
|
|
plus the following parameters:
|
|
|
|
<ul>
|
|
|
|
<li>Single-user install:<br>
|
|
|
|
<table>
|
2005-05-04 05:14:48 +00:00
|
|
|
<tr BGCOLOR=#d8e8ff>
|
2005-05-04 05:09:53 +00:00
|
|
|
<td>Parameter</td>
|
|
|
|
<td>Description</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>INSTALLDIR</td>
|
|
|
|
<td>
|
2005-05-15 21:44:12 +00:00
|
|
|
The location to install BOINC to.<br>
|
2005-05-04 05:35:59 +00:00
|
|
|
Example: 'C:\\BOINC'
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>SETUPTYPE</td>
|
|
|
|
<td>
|
|
|
|
The type of installation to perform.<br>
|
|
|
|
Valid Values: 'Single'.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>ALLUSERS</td>
|
|
|
|
<td>
|
|
|
|
Whether the shortcuts appear for just one user or all users.<br>
|
|
|
|
Valid Values: '0' for Single.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>ENABLESCREENSAVER</td>
|
|
|
|
<td>
|
|
|
|
Whether to automatically enable the screensaver.<br>
|
|
|
|
Valid Values: '0' for disabled, '1' for enabled.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>ENABLELAUNCHATLOGON</td>
|
|
|
|
<td>
|
|
|
|
Whether to automatically start BOINC when the installing user or all
|
2005-05-15 21:44:12 +00:00
|
|
|
users sign on to the computer.<br>
|
2005-05-04 05:35:59 +00:00
|
|
|
Valid Values: '0' for disabled, '1' for enabled.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>LAUNCHPROGRAM</td>
|
|
|
|
<td>
|
|
|
|
Whether to automatically launch BOINC Manager after setup completes.<br>
|
|
|
|
Valid Values: '0' for disabled, '1' for enabled.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:09:53 +00:00
|
|
|
</table>
|
|
|
|
<li>Shared install:<br>
|
|
|
|
<table>
|
2005-05-04 05:14:48 +00:00
|
|
|
<tr BGCOLOR=#d8e8ff>
|
2005-05-04 05:09:53 +00:00
|
|
|
<td>Parameter</td>
|
|
|
|
<td>Description</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>INSTALLDIR</td>
|
|
|
|
<td>
|
|
|
|
The location to install BOINC too.<br>
|
|
|
|
Example: 'C:\\BOINC'
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>SETUPTYPE</td>
|
|
|
|
<td>
|
|
|
|
The type of installation to perform.<br>
|
|
|
|
Valid Values: 'Shared'.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>ALLUSERS</td>
|
|
|
|
<td>
|
|
|
|
Whether the shortcuts appear for just one user or all users.<br>
|
|
|
|
Valid Values: '1' for shared.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>ENABLESCREENSAVER</td>
|
|
|
|
<td>
|
|
|
|
Whether to automatically enable the screensaver.<br>
|
|
|
|
Valid Values: '0' for disabled, '1' for enabled.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>ENABLELAUNCHATLOGON</td>
|
|
|
|
<td>
|
|
|
|
Whether to automatically start BOINC when the installing user or all
|
2005-05-15 21:44:12 +00:00
|
|
|
users sign on to the computer.<br>
|
2005-05-04 05:35:59 +00:00
|
|
|
Valid Values: '0' for disabled, '1' for enabled.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>LAUNCHPROGRAM</td>
|
|
|
|
<td>
|
|
|
|
Whether to automatically launch BOINC Manager after setup completes.<br>
|
|
|
|
Valid Values: '0' for disabled, '1' for enabled.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:09:53 +00:00
|
|
|
</table>
|
|
|
|
<li>Service Install:<br>
|
2005-05-04 05:49:09 +00:00
|
|
|
<table>
|
2005-05-04 05:14:48 +00:00
|
|
|
<tr BGCOLOR=#d8e8ff>
|
2005-05-04 05:09:53 +00:00
|
|
|
<td>Parameter</td>
|
|
|
|
<td>Description</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>INSTALLDIR</td>
|
|
|
|
<td>
|
|
|
|
The location to install BOINC too.<br>
|
|
|
|
Example: 'C:\\BOINC'
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>SETUPTYPE</td>
|
|
|
|
<td>
|
|
|
|
The type of installation to perform.<br>
|
|
|
|
Valid Values: 'Service'.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>ALLUSERS</td>
|
|
|
|
<td>
|
|
|
|
Whether the shortcuts appear for just one user or all users.<br>
|
|
|
|
Valid Values: '1' for service.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>ENABLESCREENSAVER</td>
|
|
|
|
<td>
|
|
|
|
Whether to automatically enable the screensaver.<br>
|
|
|
|
Valid Values: '0' for disabled, '1' for enabled.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>ENABLELAUNCHATLOGON</td>
|
|
|
|
<td>
|
|
|
|
Whether to automatically start BOINC when the installing user or all
|
2005-05-15 21:44:12 +00:00
|
|
|
users sign on to the computer.<br>
|
2005-05-04 05:35:59 +00:00
|
|
|
Valid Values: '0' for disabled, '1' for enabled.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>LAUNCHPROGRAM</td>
|
|
|
|
<td>
|
|
|
|
Whether to automatically launch BOINC Manager after setup completes.<br>
|
|
|
|
Valid Values: '0' for disabled, '1' for enabled.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:35:59 +00:00
|
|
|
<td>SERVICE_DOMAINUSERNAME</td>
|
|
|
|
<td>
|
2005-05-04 05:45:30 +00:00
|
|
|
Which user account should the service use.<br>
|
2005-05-04 05:47:03 +00:00
|
|
|
Valid Values: '%ComputerName%\\%UserName%'<br>
|
|
|
|
%ComputerName% can be either the local computername or a domain name.<br>
|
2005-05-04 05:45:30 +00:00
|
|
|
%UserName% should be the username of the user to use.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:45:30 +00:00
|
|
|
<td>SERVICE_PASSWORD</td>
|
|
|
|
<td>
|
2005-05-15 17:58:12 +00:00
|
|
|
The password for the account described in the SERVICE_DOMAINUSERNAME property.<br>
|
2005-05-04 05:45:30 +00:00
|
|
|
Valid Values: '%Password%' <br>
|
2005-05-15 17:59:11 +00:00
|
|
|
%Password% the password for the SERVICE_DOMAINUSERNAME user account.
|
2005-05-04 05:45:30 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:49:09 +00:00
|
|
|
<tr valign=top>
|
2005-05-04 05:45:30 +00:00
|
|
|
<td>SERVICE_GRANTEXECUTIONRIGHT</td>
|
|
|
|
<td>
|
|
|
|
Grant the above user account the 'Logon as a Service' user right.<br>
|
2005-05-04 05:35:59 +00:00
|
|
|
Valid Values: '0' for disabled, '1' for enabled.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-05-04 05:09:53 +00:00
|
|
|
</table>
|
|
|
|
</ul>
|
2005-03-29 00:55:04 +00:00
|
|
|
</ul>
|
2005-05-04 05:09:53 +00:00
|
|
|
|
|
|
|
<h3>Command line deployment</h3>
|
|
|
|
|
2005-05-04 05:38:28 +00:00
|
|
|
<p>An example for the single-user install would be:<br>
|
|
|
|
msiexec /i boinc.msi /qn /l c:\boincsetup.log SETUPTYPE='Single' ALLUSERS=0 ENABLESCREENSAVER=0 ENABLELAUNCHATLOGON=0 LAUCHPROGRAM=0</p>
|
2005-05-04 05:35:59 +00:00
|
|
|
|
2005-05-04 05:38:28 +00:00
|
|
|
<p>An example for the shared install would be:<br>
|
|
|
|
msiexec /i boinc.msi /qn /l c:\boincsetup.log SETUPTYPE='Shared' ALLUSERS=1 ENABLESCREENSAVER=0 ENABLELAUNCHATLOGON=0 LAUCHPROGRAM=0</p>
|
2005-05-04 05:35:59 +00:00
|
|
|
|
2005-05-04 05:38:28 +00:00
|
|
|
<p>An example for the service install would be:<br>
|
|
|
|
msiexec /i boinc.msi /qn /l c:\boincsetup.log SETUPTYPE='Service' ALLUSERS=0 ENABLESCREENSAVER=0 ENABLELAUNCHATLOGON=0 LAUCHPROGRAM=0 SERVICE_DOMAINUSERNAME='%ComputerName%\\%UserName%' SERVICE_PASSWORD='%Password%' SERVICE_GRANTEXECUTIONRIGHT=1</p>
|
2005-05-04 05:09:53 +00:00
|
|
|
|
2005-03-29 00:55:04 +00:00
|
|
|
<hr>
|
|
|
|
<h2>Technical details</h2>
|
|
|
|
<p>
|
|
|
|
BOINC's Windows installer installs several programs:
|
2004-12-02 22:56:49 +00:00
|
|
|
<ul>
|
|
|
|
<li> <b>core client</b>: the program that manages file transfers
|
|
|
|
and execution of applications.
|
|
|
|
<li> <b>manager</b>: the GUI to the core client.
|
|
|
|
<li> <b>screensaver</b>: a program that runs when the machine is idle.
|
|
|
|
Typically it sends a message to the core client,
|
|
|
|
telling it to do screensaver graphics.
|
|
|
|
</ul>
|
|
|
|
|
2005-03-29 00:55:04 +00:00
|
|
|
<h3>Single-user installation</h3>
|
2004-12-02 22:56:49 +00:00
|
|
|
<p>
|
|
|
|
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.
|
|
|
|
<p>
|
|
|
|
Files (in the BOINC directory) are owned by user X.
|
|
|
|
<p>
|
2004-12-20 21:20:39 +00:00
|
|
|
Detection of mouse/keyboard is done by the manager.
|
2004-12-02 22:56:49 +00:00
|
|
|
<p>
|
|
|
|
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.
|
|
|
|
<p>
|
|
|
|
Other users can't run the BOINC manager.
|
|
|
|
|
2005-03-29 00:55:04 +00:00
|
|
|
<h3>Shared installation</h3>
|
2004-12-02 22:56:49 +00:00
|
|
|
|
|
|
|
<p>
|
2005-03-29 00:55:04 +00:00
|
|
|
Processes run as whoever is logged in.
|
2004-12-02 22:56:49 +00:00
|
|
|
If someone logs in while BOINC is already running,
|
|
|
|
it will not start a new instance of BOINC.
|
|
|
|
|
|
|
|
|
2005-03-29 00:55:04 +00:00
|
|
|
<h3>Service installation</h3>
|
2004-12-02 22:56:49 +00:00
|
|
|
<p>
|
|
|
|
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.
|
|
|
|
<p>
|
2004-12-20 21:20:39 +00:00
|
|
|
The manager checks mouse/keyboard input
|
|
|
|
and conveys idle state to the core client.
|
2004-12-02 22:56:49 +00:00
|
|
|
Only the installing user can run the BOINC manager.
|
|
|
|
Files are accessable only to the installing user.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
";
|
|
|
|
?>
|