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 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->ControlPanel->System->Advanced->EnvironmentVariables

For NT 4 look in
    Start->Settings->ControlPanel->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.1.0 in d:\bin\, then you would modify PATH to be "%SystemRoot%\system32;%SystemRoot%;d:\bin\Argyll_V1.1.0\bin". 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 libusb1 directory.

NOTE: Vista 64/Windows 7 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: The Colorimètre HCFR can't be installed Windows 7 64 (It's USB hardware behaves rather strangely).



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.

Note also that 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 drivers may need to be installed.

Note that the Huey and i1 Display Pro and ColorMunki Display colorimeter appears as an HID (USB Human Interface Device Class) device, and hence will be assigned to the default MSWindows HID driver, rather than popping a "New Hardware" dialog. You normally don't need to install an Argyll libusb1 driver for these devices.

Fresh Install of USB drivers:

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. On plugging the instrument in, MSWindows should pop up a "New Hardware" dialog, and ask you for drivers for the particular USB instrument.

In Vista/Win 7 a "Found new hardware" window will pop up.
  Select the top "Locate and install driver software (recommended)"  button.
  A "User Account Control" window will probably then pop up, and you should "Continue".
  A "Found New Hardware" window should pop up. Select the last "Don't Search online" button.
  In the next screen select the "I don't have the disc. Show me other options." button.
  In the next screen, select the "Browse my computer for driver software (advanced)" button.
  On the next screen use the brows dialog to locate the directory argyll\libusb1 below where you installed Argyll. Click "next".
  The screen should change to "Installing driver software...", and a "Windows Security" window should pop up.
   In the "Windows Security"  window choose the "Install this driver software anyway" button.
   You should get the final screen "The software for this device has been successfully installed". Click "Close".

In XP a "Welcome to the Found New Hardware Wizard" window will pop up.
  For "Can Windows connect to Windows Update to search for software ?"  Select "No, not this time" and "Next"
  Select "Install from a list or specific location (Advanced) " then "Next"
  Select "Search for the best driver in these locations", "Include this location in the search" and "Brows"
  Brows to locate the directory argyll\libusb1 below where you installed Argyll. Click "next".
  The screen should change to "Installing driver software...",
  You should get the final screen "Completing the Found New Hardware Wizard". Click "Finish".

In 2000 a "Welcome to the Found New Hardware Wizard" window will pop up.
  Click "Next"
  Select "Search for a suitable driver for my device (recommended)" then "Next"
  Tick the "Specify a location" box and then "Next"
  A "Found New Hardware Wizard" dialog should pop up with "Insert the manufacturer's installation disk
    into the driver selected, and then clock OK'.  Select "Browse...".
  Brows to locate the directory argyll\libusb1 below where you installed Argyll, and select the .inf file that
    corresponds  to the device (ie. DTP94.inf, i1Disp.inf etc.). Click "Open".
  Click "OK".
  The screen should change to "Windows found a driver for this device. To install the driver Windows found, click Next",
     and the path to the file you selected should be shown bellow this. Click "Next".
  You should get the final screen "Completing the Found New Hardware Wizard". Click "Finish".

Adding Argyll drivers to existing drivers:

If you currently have applications other than Argyll accessing your USB connected instrument, then you won't automatically be prompted to install the drivers needed to access it. Instead you have to manually install the drivers, and then switch back and forth between the Argyll and other drivers if you want to switch between applications.

In Vista/Win 7:
  Plug in the instrument that you want to install.
  Right click on the "Computer" item in the Start menu and select "Manage".
  Click on "Device Manager"
  Locate the device in the device manager. It may be underneath one of the top level "USB" items.
  Right click on the device and choose "Update Driver Software..."
  In the next screen, select the "Browse my computer for driver software" button.
  On the next screen choose "Let me Pick from a list of device drivers on my computer"
  On the next screen choose "Have Disk..."
  On the next screen "Install From Disk" use the brows dialog to locate the directory argyll\libusb1 below where you installed Argyll. Click "next".
  The screen should change to "Installing driver software...", and a "Windows Security" window should pop up.
  In the "Windows Security"  window choose the "Install this driver software anyway" button.
  You should get the final screen "The software for this device has been successfully installed". Click "Close".
  The Argyll driver will now be used to access the device.

To switch between drivers in Vista/Win 7:
  Plug in the instrument that you want to switch drivers for.
  Right click on the "Computer" item in the Start menu and select Manage.
  Click on "Device Manager"
  Locate the device in the device manager. It may be underneath one of the top level "USB" items.
  Right click on the device and choose "Update Driver Software..."
  In the next screen, select the "Let me pick from a list of device drivers on my computer" button.
  On the next screen make sure that the "Show compatible hardware" checkbox is ticked, and choose which
  driver you want to use, and press "Next". All Argyll drivers have (Argyll) at the end of them.
  You should get the final screen "The software for this device has been successfully installed". Click "Close".


In XP:
  Plug in the instrument that you want to install.
  Right click on the "My Computer" item on the desktop and select "Manage".
  Click on "Device Manager"
  Locate the device in the device manager. It may be underneath one of the top level "USB" items.
  Right click on the device and choose "Update Driver Software..."
  For "Can Windows connect to Windows Update to search for software ?"  Select "No, not this time" and "Next"
  Select "Install from a list or specific location (Advanced) " then "Next"
  In the next screen, select the "Don't search. I will choose the driver to install" button, then click "Next".
  On the next screen "Select the device driver you want to install for this hardware", the existing driver for the device should be listed. Click "Have Disk".
  On the next screen use the brows dialog to locate the directory argyll\libusb1 below where you installed Argyll, and select
   the appropriate .inf file for the device. Click "Open".
  Back on the "Install From Disk" dialog, click "OK".
  Back in the "Select the device driver you want to install for this hardware", click "Next".
  A "Please wait while the wizard installs the software" dialog will be shown.
  You should get the final screen "Completing the Hardware Update Wizard". Click "Finish".
  The Argyll driver will now be used to access the device.

