1 | GSAS for Windows 95/98/NT/2000 Distribution kit |
---|
2 | |
---|
3 | You should have a self-extracting executable file, gsaskit.exe, containing |
---|
4 | the distribution materials for GSAS and at least 41Mb of free disk space. |
---|
5 | |
---|
6 | REVISED 03/31/05 for new Windows version of GSAS with PGPLOT graphics. |
---|
7 | I will assume in the following that your computer has a single hard disk C:, |
---|
8 | use a different disk designations if needed. |
---|
9 | |
---|
10 | To install GSAS: |
---|
11 | |
---|
12 | 1. Double click on gsaskit.exe to execute it. The gsas files will be unzipped. |
---|
13 | You will be asked for the location of gsas; you may put it anywhere but for easiest |
---|
14 | installation please put it in the default location (C:\gsas). Alternatively, use a |
---|
15 | different drive letter as X:\gsas (X = any disk); however in this case you must |
---|
16 | modify the file gsas\exe\pc-gsas.bat for that choice of disk drive. GSAS can be |
---|
17 | installed in some other subdirectory but pc-gsas.bat must be modified to reflect this. |
---|
18 | pc-gsas.bat contains the following lines: |
---|
19 | |
---|
20 | echo off |
---|
21 | if "%gsas%" == "" set gsas=c:\gsas |
---|
22 | set PGPLOT_FONT=%gsas%\pgl\grfont.dat |
---|
23 | if NOT "%OS%" == "" (if %2==noname (title %1) else (title %1 %2)) |
---|
24 | cd %3 |
---|
25 | "%gsas%\exe\%1.exe" %2 |
---|
26 | pause |
---|
27 | |
---|
28 | modify only the second line to reflect the changed disk drive letter. |
---|
29 | |
---|
30 | 2. GSAS is now ready to use from pc-gsas.exe. You no longer need to modify the |
---|
31 | autoexec.bat file (Win95/98/ME) or reboot the computer. For WinNT/2K/XP, you also |
---|
32 | no longer need to modify the environment variables. |
---|
33 | 3. (WIN95/98/ME/NT40/2000) create a shortcut to pc-gsas.exe and move it to the desktop. |
---|
34 | You may have to modify the properties of this file if you installed gsas anywhere |
---|
35 | else other than C:\gsas. |
---|
36 | 4. If you use GSAS in batch files modify them to include the following lines before |
---|
37 | any gsas program is invoked: |
---|
38 | |
---|
39 | if "%gsas%" == "" set gsas=c:\gsas |
---|
40 | set PGPLOT_FONT=%gsas%\pgl\grfont.dat |
---|
41 | |
---|
42 | These are copied directly from the pc-gsas.bat file; perhaps as modified with different |
---|
43 | drive letter. Also change any of the gsas program names you may use to reflect the |
---|
44 | full path to their location including the ".exe". E.g. change "expedt" to |
---|
45 | "c:\gsas\exe\expedt.exe". This will ensure correct execution and that the opening |
---|
46 | banner will show the correct "Distribution Date". |
---|
47 | |
---|
48 | 5. WinNT4.0 & Win2000: To register the GSAS experiment file (optional): |
---|
49 | a. in Windows Explorer select "Tools" and then "Folder Options" |
---|
50 | b. select "file types" |
---|
51 | c. select "new type" |
---|
52 | d. enter "EXP" for File Extension; click "OK" |
---|
53 | e. click "advanced" |
---|
54 | f. select "change icon" |
---|
55 | g. select "browse" and find C:\GSAS\GSAS.ICO |
---|
56 | h. select "OK" (for icon) |
---|
57 | i. for description of type enter: GSAS experiment file |
---|
58 | j. select "new" |
---|
59 | k. for action enter: Expedt |
---|
60 | l. for application enter: C:\GSAS\EXE\PC-GSAS.BAT EXPEDT "%1" |
---|
61 | m. repeat j-l for POWPREF, GENLES, POWPLOT, etc. as desired |
---|
62 | n. select "OK" to finish |
---|
63 | A similar scheme exists for Win95/98/ME. Now you will be able to "right click" |
---|
64 | on an experiment file and select the GSAS routine you want to use. Moreover, |
---|
65 | the window for each program will stay open after it completes so you may |
---|
66 | examine the result. |
---|
67 | |
---|
68 | |
---|
69 | |
---|
70 | |
---|