Installing And Updating {#install}
==============================================================

---

---

## Installation (Windows)

**For Machines *with* a Connection to the Q Drive:**
1. Open Windows Explorer.
2. Navigate to "`Q:\Proton HypersScan Commissioning\Vault1_Commissioning\FLASH Records\QAMgr_Windows`".
3. Double-click "`install.py`". 

**For Machines *without* a Connection to the Q Drive but *with* an Internet Connection:**
1. Open a Web browser of your choice.
2. Navigate to [https://trocksscience.com/mjd](https://trocksscience.com/mjd).
3. Scroll down to the bottom; under "QAMgr:," click on the `QAMgr_Windows` link.
4. Download "`QAMgr_Windows.zip`" to a directory of your choosing on your machine
     (for example, "`C:\Users\myuser\Downloads\`", which is probably the default).
     Let's call this directory "`DESTINATION_FOLDER`". 
5. In Explorer, navigate to "`DESTINATION_FOLDER`".
6. Double-click "`QAMgr_Windows.zip`".
7. Double-click the folder "`QAMgr_Windows`".
8. Explorer's menu should automatically switch to "`Extract > Compressed Folder Tools`".
   Click the "`Extract All`" menu button.
9. Under "Files will be extracted to this folder," remove "`QAMgr_Windows`".
10. Click the "`Extract`" button.
11. If updating (rather than freshly installing), click the option for
     "Replace the files in the destination."
12. Double-click the "`QAMgr_Windows`" folder.
13. Double-click "`install.py`".

**For Machines *without* a Connection to the Q Drive *or* an Internet Connection:**
*NOTE: In this case, you will probably only be able to update, as initial installation requires
  a collection of Python packages from the Internet.*
1. Use a machine with either a connection to the Q Drive or an Internet connection
     to get `QAMgr_Windows.zip` according to either of the above sets of instructions. 
2. Use a thumb drive (or any other method) to copy `QAMgr_Windows.zip` to a directory of your choosing
     on the target machine (for example, "`C:\Users\myuser\Downloads\`", which is probably the default).
     Let's call this directory "`DESTINATION_FOLDER`".
3. Go to Step #5 above.

---

## Updating (Windows)
A self-updating script is currently in development;
  for now, please update *QAMgr* by simply repeating the installation
  instructions above.

---

---

[](Steps.html)