To switch between drivers in XP:
   Plug in the instrument that you want to switch drivers for.
  Right click on the "My Computer" item on the desk top and select "Manage".
  Click on "Device Manager"
  Locate the device in the device manager. It may be underneath one of the top level "USB" items.
  Right click on the device and choose "Update Driver Software..."
  For "Can Windows connect to Windows Update to search for software ?"  Select "No, not this time" and "Next"
  Select "Install from a list or specific location (Advanced) " then "Next"
  In the next screen, select the "Don't search. I will choose the driver to install" button, then click "Next".
  On the next screen "Select the device driver you want to install for this hardware", the Argyll driver and any alternative
   driver for the device should be listed.  All Argyll drivers have (Argyll) at the end of them.
  Choose the driver you want to switch to, and then Click "Next".
  A "Please wait while the wizard installs the software" dialog will be shown.
  You should get the final screen "Completing the Hardware Update Wizard". Click "Finish".


In 2000:
  Plug in the instrument that you want to install.
  Right click on the "My Computer" item on the desktop and select "Manage".
  Click on "Device Manager"
  Locate the device in the device manager. It may be underneath one of the top level "USB" items.
  Right click on the device and choose "Properties..."
  Select the "Driver" Tab.
  Select "Update Driver..."
  A "Welcome to the Upgrade Device Driver Wizard" window will pop up.
  Click "Next"
  Select "Search for a suitable driver for my device (recommended)" then "Next"
  Tick the "Specify a location" box  and untick all other boxes. Click "Next"
  A "Upgrade Device Driver Wizard" dialog should pop up with "Insert the manufacturer's installation disk
    into the driver selected, and then clock OK'.  Select "Browse...".
  Brows to locate the directory argyll\libusb1 below where you installed Argyll, and select the .inf file that
    corresponds  to the device (ie. DTP94.inf, i1Disp.inf etc.). Click "Open".
  Click "OK".
  Wait while the wizard also searches other locations.
  The wizard should then display screen titled "Driver Files Search Results".
  Tick the "Install one of the other drivers" box and then "Next"
   A list of available drivers should then be displayed. Select the Argyll driver for the device then "Next".
  You should get the final screen "Completing the Upgrade Device Driver Wizard". Click "Finish".

To switch between drivers in 2000:
    Plug in the instrument that you want to switch drivers for.
  Right click on the "My Computer" item on the desktop and select Manage.
  Click on "Device Manager"
  Locate the device in the device manager. It may be underneath one of the top level "USB" items.
  Right click on the device and choose "Properties".
  Select the "Drivers" tab.
  Select "Update Driver".
  On the "Welcome to the Update Device Driver Wizard" click "Next".
  On the "Install Hardware Device Drivers" dialog, select the "Display a list of known drivers for this device so that I can choose a specific driver", then click "Next".
  The next dialog called "Select a Device Driver" should list the Argyll driver and any alternative
   driver for the device.  All Argyll drivers have (Argyll) at the end of them.
  Choose the driver you want to switch to, and then Click "Next".
   On the next dialog called "Start Device Driver Installation" click "Next".
  You should get the final screen "Completing the Upgrade Device Driver Wizard". Click "Finish".


[ The alternative to switching to the Argyll drivers is to go to the libusb-win32 web site, and download and then install the "filter drivers", - see <http://libusb-win32.sourceforge.net./#downloads>. This may then let you access the device using Argyll, without disabling access by existing applications. (I haven't tried this, so I'm not sure how well it works). You don't make use of the Argyll .inf file using this approach.
NOTE that a potential problem with this approach is that the filter drivers haven't been modified to have a longer USB control transaction timeout, and this may cause failures for certain instruments when measuring dark colors.]

Updating Argyll drivers:

If you are updating to a new version of Argyll, that it may be necessary to uninstall all the Argyll USB devices, and re-install them, to update the relevant libusb system driver and dll. (This is true for updating to Argyll Version 1.2.0). If the device does not appear as an "Argyll LibUsb-1.0 device" in the device manager, then you will have to remove old drivers before installing the new ones, to avoid MSWindows simply re-installing the old drivers.

In Vista/Win 7
  Plug an instrument that has been installed into the computer.
  Right click on the "Computer" item in the Start menu and select "Manage".
  Click on "Device Manager"
  Locate the device under "LibUSB-Win32 Device"
  Right click on the device and choose "Uninstall"
  In the "Confirm Device Removal" window select the "Delete the driver software for this device" checkbox and then choose "OK"
  In the "Action" menu of the window choose "Scan for hardware changes"
  A "Found New Hardware Wizard" window should pop up.
  Follow the same directions as above for installing the updated drivers..

In XP and 2000:
  First 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                     (Windows 2000)
    cd \windows\inf                (Windows XP)

  identify all the system copies of the Argyll .inf files:

    find /I "Argyll" oem*.inf

  then delete them:

    del oemXXX.inf
    del oemXXY.inf
    etc.

  Plug an instrument that has been installed into the computer.
  Right click on the "My Computer" icon on the desktop or start menu and select Manage.
  Click on "Device Manager"
  Locate the device under "LibUSB-Win32 Device"
  Right click on the device and choose "Uninstall"
  On the "Confirm Device Removal" window choose "OK"
  In the "Action" menu of the window choose "Scan for hardware changes"
  A "Found New Hardware Wizard" window should pop up.
  Follow the same directions as above (XP, 2000) for installing the updated drivers.