wiki:InstallWindows

Version 2 (modified by toby, 11 years ago) (diff)

--

Installing GSAS & EXPGUI on Windows

This procedure describes a new way to install GSAS & EXPGUI directly from a subversion repository. In this method the distribution file, http://11bm.xor.aps.anl.gov/downloads/gsas/svnload/gsas+expgui_svn.exe (for Windows) does not need to change when the program is updated. Instead the latest version of the programs are downloaded from the server when the program is installed. Subsequently, if there are updates to GSAS or EXPGUI, an update can be made where only the files that have been changed are downloaded and installed. This update can be done using the File/Update?... menu option in EXPGUI or by executing the bootstrap.bat file in the GSAS directory.

Note this distribution is for Windows-XP or later. Windows-2000 might work; Windows-95, -98 & -ME are not supported.

How to install GSAS & EXPGUI

  • Step 2: Run through the installer pages, selecting options as needed. Most defaults options are good choices, though some people might prefer to install shortcuts in their Start menu and might prefer no desktop shortcuts.

Note: I am trying to get information on what does not work when one loads GSAS into a directory path that contains spaces (such as C:\Documents & Settings\username\gsas). Please send them to mailto:toby@…

  • Step 3: After you press the Install button on the last page of the installer, the bootstrap.bat file is started. The will take a minute or so to run with a fast Internet connection and much longer on a slow one (on the order of 30 Mb will be downloaded.)
  • Step 4: A cmd.exe window will open and names of files will stream by as they are loaded (see attachment for what the window will look like at the end). Press Enter in this window and then click on Finish in the "Setup Complete" window. Installation is now complete. GSAS & EXPGUI can now be run.

Upgrades

In EXPGUI, one can press the "Upgrade GSAS/EXPGUI" menu button in the File menu. The response to this will be a window that says if there are updates to download or that the programs are "up-to-date". If there are updates, you have the option of installing them and restarting EXPGUI.

If you do not use EXPGUI, you can update by opening the C:\GSAS folder and clicking on the bootstrap.bat file or click on Start, then Run... and then type/browse to c:\gsas\bootstrap.bat (replace c:\GSAS with the installation location you used.)

One other option for upgrades is to use the free Tortoise SVN package (http://tortoisesvn.net/), which I recommend highly to windows users.

Note that if you make any modifications to any files distributed as part of GSAS or EXPGUI, these files may not be upgraded, should the changes be in the same regions as upgrades made by Bob or myself. If you are in the practice of modifying the programs, you should learn to use Tortoise SVN to do your upgrades.

Attachments (2)

Download all attachments as: .zip