# Installing the software on Microsoft Windows

### Unpacking the .zip archive:

You will need to unzip the downloaded file in the location you have chosen to hold the executable files (perhaps somewhere like \bin). I would NOT put them in \Program Files, since spaces in directory or file names and command line environments are a very bad mix, and will cause you endless problems. The archive will create a top level directory Argyll_VX.X.X, where X.X.X is the version number, and the executables will be in Argyll_VX.X.X\bin.

### Making the tools accessible:

You should also configure your %PATH% environment variable to give access to the executables from your command line environment.
For Windows 8 & 8.1, look in
Desktop -> Settings -> Control Panel -> System And Security -> System -> Advanced System Settings -> Environment Variables
For Windows 7, look in
Start Menu -> Control Panel -> System And Security -> System -> Change Settings -> Advanced -> Environment Variables
For Vista, look in
Start Menu -> Control Panel -> System And Maintenance -> System -> Change Settings -> Advanced -> Environment Variables
For XP and 2000 look in
Start->Settings->Control Panel->System->Advanced->Environment Variables
For NT 4 look in
Start->Settings->Control Panel->System->Environment
You want to add the directory you've chosen to your %PATH%, which is a System Variable. Normally you would add this to the end of the current setting, separated by a ';'.
So if the current value of PATH is "%SystemRoot%\system32;%SystemRoot%" and you unpacked Argyll version 1.7.0 in d:\bin\, then you would modify PATH to be "%SystemRoot%\system32;%SystemRoot%;d:\bin\Argyll_V1.7.0\bin", - i.e. you append the path to the Argyll binaries to your PATH, separated by the ';' character. The change will take effect when you start a new command shell, which you start from Start Menu->Accessories->Command Prompt, or Start Menu->Programs->Accessories->Command Prompt. You can check that the environment variable has been set by running the command "echo %PATH%" in the command shell.
The .zip file also contains several useful reference files (such as scanner chart recognition templates, sample illumination spectrum etc.) in the ref sub-directory, all the current documentation in a doc sub-directory, and instrument USB drivers in the usb directory.
NOTE: Vista 64/Windows 7, 8 & 8.1 64 bit and Beep prompt: Microsoft (in its infinite wisdom) has removed the built in speaker driver, and now relies on systems having a sound card and speakers's installed and turned on to hear system beeps. So if you're wondering where the beeps have gone when using chartread, now you know.
NOTE: Microsofts generic VGA Driver does not appear to support setting the display VideoLUTs. You will need to install a display driver for your specific display hardware to enable this. Note that it is possible in many cases to use Windows 7 video drivers on Windows 8 systems.

NOTE that if you wish to use Argyll tools (dispwin) to control display calibration, that you will have to disable any other calibration loader programs.
There are other programs that will interfere with calibration loading, such as igfxpers.exe that gets installed with nVidia "Optimus" technology.
You may have to disable both the igfx tray module (c:\windows\system32\igfxtray.exe) and the igfxpph Module (c:\windows\system32\igfxpph.dll) in addition to the persistence Module (c:\windows\system32\igfxpers.exe).
A good tool for this is AutoRuns. Note that the igfxpph module may exist in several locations and you have to disable all of them. Reboot after changing settings.

### Serial Instruments:

If you are using a serial connected instrument, then there is nothing special to do to enable this.

### USB Instruments:

If you are using a USB connected instrument, then suitable USB system drivers may need to be installed.
Note that the Huey, i1 Display Pro, ColorMunki Display and ColorHug colorimeter appears as an HID (USB Human Interface Device Class) device, and hence will be assigned to the default MSWindows HID driver. You therefore don't need to install an Argyll usb system driver for these instruments, although it is possible to select the libusb0.sys driver as an alternative to the default HID driver.
If you are using the JETI specbos 1211 or 1201, or the Klein K10A then you may need to install the FTDI Virtual COM Port Drivers (VCP), if they are not already on your system.
Jump to your operating system version:
Windows 8
Windows 7
Windows Vista
Windows XP
Windows 2000

