For administrative and technical background, please see "Canopy 2 Managed Common Install".
Uninstall any existing EPD and Canopy installations on this system, including manually deleting all System and User environment directories for each administrator and user.
Back up and then delete each user's Canopy configuration/preference directory, usually "C:\Users\<userid>\AppData\Roaming\Enthought\Canopy". For more details about directory locations, see Uninstalling and resetting Canopy v2.
Canopy 2.1.7 (or later) standard installer for Windows 64-bit from the Canopy download page. If you are a paid subscriber, and will not be able to update packages (because you are disconnected or because of administrative constraints), you may install the full installer instead, although this is not generally recommended.
Canopy license file (<your_license_identification>.enlic), optionally provided to paid subscribers by Enthought support, to enable the Canopy debugger on systems where login does not work because there is no internet connection. Be sure that this downloaded file has at least read permissions for all intended users; the managed common install will copy it into the Canopy Core; after this you may move or delete the downloaded license file if you wish. This license file is for use on disconnected systems. On systems where users log in, their individual licenses will automatically be installed for their use.
1) Open an elevated command prompt (i.e. cmd.exe "Run as Administrator"), as described in this Knowledge Base article: "Windows - on some systems, admin users cannot immediately install 'for all users'". Do not open an enhanced console window such as conemu or console2.
2) Create the Canopy target directory (by default, "C:\Program Files\Enthought") with appropriate permissions. Typically you would give non-admin users read/execute access only, which would be the system default.
3) To the extent possible, temporarily disable your anti-virus software. The next step installs tens of thousands of files and if they are all being scanned and checked in the cloud, the process will be very slow at best, and possibly will fail.
4) Install Canopy and set up the managed common install, with the following long one-line command, adjusting file names and paths as appropriate and making other changes as described below. Note that the quotation marks around string options (paths) are required:
msiexec /qr /lv*x canopy-msi.log /i canopy-2.1.7.win-x86_64-cp27.msi ALLUSERS=1 SETUP_MANAGED_COMMON_INSTALL="C:\Program Files\Enthought" SETUP_LICENSE_PATH="C:\full\path\to\my-site-license-file.enlic"
4a) The default, and recommended, directory for installing for all users is C:\Program Files\Enthought. To install Canopy for all users into a different directory, specify it with option
APPLICATIONFOLDER="<wherever>", and modify option
SETUP_MANAGED_COMMON_INSTALL to point to the same directory. (Note that if you do this, and then later uninstall Canopy, you will need to again explicitly specify to msiexec, the same
APPLICATIONFOLDER; this requirement should be removed in a future release, with a smarter uninstaller.)
4b) If you do have a license file (see Download, above), substitute its filename and current location (typically a download dir) above. If you don't, then omit the option
Warning: Because of Windows idiosyncrasies, it's essential that you not put a closing backslash character at the end of any of the paths which you pass to msiexec.
The directory structure in this example, resulting from this installation, would be:
|- App # - Canopy Core (Canopy GUI application)
|- edm\envs\User # - Canopy User Python
All users may start Canopy from the Desktop shortcut, or from the command line with:
Please do not enter support requests in article comments
Please use article comments for suggestions to improve the article. See "How to submit Enthought Canopy/EPD support requests".