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


Installing GSAS-II for Windows with TortoiseSVN

TortoseSVN is a nice subversion (SVN) implementation that seamlessly adds svn support directly into Windows Explorer. To see screen shots of the installation process, check out my notes on installing CMPR.

  1. Obtain and install TortoiseSVN from the web (
  1. Import GSAS-II sources from repository:

Create a folder where you will install GSAS-II. I suggest C:\GSASII but depending on system settings you may have to use a subdirectory of My Documents.

Then right-click on the folder to bring up a menu: click on the SVN Checkout item. This brings up the Checkout dialog. Place the URL in the "URL of repository" box at top.

Click on OK to start the transfer.

The download now starts.

  1. Run GSAS-II

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