Windows 8 & 8.1
Fresh Install of Instrument USB driver:
If you currently don't have any applications that talk to your instrument using USB, then it is relatively simple to use the drivers provided with Argyll, since you don't have to deal with the instrument already having an assigned driver.
Windows 8 does not automatically pop up a "New Hardware" dialog, so you will have to open the Device Manager manually, and you will also have to temporarily disable UBS driver .inf signature enforcement.
To install the Argyll driver for the first instrument:
Settings -> Power -> Hold Shift Key down and click "Restart" -> Troubleshoot -> Advanced Options -> Startup Settings -> Restart ->
(After Reboot) -> "Disable Driver Signature Enforcement" (number 7 on the list)
(After system starts, Plug in instrument)
Desktop -> Settings -> Control Panel -> Hardware and Sound -> Device Manager ->
Other Devices -> <instrument being installed> -> right click -> Update Driver Software... -> Browse my computer for driver software -> Browse...
-> argyll\usb folder -> Next -> Install this driver software anyway -> Close
On subsequent installation of other instrument types:
Simply plug the instrument in. The Argyll driver will be automatically selected.
Adding Argyll drivers to existing drivers:
If you currently have applications other than Argyll accessing your USB connected instrument, then you will have to manually install the Argyll driver, and then switch back and forth between the Argyll and other drivers if you want to switch between applications.
To install the Argyll Driver:
Settings -> Power -> Hold Shift Key down and click "Restart" -> Troubleshoot -> Advanced Options -> Startup Settings -> Restart ->
(After Reboot) -> Disable Driver Signature Enforcement" (number 7 on the list)
(After system starts, Plug in instrument)
Desktop -> Settings -> Control Panel -> Hardware and Sound -> Device Manager
(Locate the instrument in the device list. It may be underneath one of the top level items.)
Right click on instrument -> Update Driver Software... -> let me pick from a list of device drivers on my computer -> Have disk... -> Browse...
-> argyll\usb folder -> select ArgyllCMS.inf -> Open -> OK -> Install this driver software anyway -> Close
To switch between drivers:
(Plug in the instrument)
Desktop -> Settings -> Control Panel -> Hardware and Sound -> Device Manager
(Locate the instrument in the device list. It may be underneath one of the top level items.)
Right click on instrument -> Update Driver Software... -> let me pick from a list of device drivers on my computer
(Choose either the Argyll driver or another driver from the list)
-> Next -> Close
Un-installing Argyll driver:
If you are updating to a new version of Argyll, that it may be necessary to uninstall all the existing Argyll USB driver, and do a fresh re-install to update the relevant libusb system driver and .inf file. (This is true for updating to Argyll Version 1.5.0).
(Plug in the instrument)
Desktop -> Settings -> Control Panel -> Hardware and Sound -> Device Manager
(Locate the instrument in the device list. It will be underneath the Argyll LibUSB-win32 devices top level item.)
Right click on instrument -> Uninstall -> click "Delete the driver software for this device" -> OK
Proceed then with either Fresh Install of Argyll USB driver or Adding Argyll drivers to existing drivers above.

