Version 1 (modified by toby, 12 years ago) (diff)


Installing GSAS-II on Windows with mini-SVN kit

The minimal files needed to run subversion can be downloaded as a zip file, along with a batch file that will install GSAS-II from the server.

  1. Download the svn kit using one of these URLs: or
  1. Open the downloaded in the Windows Explorer -- you should see a single folder named GSAS-II. Drag this folder to where you would like to install the software.
  1. Open this folder in its new location and double-click on the bootstrap.bat file. A "DOS" (cmd.exe) window will open and you should see
    Preparing to load/update GSAS-II
    Press any key to continue . . .

Press Enter and the transfer of files starts. After it completes you should see:

A    gsas2mac.ico
Checked out revision 331.
Files have been loaded. Press Return to start GSAS-II.
Press any key to continue . . .

If GSAS-II fails to start, you should debug by starting a DOS window (use Start to run cmd.exe). In that window type

cd <...>\GSASII

to see what error is occuring.

In the future, GSAS-II can be started by clicking on the GSASII.bat file that has been downloaded into the installation directory.

  1. Make a desktop shortcut to GSAS-II (optional)

Right-click on the file and select "Create Shortcut". Drag the new shortcut to the desktop (or your preferred location). This may work for you as-is, but you may want to or need to make changes. To do that right-click on the shortcut and select properties. This opens the properties dialog. In that window make these changes:

Target: If you obtain an error where Windows does not know what program to associate with .py files, either associate them with the python installed on your computer or add the full path to python before the path to the GSASII.bat file in the "Target:" box:

C:\PYTHON27\python.exe C:\GSASII\GSASII.bat $*

If you used a directory that has spaces in the name put the names in quotes, e.g.:

"C:\EPD dist\PYTHON27\python.exe" C:\GSASII\GSASII.bat $*

Note the $* is optional, but it allows files to be "dropped" onto the shortcut.

Start in: Change this box to wherever you would like to have GSASII start -- where you keep your data files. (Optional)

Change Icon: Use this button to change the icon to the GSAS2.ico file in the C:\GSASII directory (optional).

You may also want to rename this shortcut.

  1. Add shortcut(s) to Start Menu (optional)

Right-click on Start Menu, select open from list of choices

Left-click on Programs folder

Right-click on a blank section of folder and select new->folder to create place for shortcuts, name the new folder GSAS-II (or whatever you prefer)

Copy the shortcut(s) created above from the desktop to the new folder in Start Menu\Programs