1. Installed Python 2.7 on Windows 7: https://www.python.org/downloads/release/python-2710/
2. Installed the Python 2.7 for Windows Extensions: http://sourceforge.net/projects/pywin32/?source=typ_redirect
3. Installed the Microsoft C++ for Python 2.7.
4. Installed the pip-Win to easily install packages: https://sites.google.com/site/pydatalog/python/pip-for-windows
5. Then after pip-Win is installed a dialogue box as shown in the below picture is left open. Then you can insert in the command box: "pip install pyinstaller"
6. After the pyinstaller package is successfully installed then from the command-line you can navigate to c:]python2.7\Scripts
7. Here is where you can find the pyinstaller.exe file. Then you can run it accompanied by any script that has been created. Below is the screenshot of creating my python reverse shell script located in a previous post into a windows executable. With the command-line switch of --onefile it creates a single executable with no dependencies.
8. After pyinstaller finishes, the executable will be located in the folder where the script is located under the dist folder.
9. To test the "server_reverse_tcp.exe" I setup my Kali box to listen, then the server_reverse_tcp.exe ran flawlessly as shown in the screenshot: