wiki:InstallWindows

Version 4 (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. Also, this distribution does not include an option to uninstall the software. This was removed since it seemed to cause security conflicts for some non-sysadmin users. If you want to uninstall the software you can delete the folder and shortcuts. A few registry items will remain, but they cause no effect and are a lot of work to remove.

How to install GSAS & EXPGUI

  • Step 0: If you have a previous version of GSAS & EXPGUI installed, this will not update that version. You can either delete that version or keep it, but note that shortcuts to the older version will likely be overwritten and the registry keys (for right-click options) certainly will be replaced.
  • 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 in a cmd.exe window.
  • Step 4: In the cmd.exe window, the names of files will stream by as they are loaded (see cmdout.png 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.) See bootstrap_upgrade.png attachment for what this looks like.

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