Changes between Version 9 and Version 10 of InstallWindows


Ignore:
Timestamp:
Apr 16, 2010 5:50:27 PM (11 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallWindows

    v9 v10  
    2222== How to install self-upgrading GSAS & EXPGUI from a zip file ==
    2323
    24 The packaging program used above is getting a bit old and does not run properly on some computers. So, an alternate process is available to install the same files from a .zip repository. However, this method requires more steps. Directions below are for Windows XP and might need to be slightly different on other versions of Windows.
     24The packaging program used above is getting a bit old and does not run properly on some computers. So, an alternate process is available to install the same mechanism, but starting from a .zip repository. However, this method requires more steps. Directions below are for Windows XP and might need to be slightly different on other versions of Windows.
    2525
    26  * Step 1: Download file http://11bm.xor.aps.anl.gov/downloads/gsas/svnload/gsas+expgui_svn.zip
     26 1. Download file http://11bm.xor.aps.anl.gov/downloads/gsas/svnload/gsas+expgui_svn.zip
     27 1. Open the file in the windows file browser, you should see four files and a folder.
     28 1. Create a directory where these files should go. I recommend C:\GSAS, but any drive can be used.
     29 1. Drag (Copy) the contents of the zip file to the new GSAS directory.
     30 1. Run the BOOTSTRAP.BAT file in the GSAS directory to download the GSAS & EXPGUI files from the server. Note, this file can safely be rerun if a problem occurs in the download. In fact, when ever it is run, it will check the files on your computer against those on the repository and will download any updates.
     31 1. (optional) Run the MAKEREGISTRY.BAT file to make registry entries that change the icon associated with .EXP files and to link GSAS applications to these files. By default, a double-click on a .EXP file will start EXPGUI, but this can be changed by editing the batch file (see comments inside).
     32 1. (optional) Make a desktop shortcut to run EXPGUI (see below).
     33   a. Use command {{{c:\gsas\exe\ncnrpack.exe c:\gsas\expgui\expgui}}} (modify path from c:\gsas, as needed
     34   d. Use name EXPGUI
     35   e. Use as icon the expgui.ico file in c:\gsas (or wherever)
     36 1. (optional) Make a desktop shortcut to run PC-GSAS (see below).
     37   a. Use command {{{c:\gsas\exe\pc-gsas.exe}}} (modify path from c:\gsas, as needed
     38   d. Use name PC-GSAS
     39   e. Use as icon the gsas.ico file in c:\gsas (or wherever)
     40 1. (optional) Add shortcut(s) to Start Menu.
     41  a. Right-click on Start Menu, select open from list of choices
     42  b. Left-click on Programs folder
     43  c. Right-click on a blank section of folder and select new->folder to create place for shortcuts, name the new folder GSAS or GSAS+EXPGUI, etc.
     44  d. Copy the shortcut(s) created above from the desktop to the new folder in Start Menu\Programs
    2745
    28  * Step 2: Open the file in the windows file browser, you should see four files and a folder.
     46Note that if you do not create shortcuts using the above steps, the batch files StartEXPGUI.bat and StartPC-GSAS.bat can be used to start EXPGUI and GSAS respectively. These files cannot be moved from the GSAS directory, but shortcuts to these files can be made and those shortcuts can be moved.
    2947
    30  * Step 3: Create a directory where these files should go. I recommend C:\GSAS, but any drive can be used.
     48=== How to create a shortcut ===
    3149
    32  * Step 4. Drag (Copy) the contents of the zip file to the new GSAS directory.
    33 
    34  * Step 5. Run the BOOTSTRAP.BAT file in the GSAS directory to download the GSAS & EXPGUI files from the server. Note, this file can safely be rerun if a problem occurs in the download. In fact, when ever it is run, it will check the files on your computer against those on the repository and will download any updates.
    35 
    36  * Step 6 (optional). Run the MAKEREGISTRY.BAT file to make registry entries that change the icon associated with .EXP files and to link GSAS applications to these files. By default, a double-click on a .EXP file will start EXPGUI, but this can be changed by editing the batch file (see comments inside).
    37 
    38  * Step 7 (optional). Make a desktop shortcut to run EXPGUI:
    39 
    40     On a blank part of the Windows desktop, click the right mouse button and then select NEW and then shortcut and click with the left mouse button. Provide command
    41             c:\gsas\exe\ncnrpack.exe c:\gsas\expgui\expgui
    42 
    43       (modify previous paths, if you have located the files in different places)
    44 
    45     click on NEXT with the left mouse button.
    46 
    47     Enter name EXPGUI
    48 
    49     Change the icon for the shortcut to use the expgui.ico button
    50 
    51     click on FINISH with the left mouse button.
    52 
     50   a. On a blank part of the Windows desktop, click the right mouse button and then select NEW and then shortcut and click with the left mouse button. Provide a command such as [[BR]] {{{c:\gsas\exe\ncnrpack.exe c:\gsas\expgui\expgui}}} [[BR]](modify previous paths, if you have located the files in different places)
     51   c. click on NEXT with the left mouse button.
     52   d. Enter name EXPGUI
     53   e. Change the icon for the shortcut to use the expgui.ico button
     54   f. click on FINISH with the left mouse button. [[BR]]
    5355      You may want to modify the shortcut by modifying the properties to change the icon or the default properties.
    5456
    55  * Step 8 (optional). Make a desktop shortcut to run PC-GSAS.
    56     see above, except the command to enter for the shortcut is
    57            c:\gsas\exe\pc-gsas.bat
    58     and use the gsas.ico file as an icon
    5957
    60  * Step 9 (optional). Add shortcut(s) to Start Menu.
     58== How to install non-updating GSAS & EXPGUI from a zip file ==
    6159
    62     Right-click on Start Menu, select open from list of choices
    63 
    64     Left-click on Programs folder
    65 
    66     Right-click on a blank section of folder and select new->folder to create place for shortcuts, name the new folder GSAS or GSAS+EXPGUI, etc.
    67 
    68     Copy the shortcut(s) created above from the desktop to the new folder in Start Menu\Programs
    69 
    70 == How to install non-upgrading GSAS & EXPGUI from a zip file ==
    71 
    72 If you need to download a file that will be used to install GSAS & EXPGUI onto a computer where a connection can not be made to the subversion server, a smaller all-in-one download is available.
    73 The packaging program used above is getting a bit old and does not run properly on some computers. So, an alternate process is available to install the same files from a .zip repository. However, this method requires more steps. Directions below are for Windows XP and might need to be slightly different on other versions of Windows.
     60If you need to download a single file that will be used to install GSAS & EXPGUI onto a computer where a connection cannot be made to the subversion server, a smaller all-in-one download is available.
     61Directions below are for Windows XP and might need to be slightly different on other versions of Windows.
    7462
    7563 * Step 1. Download file http://11bm.xor.aps.anl.gov/downloads/gsas/windows/gsas+expgui_win.zip
     
    10088 * Step 6 (optional). Make a desktop shortcut to run PC-GSAS.
    10189    see above, except the command to enter for the shortcut is
    102            c:\gsas\exe\pc-gsas.bat
     90           c:\gsas\exe\pc-gsas.exe
    10391    and use the gsas.ico file as an icon
    10492