Windows Vista & Windows 7
Fresh Install of Instrument USB driver:
If you currently don't have any applications that talk to your instrument using USB, then it is relatively simple to use the drivers provided with Argyll since you don't have to deal with the instrument already having an assigned driver.
To install the Argyll driver for the first instrument:
(Plug in instrument)
(Wait for the "Found New Hardware" or "Installing new device driver software - Device driver software was not successfully installed" popup and dismiss it)
Start -> Control Panel -> Hardware and Sound -> Device Manager ->
Other Devices -> <instrument being installed> -> right click -> Update Driver Software... -> Browse my computer for driver software -> Browse...
-> argyll\usb folder -> Next -> Install this driver software anyway -> Close
On subsequent installation of other instrument types:
Simply plug the instrument in. The Argyll driver will be automatically installed.
Adding Argyll drivers to existing drivers:
If you currently have applications other than Argyll accessing your USB connected instrument, then you will have to manually install the Argyll driver, and then switch back and forth between the Argyll and other drivers if you want to switch between applications.
To install the Argyll Driver:
(Plug in instrument)
Start -> Control Panel -> Hardware and Sound -> Device Manager
(Locate the instrument in the device list. It may be underneath one of the top level items.)
Right click on instrument -> Update Driver Software... -> let me pick from a list of device drivers on my computer -> Have disk... -> Browse...
-> argyll\usb folder -> select ArgyllCMS.inf -> Open -> OK -> Install this driver software anyway -> Close
To switch between drivers:
(Plug in the instrument)
Start -> Control Panel -> Hardware and Sound -> Device Manager
(Locate the instrument in the device list. It may be underneath one of the top level items.)
Right click on instrument -> Update Driver Software... -> let me pick from a list of device drivers on my computer
(Choose either the Argyll driver or another driver from the list)
-> Next -> Close
Un-installing Argyll driver:
If you are updating to a new version of Argyll, that it may be necessary to uninstall all the existing Argyll USB driver, and do a fresh re-install, to update the relevant libusb system driver and .inf file. (This is true for updating to Argyll Version 1.5.0).
(Plug in the instrument)
Start -> Control Panel -> Hardware and Sound -> Device Manager
(Locate the instrument in the device list. It will be underneath the Argyll LibUSB-win32 devices top level item.)
Right click on instrument -> Uninstall -> click "Delete the driver software for this device" -> OK
Proceed then with either Fresh Install of Argyll USB driver or Adding Argyll drivers to existing drivers above.

Windows XP
Fresh Install of Instrument USB driver:
If you currently don't have any applications that talk to your instrument using USB, then it is relatively simple to use the drivers provided with Argyll since you don't have to deal with the instrument already having an assigned driver.
To install the Argyll driver for the first instrument:
(Plug in instrument)
(Wait for the "Welcome to the Found New Hardware Wizard" popups and dismiss it)
My Computer, Right Click -> Manage -> Device Manager
Other Devices -> <instrument being installed> -> right click -> Update Driver... -> No, not this time -> Next
->Install from a list or specific location (Advanced) -> Next -> Don't search. I will choose the driver to install -> Next
-> Have Disk... -> Browse -> argyll\usb folder -> ArgyllCMS.inf -> Open -> OK -> Next -> Finish
On subsequent installation of other instrument types:
(Plug the instrument in, and wait for the "Welcome to the Found New Hardware Wizard" to pop up.)
No, not this time -> Install the software automatically (Recommended) -> Next -> Finish
Adding Argyll drivers to existing drivers:
If you currently have applications other than Argyll accessing your USB connected instrument, then you will have to manually install the Argyll driver, and then switch back and forth between the Argyll and other drivers if you want to switch between applications.
To install the Argyll Driver:
(Plug in instrument)
My Computer, Right Click -> Manage -> Device Manager
(Locate the instrument in the device list. It may be underneath one of the top level items.)
Right click on instrument -> right click -> Update Driver... -> No, not this time -> Next
->Install from a list or specific location (Advanced) -> Next -> Don't search. I will choose the driver to install -> Next
-> Have Disk... -> Browse -> argyll\usb folder -> ArgyllCMS.inf -> Open -> OK -> Next -> Finish
To switch between drivers:
(Plug in the instrument)
My Computer, Right Click -> Manage -> Device Manager
(Locate the instrument in the device list. It may be underneath one of the top level items.)
Right click on instrument -> Update Driver... -> No, not this time -> Next
->Install from a list or specific location (Advanced) -> Next -> Don't search. I will choose the driver to install -> Next
->let me pick from a list of device drivers on my computer
(Choose either the Argyll driver or another driver from the list)
-> Next -> Finish
Un-installing Argyll driver:
If you are updating to a new version of Argyll, that it may be necessary to uninstall all the existing Argyll USB driver, and do a fresh re-install, to update the relevant libusb system driver and .inf file. (This is true for updating to Argyll Version 1.5.0).
(Plug in the instrument)
My Computer, Right Click -> Manage -> Device Manager
(Locate the instrument in the device list. It will be underneath the Argyll LibUSB-win32 devices top level item.)
Right click on instrument -> Uninstall -> click "Delete the driver software for this device" -> OK
Then you will have to delete the cached copy of the old Argyll driver .inf files, that MSWindows keeps.
cd to where Windows keeps it's cached driver information files, ie:
c:
cd \windows\inf
identify all the system copies of the Argyll .inf files:
find /I "ArgyllCMS" oem*.inf
then delete just the files that contain "ArgyllCMS":
del /F oemXXX.inf
del /F oemXXY.inf
etc.
Proceed then with either Fresh Install of Argyll USB driver or Adding Argyll drivers to existing drivers above.

