MS Windows Packages


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.
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.


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:

Installation directory, e.g. C:\Program Files\Gwyddion. Reading this key can be useful for determining where to install extensions.
Full Gwyddion version as a string.
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:

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)

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 Since pygwy requires Python 2 install the latest Python 2.7 version, which will probably be python-2.7.3.msi.

Three packages are required for PyGTK2: PyGTK, PyCairo and PyGObject. Follow the corresponding download links for these modules at 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.