|
|
@ -16,17 +16,13 @@ TRANSLATORS: |
|
|
|
PACKAGERS: |
|
|
|
PACKAGERS: |
|
|
|
|
|
|
|
|
|
|
|
You will need NSIS and upx to make the installer. You need a unicode version of NSIS. |
|
|
|
You will need NSIS and upx to make the installer. You need a unicode version of NSIS. |
|
|
|
I tested with NSIS 3.0a0. |
|
|
|
I tested with NSIS 3.0 (final). |
|
|
|
|
|
|
|
|
|
|
|
1. Open the options.nsi file in an editor and change line that contains |
|
|
|
1. Open the options.nsi file in an editor and change line that contains |
|
|
|
"!define PROG_VERSION "3.0.3"" to the version of qbittorrent you just built. |
|
|
|
"!define PROG_VERSION "3.0.3"" to the version of qbittorrent you just built. |
|
|
|
2. Extract the plugins found in the folder "nsis plugins" into your |
|
|
|
2. Extract the plugins found in the folder "nsis plugins" into your |
|
|
|
NSIS's unicode Plugin directory(usually C:\Program Files\NSIS\Plugins\x86-unicode). |
|
|
|
NSIS's unicode Plugin directory(usually C:\Program Files\NSIS\Plugins\x86-unicode). |
|
|
|
Only the *.dll files are needed. Don't use the .dll from UAC.zip, use the one from "UAC Unicode.zip". |
|
|
|
Only the *.dll files are needed. Use the unicode version of the dlls. |
|
|
|
NOTE: To build the unicode version of UAC with MSVC2008 you need: |
|
|
|
|
|
|
|
a) the sources from UAC.zip |
|
|
|
|
|
|
|
b) apply the util.cpp.diff from "UAC Unicode.zip" to util.cpp |
|
|
|
|
|
|
|
c) in a msvc command prompt issue: cl.exe /O1s /GS- /GR- /EHs-c- /Zl /LD /DUNICODE RunAs.cpp uac.cpp util.cpp /link kernel32.lib user32.lib shell32.lib advapi32.lib ole32.lib /DLL /MANIFEST:NO /OUT:uac.dll |
|
|
|
|
|
|
|
3. The script you need to compile is "qbittorrent.nsi". It includes all other necessary scripts. |
|
|
|
3. The script you need to compile is "qbittorrent.nsi". It includes all other necessary scripts. |
|
|
|
4. The script expects the following file tree: |
|
|
|
4. The script expects the following file tree: |
|
|
|
|
|
|
|
|
|
|
@ -53,6 +49,7 @@ qbittorrent.exe |
|
|
|
qbittorrent.nsi |
|
|
|
qbittorrent.nsi |
|
|
|
qt.conf |
|
|
|
qt.conf |
|
|
|
translations.nsi |
|
|
|
translations.nsi |
|
|
|
|
|
|
|
UAC.nsh |
|
|
|
uninstaller.nsi |
|
|
|
uninstaller.nsi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|