|
|
@ -24,22 +24,17 @@ Section $(inst_qbt_req) ;"qBittorrent (required)" |
|
|
|
|
|
|
|
|
|
|
|
; Set output path to the installation directory. |
|
|
|
; Set output path to the installation directory. |
|
|
|
SetOutPath $INSTDIR |
|
|
|
SetOutPath $INSTDIR |
|
|
|
|
|
|
|
; Put files there |
|
|
|
;Create 'translations' directory |
|
|
|
|
|
|
|
CreateDirectory $INSTDIR\translations |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Put file there |
|
|
|
|
|
|
|
File "qbittorrent.exe" |
|
|
|
File "qbittorrent.exe" |
|
|
|
File "qbittorrent.pdb" |
|
|
|
File "qbittorrent.pdb" |
|
|
|
File "qt.conf" |
|
|
|
File "qt.conf" |
|
|
|
File /r "qtbase_*.qm" ; omit translations folder path to preserve folder structure |
|
|
|
|
|
|
|
File /oname=translations\qt_fa.qm "translations\qt_fa.qm" |
|
|
|
;Create 'translations' directory |
|
|
|
File /oname=translations\qt_gl.qm "translations\qt_gl.qm" |
|
|
|
CreateDirectory $INSTDIR\translations |
|
|
|
File /oname=translations\qt_lt.qm "translations\qt_lt.qm" |
|
|
|
; Set output path to the installation\translations directory. |
|
|
|
File /oname=translations\qt_pt.qm "translations\qt_pt.qm" |
|
|
|
SetOutPath "$INSTDIR\translations" |
|
|
|
File /oname=translations\qt_sl.qm "translations\qt_sl.qm" |
|
|
|
; Put files there |
|
|
|
File /oname=translations\qt_sv.qm "translations\qt_sv.qm" |
|
|
|
File /r "translations\qt*.qm" |
|
|
|
File /oname=translations\qt_zh_CN.qm "translations\qt_zh_CN.qm" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Write the installation path into the registry |
|
|
|
; Write the installation path into the registry |
|
|
|
WriteRegStr HKLM "Software\qBittorrent" "InstallLocation" "$INSTDIR" |
|
|
|
WriteRegStr HKLM "Software\qBittorrent" "InstallLocation" "$INSTDIR" |
|
|
|