Windows 2000
Fresh Install of Instrument USB driver:
If you currently don't have any applications that talk to your instrument using USB, then it is relatively simple to use the drivers provided with Argyll since you don't have to deal with the instrument already having an assigned driver.
To install the Argyll driver for the first instrument:
(Plug in instrument)
(Wait for the "Welcome to the Found New Hardware Wizard" pops up) -> Next
-> Search for a suitable driver for my device (recommended) -> Next -> Specify a location -> Next
-> Browse -> argyll\usb folder -> ArgyllCMS.inf -> Open -> OK -> Next -> Finish
On subsequent installation of other instrument types:
Simply plug the instrument in. The Argyll driver will be automatically installed.
Adding Argyll drivers to existing drivers:
If you currently have applications other than Argyll accessing your USB connected instrument, then you will have to manually install the Argyll driver, and then switch back and forth between the Argyll and other drivers if you want to switch between applications.
To install the Argyll Driver:
(Plug in instrument)
My Computer, Right Click -> Manage -> Device Manager
(Locate the instrument in the device list. It may be underneath one of the top level items.)
Right click on instrument -> Properties -> Driver -> Update Driver this time
-> "Welcome to the Found New Hardware Wizard" -> Next -> Display a list of known drivers for this device so that I can choose a specific driver -> Next
-> Have Disk -> Browse -> argyll\usb folder -> ArgyllCMS.inf -> Open -> OK -> Next -> Next -> Finish
To switch between drivers:
(Plug in instrument)
My Computer, Right Click -> Manage -> Device Manager
(Locate the instrument in the device list. It may be underneath one of the top level items.)
Right click on instrument -> Properties -> Driver -> Update Driver... -> Next
-> Display a list of known drivers for this device so that I can choose a specific driver -> Next
(Choose either the Argyll driver or another driver from the list)
-> Next -> Next -> Finish
Un-installing Argyll driver:
If you are updating to a new version of Argyll, that it may be necessary to uninstall all the existing Argyll USB driver, and do a fresh re-install, to update the relevant libusb system driver and .inf file. (This is true for updating to Argyll Version 1.5.0).
(Plug in the instrument)
My Computer, Right Click -> Manage -> Device Manager
(Locate the instrument in the device list. It may be underneath one of the top level items.)
Right click on instrument -> Uninstall -> OK
Then you will have to delete the cached copy of the old Argyll driver .inf files, that MSWindows keeps.
cd to where Windows keeps it's cached driver information files, ie:
c:
cd \winnt\inf
identify all the system copies of the Argyll .inf files:
find /I "ArgyllCMS" oem*.inf
then delete just the files that contain "ArgyllCMS":
del /F oemXXX.inf
del /F oemXXY.inf
etc.
Proceed then with either Fresh Install of Argyll USB driver or Adding Argyll drivers to existing drivers above.