... | ... | @@ -94,21 +94,23 @@ Building of Datovka installer for Windows requires: |
|
|
* (NSIS)[http://nsis.sourceforge.net/Main_Page] (Nullsoft Scriptable Install System)
|
|
|
* (7-Zip)[http://www.7-zip.org/] archiver
|
|
|
|
|
|
Follow these steps to build the installer.
|
|
|
|
|
|
1. Create folder `dlls` in the root of the project directory and copy all required libraries (libisds.dll, openssl.dll, ...) here. The file `notes\libdepends.win` contains the list of required files.
|
|
|
|
|
|
2. Copy additional NSIS libraries (`ReplaceInFile.nsh`, `StrRep.nsh`) from `nsis\nsis-libs\` to `c:\Program Files (x86)\NSIS\Include\`.
|
|
|
|
|
|
3. Edit "\scripts\make-win.bat" batch file and set correct Qt toolchain, NSIS and 7-Zip paths:
|
|
|
* set QTPATH="C:\Qt\{Qtversion}\mingw{Mingwversion}\bin\"
|
|
|
* set QTMAKEPATH="C:\Qt\Tools\mingw{Mingwversion}\bin\"
|
|
|
* set NSISPATH="C:\Program Files (x86)\NSIS\makensis.exe"
|
|
|
* set ZIPPATH="C:\Program Files (x86)\7-Zip\7z.exe"
|
|
|
3. Edit `scripts\make-win.bat` batch file and set correct Qt toolchain, NSIS and 7-Zip paths:
|
|
|
* set QTPATH="C:\Qt\{Qtversion}\mingw{Mingwversion}\bin\"
|
|
|
* set QTMAKEPATH="C:\Qt\Tools\mingw{Mingwversion}\bin\"
|
|
|
* set NSISPATH="C:\Program Files (x86)\NSIS\makensis.exe"
|
|
|
* set ZIPPATH="C:\Program Files (x86)\7-Zip\7z.exe"
|
|
|
|
|
|
4) Run
|
|
|
4. Run
|
|
|
``` shell
|
|
|
make-win.bat
|
|
|
```
|
|
|
5) You have done all packages of Datovka together with portable version in the folder "packages".
|
|
|
5. You have done all packages of Datovka together with portable version in the folder "packages".
|
|
|
|
|
|
### Additional configuration options.
|
|
|
|
... | ... | |