installers.rst 1.2 KB

1234567891011121314151617181920212223242526
  1. Installer details
  2. =================
  3. The installers pynsist builds do a number of things:
  4. 1. Unpack and run the Python .msi installer for the version of Python you
  5. specified.
  6. 2. Unpack and run the .msi installer for the `py launcher
  7. <https://bitbucket.org/vinay.sajip/pylauncher>`_, if you're using Python 2
  8. (in Python 3, this is installed as part of Python).
  9. 3. Install a number of files in the installation directory the user selects:
  10. - The launcher script(s) that start your application
  11. - The icon(s) for your application launchers
  12. - Python packages your application needs
  13. - Any other files you specified
  14. 4. Create a start menu shortcut for each launcher script. If there is only one
  15. launcher, it will go in the top level of the start menu. If there's more than
  16. one, the installer will make a folder named after the application.
  17. 5. Write an uninstaller, and the registry keys to put it in 'Add/remove programs'.
  18. The uninstaller only uninstalls your application (undoing steps 3-5); it
  19. leaves Python alone, because there might be other applications using Python.
  20. The installer (and uninstaller) is produced using `NSIS
  21. <http://nsis.sourceforge.net/Main_Page>`_, with the Modern UI.