Mathematica >

Installing Mathematica on Windows

Installing Mathematica for Network Licenses

Requirements

Mathematica is available for Windows, Unix, Linux, and Mac OS X. For a complete list of platform availability, visit www.wolfram.com/products/mathematica/platforms.html. Any supported machine can act as a client for running Mathematica, provided the following two conditions are met:
  • The client has access to the Mathematica files, either locally or from a file server on the network.
  • The license server running MathLM is available on the TCP/IP network.
A license server can also function as its own client. However, this is not recommended. If the machine has to be rebooted for any reason, the serving of licenses to all other clients on the network may be disrupted.
Before you install Mathematica as a license server client, MathLM should already be installed and running on a license server on the network (see "Installing MathLM" for details). To complete the Mathematica installation, you will need to know the name or IP address of the license server running MathLM.
To install Mathematica on Windows 2000/XP/Vista, you must have administrative privileges.

To Install Mathematica:

1.  Insert the Mathematica DVD. The Wolfram Mathematica 7 window appears on your screen. Click the button labeled Install Mathematica to a hard disk.
2.  The Wolfram Mathematica Setup dialog appears on your screen. Click Next to begin the installation process.
3.  By default, Mathematica is installed in the directory C:\Program Files\Wolfram Research\Mathematica\7.0. To choose another destination directory, click Browse. Click Next to continue.
4.  Mathematica is configured to automatically install all optional components. To choose another configuration, deselect any components by clicking on the corresponding check box. Click Next to continue.
5.  Click Next to add Mathematica shortcuts to the Start menu in the Wolfram Mathematica folder. If you would like to select a different folder, click Browse.
6.  Click Install to install Mathematica.
7.  Click Finish to complete the installation and launch Mathematica.
8.  Mathematica starts up and the following password dialog box appears. Select Network License. Then enter the name or IP address of the license server running MathLM in the text field provided.
9.  Click OK. You are now ready to start using Mathematica.

Installing Mathematica for Single-Machine Licenses

Follow these instructions to install a standalone copy of Mathematica that does not get a license from a license server. Depending on your license type, this may require contacting Wolfram Research to purchase additional licenses.
To run Mathematica, you must register with Wolfram Research and receive a password. See "Registration and Passwords" for further information.
To install Mathematica on Windows 2000/XP/Vista, you must have administrative privileges.

To Install a Single-Machine Copy of Mathematica on Windows:

1.  Insert the Mathematica DVD. The Wolfram Mathematica 7 window appears on your screen. Click the button labeled Install Mathematica to a hard disk.
2.  The Wolfram Mathematica Setup Dialog appears on your screen. Click Next to begin the installation process.
3.  By default, Mathematica is installed in the directory C:\Program Files\Wolfram Research\Mathematica\7.0. To choose another destination directory, click Browse. Click Next to continue.
4.  Mathematica is configured to automatically install all optional components. To choose another configuration, deselect any components by clicking on the corresponding checkbox. Click Next to continue.
5.  Click Next to add Mathematica shortcuts to the Start menu under Wolfram Mathematica.
6.  Click Install to install Mathematica.
7.  Click Finish to complete the installation and launch Mathematica.
8.  Mathematica starts up and the following password dialog box appears. Select Single Machine. Then enter your name, the name of your organization, and your license number (located on your electronic or printed license certificate) in the text fields provided. Click OK when you are done.
9.  The following dialog box appears showing the MathID number for your machine. To obtain your password, click the Web button, go to register.wolfram.com, or contact Wolfram Research (see "Registration and Passwords" for further information). You will need to supply your license number and your MathID number.
10.  Enter your password and click OK. You are now ready to start using Mathematica.

Installing Mathematica from a File Server

One convenient way to install Mathematica is to run the installer remotely from a file server. This is an efficient way of making Mathematica available to a large number of users without having to supply a DVD to each one.
Installing Mathematica from a file server requires first copying the installer executable and all files in the Mathematica distribution from the DVD onto the file server.
1.  Insert the Mathematica DVD into the drive on the file server. Open a My Computer window, then right-click the DVD in the list and select Open.
2.  An Explorer window appears showing the contents of the DVD. Select the Windows folder.
3.  Copy the Windows folder from the DVD to a location on the file server accessible to external users over the network.
Once this step is complete, you can install the Mathematica files on each client.
4.  From the client, connect to the file server and open the Windows directory that was created on the file server.
5.  Double-click the file Setup.exe to launch the installer.
6.  Follow the same steps as for installing from a DVD (see "Network License" and "Single-Machine License").

Installing Mathematica from a Script

If you are installing Mathematica on multiple machines, it can be time-consuming to respond to all of the installer prompts on each individual machine. By supplying command-line options to the installer, you can customize various features of the installation process or automate it entirely.
/dir="C:\path\here"specify the installation directory
DisableShellVerbsdisable file associations for .m, .nb, .nbp, etc. (enabled by default)
/group="start menu folder name"specify the start menu folder name
/noicons disable creation of start menu folder and shortcuts
/norestartdo not restart the system, even if necessary
/restartexitcode=codespecify the installer exit code to return if restart is necessary
/silentforce an automatic installation and suppress installation windows
/suppressmsgboxessuppress installer message boxes (only effective when used in conjuction with /silent)

Mathematica Installer supported command-line options.

To Create a Script That Performs a Silent Mathematica Installation:

The following instructions explain how to write a simple script to silently install Mathematica from a file server. These instructions require that you have a mathpass file with a valid password. See "Registrations and Passwords" for more information on sitewide mathpass configurations.
1.  Follow the instructions in the first part of "Installing Mathematica from a File Server" to copy the installer and files from the DVD to a file server.
2.  Copy your mathpass file to the same directory on the file server as the installer and Mathematica files.
3.  Open Notepad (Start Menu ► Programs ► Accessories ► Notepad) and type the following lines into a new file.
4.  Change all instances of \\server\math to the pathname of the network share where the Mathematica installation files and mathpass file were copied.
5.  Change "C:\Directory\Name" to the directory listed here for your version of Windows. Be sure to enclose the name of the directory in quotes.
Windows 2000/XP—"C:\Documents and Settings\All Users\Application Data\Mathematica"
Windows Vista—"C:\ProgramData\Mathematica"
Note: These directories are the values of $BaseDirectory for different versions of Windows. See "Configuration Files on Windows" for further information.
6.  To save the file, choose File ► Save. Save the file in the same directory as the Mathematica installation files. Type the filename install.bat, and choose All Files from the Save as type popup menu. Click Save, then quit Notepad.

To Perform a Silent Mathematica Installation:

1.  On the client, open a Command Prompt window, type the pathname of the install.bat file, and press Enter. For example, if the network share is called \\server\math, type:
\\server\math\install.bat
The following messages are displayed.
2.  The installation is now complete. If you see any messages other than those printed here, check the file C:\Windows\Temp\install.log on the client machine for further information.
Installing Mathematica in this way eliminates the need to take the DVD to each client machine, and saves time by allowing you to run a simple script instead of responding to the installer questions.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team