Windows-95/98 and -NT/-2000
Installation notes for EXPGUI

Please note that EXPGUI is always under development and gets less testing by the author in Windows than in UNIX. Please report problems, including comments on these instructions to Brian Toby.

A single-step program to install GSAS and EXPGUI for Windows

You can download a single file that installs GSAS (General Structure Analysis System) and EXPGUI, as well as the Tcl/Tk package, needed by EXPGUI. This self-installing file uncompresses itself, copies the required files to a selected directory and either modifies the AUTOEXEC.BAT file and/or creates the appropriate registry entries needed to run the programs. A separate web page details how to use this self-installer, ( ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/gsas+expgui.exe or from CCP14 mirrors). Here are the steps in brief:

  1. Download ftp://ftp.ncnr.nist.gov/pub/cryst/gsas/gsas+expgui.exe

  2. Run the gsas+expgui.exe file

  3. Page through the installation screens & select install options

  4. Wait while the files are installed and then continue, allowing the computer to be rebooted

  5. Delete the gsas+expgui.exe file (optional)

For more details on the sequence of operations and the installation options refer to the detailed Windows self-installer instructions web page.

The old, multistep, process for loading GSAS and EXPGUI

If for some reason you want to install GSAS and EXPGUI from the component distributions (which are sometimes more recent than the single-step file, described above), you can follow the steps listed below.

1. Download the following files:

2. Run the programs

3. Create a shortcut:

4. Delete the downloaded .exe files to save space (optional)

More information about EXPGUI, including information on how it can be customized, can be found on web pages expgui.html and expgui_cfg.html, found in the \gsas\expgui\doc directory.


1. Can I use a different version of Tcl/Tk than the one here? 2. Do I need to modify the PATH, etc in my AUTOEXEC.BAT file or in my Start/Settings/... menus? 3. What versions of Windows can I use? 4. EXPGUI seems pretty slow, or is it my imagination? 5. When I run one of the GSAS graphics programs (POWPLOT, RAWPLOT,...) the program starts, and I can answer questions, but when it comes to the part of the program that should display a plot, I get no plot (and possibly the DOS window disappears without a trace.) 6. Can GSAS and EXPGUI be located on a shared network drive? 7. Can I use Windows-ME or Windows-XP with GSAS and EXPGUI?


Thanks to Mumit Khan for help with Tcl/Tk on Windows and to Michael I. Schwartz for the Winexec package, which is needed to allow Tcl/Tk to run the GSAS DOS .exe files.

GSAS is written by Allen C. Larson and Robert B. Von Dreele, MS-H805, Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions or kudos concerning GSAS should be sent to Robert B. Von Dreele at vondreele@anl.gov

EXPGUI is written by Brian H. Toby of the NIST Center for Neutron Research, Brian.Toby@NIST.GOV with help from Jonathan Wasserman.

GSAS is Copyright, 1984-1997, The Regents of the University of California. The GSAS software was produced under a U.S. Government contract (W-7405-ENG-36) by the Los Alamos National Laboratory, which is operated by the University of California for the U.S. Department of Energy. The U.S. Government is licensed to use, reproduce, and distribute this software. Permission is granted to the public to copy and use this software without charge, provided that this notice and any statement of authorship are reproduced on all copies. Neither the Government nor the University makes any warranty, express or implied, or assumes any liability or responsibility for the use of this software.

EXPGUI is not subject to copyright. Have fun with it.

Neither the U.S. Government nor any author makes any warranty, expressed or implied, or assumes any liability or responsibility for the use of this information or the software described here. Brand names cited here are used for identification purposes and do not consitute an endorsement by NIST.


Comments, corrections or questions: crystal@NIST.gov

$Revision: 734 $ $Date: 2009-12-04 23:11:07 +0000 (Fri, 04 Dec 2009) $