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.

0. A one-step self-installer for Windows

It is possible to 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). To use this program, refer to these Windows self-installer instructions, rather than the instructions below.

1. Download the following files:

You can put these .EXE (and .ZIP) files anywhere on your computer, but make a note of the locations for steps 2, 3 and 5, below.

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

Brian Toby (Brian.Toby@NIST.GOV)
$Revision: 549 $ $Date: 2009-12-04 23:08:02 +0000 (Fri, 04 Dec 2009) $