MS Windows Packages

Note

The packaging of MS Windows executables has changed substantially in version 2.23. So, if you upgrade from a pre-2.23 version to version 2.23 or newer, please read the description of the changes.

If you have already installed Gwyddion the installer asks if you want to replace the previous version.

Win32 installer upgrade question screenshot

The question what to do with the previous Gwyddion version.

You have three options:

Yes (replace)
The already installed version will be replaced. This is the normal upgrade method.
No (keep)
The already installed version will be ignored and the installation will proceed as a fresh one. Generally, this is a bad idea as both versions will share settings and registry keys and if you uninstall one the other will be affected. In some cases, though, you can find this option useful.
Cancel
The installation will be aborted and the old version will be kept untouched.

In the following steps the installer reminds you of the software components included in the package and their licenses (that are all Free Software), lets you change the installation directory and offers a choice of languages to use for the user interface.

Uninstallation

If you want to uninstall Gwyddion go to StartControl PanelAdd or Remove Programs and choose Gwyddion. Note that this is valid for Windows XP. The path to the Add/Remove window may be slightly different on other Windows OS.

Registry keys

The installer creates the following useful keys under HKEY_LOCAL_MACHINE\Software\Gwyddion\2.0:

InstallDir
Installation directory, e.g. C:\Program Files\Gwyddion. Reading this key can be useful for determining where to install extensions.
Version
Full Gwyddion version as a string.
Locale
Language of Gwyddion user interface chosen during the installation (more precisely, a locale specification that, among other things, defines the language). You can modify it using regedit to choose another language as described below.

The list of available languages and corresponding Locale values include:

LocaleLanguage
cs_CZ.UTF-8Czech (Czech Republic)
de_DE.UTF-8German (Germany)
en_US.UTF-8English (Unites States)
fr_FR.UTF-8French (France)
it_IT.UTF-8Italian (Italy)
ru_RU.UTF-8Russian (Russia)

Missing features

Gwyddion has a large number of optional features that depend on third party libraries. The MS Windows packages contain most of them but a few are not included at present:

  • OpenEXR HDR image import and export.
  • Flexible Image Transport System (FITS) file import.
  • Pygwy support in the 64bit packages (it is supported only in the 32bit packages).

Enabling pygwy

The Python scripting interface, pygwy, is included in the installer, however, you need to install Python and PyGTK2 separately to use Python scripting. This can be done either prior to Gwyddion installation or any time later. If Python and PyGTK2 is not present pygwy simply does not register itself upon Gwyddion startup.

MS Windows Python installer can be obtained at http://python.org/download/releases/. Since pygwy requires Python 2 install the latest Python 2.7 version, which will probably be python-2.7.7.msi.

Three packages are required for PyGTK2: PyGTK, PyCairo and PyGObject. Follow the corresponding download links for these modules at http://www.pygtk.org/downloads.html to obtain the installers pygobject-2.28.3.win32-py2.7.msi, pycairo-1.8.10.win32-py2.7.msi, and pygtk-2.24.0.win32-py2.7.msi or possibly newer versions (if available).

Success has also been reported with the all-in-one installer pygtk-all-in-one-2.24.2.win32-py2.7.msi that contains everything. However, using the all-in-one installer means entire Gtk+ will be installed twice (into different locations). Which bits of which installation will be used in pygwy is difficult to tell. Hence this method is not recommended.