Update Peerplays DEXBot packaging instructions for Windows authored by baris g's avatar baris g
## Definitions
**Packaging**: the process of creating an installation bundle is called packing. This will be done by developers and in the CI-CD pipeline to create re-distributable installers.
**Installer ** : The packaging process creates and installer which will be shared with adequate documentation to the end users via gitbal/github releases pages.
**Distribution of EXEs**: No executables must be part of the source code and packer EXE must be created on the fly during the installation process and final installer must be shared only via gitlab/github release pages.
**Peerplays DexBOT Installer Documentation**
Creating Installation for 3 Platforms are really easy. It depends on QT Installer Framework ( 4.3.0 ) and shell access.
1) Download and install https://download.qt.io/official_releases/qt-installer-framework/4.3.0/ for your OS.
![resim1](uploads/561ccf7966406964c964b4f237e22fd0/resim1.png)
![resim2](uploads/4321316796009f00fb1754a1efebf46a/resim2.png)
2. Then clone the repo
git clone -b devel https://gitlab.com/PBSA/tools-libs/DEXBot.git to your C:\dexbot-installer
3. Go to c:\dexbot-installer\installers\
4) Goto to the INSTALLER DIR for your OS *WIN or *MAC and run dexbot_win_installer.bat or dexbot_mac_installer.sh
5) Previous step makes exe bundle of installer of the dir “C:\dexbot-installer\DEXBot\installers\DEXBOT_INSTALLER_WIN\packages\com.peerplays.dexbot\data”
Now, dexbot_win_installer.bat is copying correct files to DATA dir before bundle.
6) After running bat or sh file installer will be created the same path like seen in previous picture
7) For Development ( not for installer creation ) you need python installing on Windows/Linux/Mac
For Windows please download Python 3.10 64 bit installer and install and add path ( option selected )
8) If you need dependencies to be built you need Microsoft Visual Studio C/C++ compiler version 2019
9) For OpenSSL ( Linux openssl-dev packages you need to install / for Windows Default path OpenSSL ( version 1.1.0 or version 3.0.0 ) should be installed ( do not change default path for windows )