mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 19:52:50 -03:00
resolve conflicts
This commit is contained in:
commit
7237b65a32
7 changed files with 514 additions and 461 deletions
26
BUILD.md
26
BUILD.md
|
@ -30,13 +30,15 @@ Create a .rpm on Fedora-like distros: `./install/build_rpm.sh`
|
||||||
|
|
||||||
For ArchLinux: There is a PKBUILD available [here](https://aur.archlinux.org/packages/onionshare/) that can be used to install OnionShare.
|
For ArchLinux: There is a PKBUILD available [here](https://aur.archlinux.org/packages/onionshare/) that can be used to install OnionShare.
|
||||||
|
|
||||||
|
If you find that these instructions don't work for your Linux distribution or version, consult the [Linux Distribution Support wiki guide](https://github.com/micahflee/onionshare/wiki/Linux-Distribution-Support), which might contain extra instructions.
|
||||||
|
|
||||||
## Mac OS X
|
## Mac OS X
|
||||||
|
|
||||||
Install Xcode from the Mac App Store. Once it's installed, run it for the first time to set it up.
|
Install Xcode from the Mac App Store. Once it's installed, run it for the first time to set it up. Also, run this to make sure command line tools are installed: `xcode-select --install`. And finally, open Xcode, go to Preferences > Locations, and make sure under Command Line Tools you select an installed version from the dropdown. (This is required for installing Qt5.)
|
||||||
|
|
||||||
Download and install Python 3.5.2 from https://www.python.org/downloads/release/python-352/ (note that a pyinstaller bug prevents you from using Python 3.6). I downloaded `python-3.5.2-macosx10.6.pkg`.
|
Download and install Python 3.6.4 from https://www.python.org/downloads/release/python-364/. I downloaded `python-3.6.4-macosx10.6.pkg`.
|
||||||
|
|
||||||
Download and install Qt 5.7.1 for macOS offline installer from https://www.qt.io/download-open-source/. I downloaded `qt-opensource-mac-x64-clang-5.7.1.dmg`. (You can skip making an account in the installer.)
|
Download and install Qt5 from https://www.qt.io/download-open-source/. I downloaded `qt-unified-mac-x64-3.0.2-online.dmg`. There's no need to login to a Qt account during installation. Make sure you install the latest Qt 5.x. I installed Qt 5.10.0 -- all you need is to check `Qt > Qt 5.10.0 > macOS`.
|
||||||
|
|
||||||
Now install some python dependencies with pip (note, there's issues building a .app if you install this in a virtualenv):
|
Now install some python dependencies with pip (note, there's issues building a .app if you install this in a virtualenv):
|
||||||
|
|
||||||
|
@ -71,7 +73,7 @@ Now you should have `dist/OnionShare.pkg`.
|
||||||
|
|
||||||
### Setting up your dev environment
|
### Setting up your dev environment
|
||||||
|
|
||||||
Download the latest Python 3.5.2, 32-bit (x86) from https://www.python.org/downloads/release/python-352/ (note that there's a pyinstaller/pywin32 bug that prevents 3.6.x from working). I downloaded `python-3.5.2.exe`. When installing it, make sure to check the "Add Python 3.5 to PATH" checkbox on the first page of the installer.
|
Download Python 3.6.4, 32-bit (x86) from https://www.python.org/downloads/release/python-364/. I downloaded `python-3.6.4.exe`. When installing it, make sure to check the "Add Python 3.6 to PATH" checkbox on the first page of the installer.
|
||||||
|
|
||||||
Open a command prompt, cd to the onionshare folder, and install dependencies with pip:
|
Open a command prompt, cd to the onionshare folder, and install dependencies with pip:
|
||||||
|
|
||||||
|
@ -79,7 +81,9 @@ Open a command prompt, cd to the onionshare folder, and install dependencies wit
|
||||||
pip3 install -r install\requirements-windows.txt
|
pip3 install -r install\requirements-windows.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Download and install Qt5 from https://www.qt.io/download-open-source/. I downloaded `qt-unified-windows-x86-2.0.4-online.exe`. There's no need to login to a Qt account during installation. Make sure you install the latest Qt 5.x. I installed Qt 5.7.
|
Download and install pywin32 (build 221, x86, for python 3.6) from https://sourceforge.net/projects/pywin32/files/pywin32/Build%20221/. I downloaded `pywin32-221.win32-py3.6.exe`.
|
||||||
|
|
||||||
|
Download and install Qt5 from https://www.qt.io/download-open-source/. I downloaded `qt-unified-windows-x86-3.0.2-online.exe`. There's no need to login to a Qt account during installation. Make sure you install the latest Qt 5.x. I installed Qt 5.10.0.
|
||||||
|
|
||||||
After that you can try both the CLI and the GUI version of OnionShare:
|
After that you can try both the CLI and the GUI version of OnionShare:
|
||||||
|
|
||||||
|
@ -102,32 +106,30 @@ Add the following directories to the path:
|
||||||
|
|
||||||
* `C:\Program Files (x86)\Windows Kits\10\bin\x86`
|
* `C:\Program Files (x86)\Windows Kits\10\bin\x86`
|
||||||
* `C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86`
|
* `C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86`
|
||||||
* `C:\Users\user\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\PyQt5\Qt\bin`
|
* `C:\Users\user\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\PyQt5\Qt\bin`
|
||||||
* `C:\Program Files (x86)\7-Zip`
|
* `C:\Program Files (x86)\7-Zip`
|
||||||
|
|
||||||
If you want to build the installer:
|
If you want to build the installer:
|
||||||
|
|
||||||
* Go to http://nsis.sourceforge.net/Download and download the latest NSIS. I downloaded `nsis-3.01-setup.exe`.
|
* Go to http://nsis.sourceforge.net/Download and download the latest NSIS. I downloaded `nsis-3.02.1-setup.exe`.
|
||||||
* Add `C:\Program Files (x86)\NSIS` to the path.
|
* Add `C:\Program Files (x86)\NSIS` to the path.
|
||||||
|
|
||||||
If you want to sign binaries with Authenticode:
|
If you want to sign binaries with Authenticode:
|
||||||
|
|
||||||
* You'll need a code signing certificate. I roughly followed [this guide](http://blog.assarbad.net/20110513/startssl-code-signing-certificate/) to make one using my StartSSL account.
|
* You'll need a code signing certificate. I got an open source code signing certificate from [Certum](https://www.certum.eu/certum/cert,offer_en_open_source_cs.xml).
|
||||||
* Once you get a code signing key and certificate and covert it to a pfx file, import it into your certificate store.
|
* Once you get a code signing key and certificate and covert it to a pfx file, import it into your certificate store.
|
||||||
|
|
||||||
### To make a .exe:
|
### To make a .exe:
|
||||||
|
|
||||||
For PyInstaller to work, you might need to edit `Scripts\pyinstaller-script.py` in your Python 3.5 folder, to work around [this bug](https://stackoverflow.com/questions/31808180/installing-pyinstaller-via-pip-leads-to-failed-to-create-process) in pip.
|
|
||||||
|
|
||||||
* Open a command prompt, cd into the onionshare directory, and type: `pyinstaller install\pyinstaller.spec`. `onionshare-gui.exe` and all of their supporting files will get created inside the `dist` folder.
|
* Open a command prompt, cd into the onionshare directory, and type: `pyinstaller install\pyinstaller.spec`. `onionshare-gui.exe` and all of their supporting files will get created inside the `dist` folder.
|
||||||
|
|
||||||
### To build the installer:
|
### To build the installer:
|
||||||
|
|
||||||
Note that you must have a codesigning certificate installed in order to use the `install\build_exe.bat` script, because it codesigns `onionshare-gui.exe`, `uninstall.exe`, and `OnionShare_Setup.exe`.
|
Note that you must have a codesigning certificate installed in order to use the `install\build_exe.bat` script, because it codesigns `onionshare-gui.exe`, `uninstall.exe`, and `onionshare-setup.exe`.
|
||||||
|
|
||||||
Open a command prompt, cd to the onionshare directory, and type: `install\build_exe.bat`
|
Open a command prompt, cd to the onionshare directory, and type: `install\build_exe.bat`
|
||||||
|
|
||||||
This will prompt you to codesign three binaries and execute one unsigned binary. When you're done clicking through everything you will have `dist\OnionShare_Setup.exe`.
|
This will prompt you to codesign three binaries and execute one unsigned binary. When you're done clicking through everything you will have `dist\onionshare-setup.exe`.
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@ python install\get-tor-windows.py
|
||||||
REM sign onionshare-gui.exe
|
REM sign onionshare-gui.exe
|
||||||
signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\onionshare\onionshare-gui.exe
|
signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\onionshare\onionshare-gui.exe
|
||||||
|
|
||||||
REM build an installer, dist\OnionShare_Setup.exe
|
REM build an installer, dist\onionshare-setup.exe
|
||||||
makensis.exe install\onionshare.nsi
|
makensis.exe install\onionshare.nsi
|
||||||
|
|
||||||
REM sign OnionShare_Setup.exe
|
REM sign onionshare-setup.exe
|
||||||
signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\OnionShare_Setup.exe
|
signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\onionshare-setup.exe
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
@ -36,7 +36,9 @@ def arg_parser():
|
||||||
p.add_argument('-d', default='.', help='onionshare directory',
|
p.add_argument('-d', default='.', help='onionshare directory',
|
||||||
metavar='ONIONSHARE_DIR', dest='onionshare_dir')
|
metavar='ONIONSHARE_DIR', dest='onionshare_dir')
|
||||||
p.add_argument('--show-all-keys', action='store_true',
|
p.add_argument('--show-all-keys', action='store_true',
|
||||||
help='show translation key in source and exit')
|
help='show translation key in source and exit'),
|
||||||
|
p.add_argument('-l', default='all', help='language code (default: all)',
|
||||||
|
metavar='LANG_CODE', dest='lang_code')
|
||||||
return p
|
return p
|
||||||
|
|
||||||
|
|
||||||
|
@ -54,7 +56,8 @@ def main():
|
||||||
|
|
||||||
src = files_in(dir, 'onionshare') + files_in(dir, 'onionshare_gui')
|
src = files_in(dir, 'onionshare') + files_in(dir, 'onionshare_gui')
|
||||||
pysrc = [p for p in src if p.endswith('.py')]
|
pysrc = [p for p in src if p.endswith('.py')]
|
||||||
htmlsrc = [p for p in src if p.endswith('.html')]
|
|
||||||
|
lang_code = args.lang_code
|
||||||
|
|
||||||
translate_keys = set()
|
translate_keys = set()
|
||||||
# load translate key from python source
|
# load translate key from python source
|
||||||
|
@ -67,20 +70,15 @@ def main():
|
||||||
key = arg.split(',')[0].strip('''"' ''')
|
key = arg.split(',')[0].strip('''"' ''')
|
||||||
translate_keys.add(key)
|
translate_keys.add(key)
|
||||||
|
|
||||||
# load translate key from html source
|
|
||||||
for line in fileinput.input(htmlsrc, openhook=fileinput.hook_encoded('utf-8')):
|
|
||||||
# search `{{strings.translate_key}}`
|
|
||||||
m = re.search(r'{{.*strings\.([-a-zA-Z0-9_]+).*}}', line)
|
|
||||||
if m:
|
|
||||||
key = m.group(1)
|
|
||||||
translate_keys.add(key)
|
|
||||||
|
|
||||||
if args.show_all_keys:
|
if args.show_all_keys:
|
||||||
for k in sorted(translate_keys):
|
for k in sorted(translate_keys):
|
||||||
print k
|
print(k)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
locale_files = [f for f in files_in(dir, 'locale') if f.endswith('.json')]
|
if lang_code == 'all':
|
||||||
|
locale_files = [f for f in files_in(dir, 'share/locale') if f.endswith('.json')]
|
||||||
|
else:
|
||||||
|
locale_files = [f for f in files_in(dir, 'share/locale') if f.endswith('%s.json' % lang_code)]
|
||||||
for locale_file in locale_files:
|
for locale_file in locale_files:
|
||||||
with codecs.open(locale_file, 'r', encoding='utf-8') as f:
|
with codecs.open(locale_file, 'r', encoding='utf-8') as f:
|
||||||
trans = json.load(f)
|
trans = json.load(f)
|
||||||
|
@ -92,10 +90,10 @@ def main():
|
||||||
|
|
||||||
locale, ext = os.path.splitext(os.path.basename(locale_file))
|
locale, ext = os.path.splitext(os.path.basename(locale_file))
|
||||||
for k in sorted(disused):
|
for k in sorted(disused):
|
||||||
print locale, 'disused', k
|
print(locale, 'disused', k)
|
||||||
|
|
||||||
for k in sorted(lacked):
|
for k in sorted(lacked):
|
||||||
print locale, 'lacked', k
|
print(locale, 'lacked', k)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
|
@ -1,412 +1,467 @@
|
||||||
!define APPNAME "OnionShare"
|
!define APPNAME "OnionShare"
|
||||||
!define BINPATH "..\dist\onionshare"
|
!define BINPATH "..\dist\onionshare"
|
||||||
!define ABOUTURL "https:\\onionshare.org\"
|
!define ABOUTURL "https:\\onionshare.org\"
|
||||||
|
|
||||||
# change these with each release
|
# change these with each release
|
||||||
!define INSTALLSIZE 54112
|
!define INSTALLSIZE 54112
|
||||||
!define VERSIONMAJOR 1
|
!define VERSIONMAJOR 1
|
||||||
!define VERSIONMINOR 1
|
!define VERSIONMINOR 1
|
||||||
!define VERSIONSTRING "1.1"
|
!define VERSIONSTRING "1.1"
|
||||||
|
|
||||||
RequestExecutionLevel admin
|
RequestExecutionLevel admin
|
||||||
|
|
||||||
Name "OnionShare"
|
Name "OnionShare"
|
||||||
InstallDir "$PROGRAMFILES\${APPNAME}"
|
InstallDir "$PROGRAMFILES\${APPNAME}"
|
||||||
Icon "onionshare.ico"
|
Icon "onionshare.ico"
|
||||||
|
|
||||||
!include LogicLib.nsh
|
!include LogicLib.nsh
|
||||||
|
|
||||||
Page directory
|
Page directory
|
||||||
Page instfiles
|
Page instfiles
|
||||||
|
|
||||||
!macro VerifyUserIsAdmin
|
!macro VerifyUserIsAdmin
|
||||||
UserInfo::GetAccountType
|
UserInfo::GetAccountType
|
||||||
pop $0
|
pop $0
|
||||||
${If} $0 != "admin" ;Require admin rights on NT4+
|
${If} $0 != "admin" ;Require admin rights on NT4+
|
||||||
messageBox mb_iconstop "Administrator rights required!"
|
messageBox mb_iconstop "Administrator rights required!"
|
||||||
setErrorLevel 740 ;ERROR_ELEVATION_REQUIRED
|
setErrorLevel 740 ;ERROR_ELEVATION_REQUIRED
|
||||||
quit
|
quit
|
||||||
${EndIf}
|
${EndIf}
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
# in order to code sign uninstall.exe, we need to do some hacky stuff outlined
|
# in order to code sign uninstall.exe, we need to do some hacky stuff outlined
|
||||||
# here: http:\\nsis.sourceforge.net\Signing_an_Uninstaller
|
# here: http:\\nsis.sourceforge.net\Signing_an_Uninstaller
|
||||||
!ifdef INNER
|
!ifdef INNER
|
||||||
!echo "Creating uninstall.exe"
|
!echo "Creating uninstall.exe"
|
||||||
OutFile "$%TEMP%\tempinstaller.exe"
|
OutFile "$%TEMP%\tempinstaller.exe"
|
||||||
SetCompress off
|
SetCompress off
|
||||||
!else
|
!else
|
||||||
!echo "Creating normal installer"
|
!echo "Creating normal installer"
|
||||||
!system "makensis.exe /DINNER onionshare.nsi" = 0
|
!system "makensis.exe /DINNER onionshare.nsi" = 0
|
||||||
!system "$%TEMP%\tempinstaller.exe" = 2
|
!system "$%TEMP%\tempinstaller.exe" = 2
|
||||||
!system "signtool.exe sign /v /d $\"Uninstall OnionShare$\" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 $%TEMP%\uninstall.exe" = 0
|
!system "signtool.exe sign /v /d $\"Uninstall OnionShare$\" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 $%TEMP%\uninstall.exe" = 0
|
||||||
|
|
||||||
# all done, now we can build the real installer
|
# all done, now we can build the real installer
|
||||||
OutFile "..\dist\OnionShare_Setup.exe"
|
OutFile "..\dist\onionshare-setup.exe"
|
||||||
SetCompressor /FINAL /SOLID lzma
|
SetCompressor /FINAL /SOLID lzma
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
Function .onInit
|
Function .onInit
|
||||||
!ifdef INNER
|
!ifdef INNER
|
||||||
WriteUninstaller "$%TEMP%\uninstall.exe"
|
WriteUninstaller "$%TEMP%\uninstall.exe"
|
||||||
Quit # bail out early
|
Quit # bail out early
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
setShellVarContext all
|
setShellVarContext all
|
||||||
!insertmacro VerifyUserIsAdmin
|
!insertmacro VerifyUserIsAdmin
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
Section "install"
|
Section "install"
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
File "onionshare.ico"
|
File "onionshare.ico"
|
||||||
File "${BINPATH}\api-ms-win-core-console-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-console-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-datetime-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-datetime-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-debug-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-debug-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-errorhandling-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-errorhandling-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-file-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-file-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-file-l1-2-0.dll"
|
File "${BINPATH}\api-ms-win-core-file-l1-2-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-file-l2-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-file-l2-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-handle-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-handle-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-heap-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-heap-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-interlocked-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-interlocked-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-libraryloader-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-libraryloader-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-localization-l1-2-0.dll"
|
File "${BINPATH}\api-ms-win-core-localization-l1-2-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-memory-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-memory-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-namedpipe-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-namedpipe-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-processenvironment-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-processenvironment-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-processthreads-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-processthreads-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-processthreads-l1-1-1.dll"
|
File "${BINPATH}\api-ms-win-core-processthreads-l1-1-1.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-profile-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-profile-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-rtlsupport-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-rtlsupport-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-string-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-string-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-synch-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-synch-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-synch-l1-2-0.dll"
|
File "${BINPATH}\api-ms-win-core-synch-l1-2-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-sysinfo-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-sysinfo-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-timezone-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-timezone-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-core-util-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-core-util-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-conio-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-conio-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-convert-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-convert-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-environment-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-environment-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-filesystem-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-filesystem-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-heap-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-heap-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-locale-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-locale-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-math-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-math-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-multibyte-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-multibyte-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-process-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-process-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-runtime-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-runtime-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-stdio-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-stdio-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-string-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-string-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-time-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-time-l1-1-0.dll"
|
||||||
File "${BINPATH}\api-ms-win-crt-utility-l1-1-0.dll"
|
File "${BINPATH}\api-ms-win-crt-utility-l1-1-0.dll"
|
||||||
File "${BINPATH}\base_library.zip"
|
File "${BINPATH}\base_library.zip"
|
||||||
File "${BINPATH}\MSVCP140.dll"
|
File "${BINPATH}\mfc140u.dll"
|
||||||
File "${BINPATH}\MSVCR100.dll"
|
File "${BINPATH}\MSVCP140.dll"
|
||||||
File "${BINPATH}\onionshare-gui.exe"
|
File "${BINPATH}\onionshare-gui.exe"
|
||||||
File "${BINPATH}\onionshare-gui.exe.manifest"
|
File "${BINPATH}\onionshare-gui.exe.manifest"
|
||||||
File "${BINPATH}\pyexpat.pyd"
|
File "${BINPATH}\pyexpat.pyd"
|
||||||
File "${BINPATH}\PyQt5.Qt.pyd"
|
File "${BINPATH}\PyQt5.Qt.pyd"
|
||||||
File "${BINPATH}\PyQt5.QtCore.pyd"
|
File "${BINPATH}\PyQt5.QtCore.pyd"
|
||||||
File "${BINPATH}\PyQt5.QtGui.pyd"
|
File "${BINPATH}\PyQt5.QtGui.pyd"
|
||||||
File "${BINPATH}\PyQt5.QtPrintSupport.pyd"
|
File "${BINPATH}\PyQt5.QtPrintSupport.pyd"
|
||||||
File "${BINPATH}\PyQt5.QtWidgets.pyd"
|
File "${BINPATH}\PyQt5.QtWidgets.pyd"
|
||||||
File "${BINPATH}\python3.dll"
|
File "${BINPATH}\python3.dll"
|
||||||
File "${BINPATH}\python35.dll"
|
File "${BINPATH}\python36.dll"
|
||||||
File "${BINPATH}\pywintypes35.dll"
|
File "${BINPATH}\pythoncom36.dll"
|
||||||
File "${BINPATH}\Qt5Core.dll"
|
File "${BINPATH}\pywintypes36.dll"
|
||||||
File "${BINPATH}\Qt5Gui.dll"
|
File "${BINPATH}\Qt5Core.dll"
|
||||||
File "${BINPATH}\Qt5PrintSupport.dll"
|
File "${BINPATH}\Qt5Gui.dll"
|
||||||
File "${BINPATH}\Qt5Svg.dll"
|
File "${BINPATH}\Qt5PrintSupport.dll"
|
||||||
File "${BINPATH}\Qt5Widgets.dll"
|
File "${BINPATH}\Qt5Svg.dll"
|
||||||
File "${BINPATH}\select.pyd"
|
File "${BINPATH}\Qt5Widgets.dll"
|
||||||
File "${BINPATH}\sip.pyd"
|
File "${BINPATH}\select.pyd"
|
||||||
File "${BINPATH}\ucrtbase.dll"
|
File "${BINPATH}\sip.pyd"
|
||||||
File "${BINPATH}\unicodedata.pyd"
|
File "${BINPATH}\ucrtbase.dll"
|
||||||
File "${BINPATH}\VCRUNTIME140.dll"
|
File "${BINPATH}\unicodedata.pyd"
|
||||||
File "${BINPATH}\win32wnet.pyd"
|
File "${BINPATH}\VCRUNTIME140.dll"
|
||||||
File "${BINPATH}\_bz2.pyd"
|
File "${BINPATH}\win32api.pyd"
|
||||||
File "${BINPATH}\_ctypes.pyd"
|
File "${BINPATH}\win32com.shell.shell.pyd"
|
||||||
File "${BINPATH}\_decimal.pyd"
|
File "${BINPATH}\win32trace.pyd"
|
||||||
File "${BINPATH}\_hashlib.pyd"
|
File "${BINPATH}\win32ui.pyd"
|
||||||
File "${BINPATH}\_lzma.pyd"
|
File "${BINPATH}\win32wnet.pyd"
|
||||||
File "${BINPATH}\_multiprocessing.pyd"
|
File "${BINPATH}\_asyncio.pyd"
|
||||||
File "${BINPATH}\_socket.pyd"
|
File "${BINPATH}\_bz2.pyd"
|
||||||
File "${BINPATH}\_ssl.pyd"
|
File "${BINPATH}\_ctypes.pyd"
|
||||||
|
File "${BINPATH}\_decimal.pyd"
|
||||||
SetOutPath "$INSTDIR\Include"
|
File "${BINPATH}\_hashlib.pyd"
|
||||||
File "${BINPATH}\Include\pyconfig.h"
|
File "${BINPATH}\_lzma.pyd"
|
||||||
|
File "${BINPATH}\_multiprocessing.pyd"
|
||||||
SetOutPath "$INSTDIR\lib2to3"
|
File "${BINPATH}\_overlapped.pyd"
|
||||||
File "${BINPATH}\lib2to3\Grammar.txt"
|
File "${BINPATH}\_socket.pyd"
|
||||||
File "${BINPATH}\lib2to3\Grammar3.5.2.final.0.pickle"
|
File "${BINPATH}\_ssl.pyd"
|
||||||
File "${BINPATH}\lib2to3\PatternGrammar.txt"
|
File "${BINPATH}\_win32sysloader.pyd"
|
||||||
File "${BINPATH}\lib2to3\PatternGrammar3.5.2.final.0.pickle"
|
|
||||||
|
SetOutPath "$INSTDIR\Include"
|
||||||
SetOutPath "$INSTDIR\share"
|
File "${BINPATH}\Include\pyconfig.h"
|
||||||
File "${BINPATH}\share\license.txt"
|
|
||||||
File "${BINPATH}\share\version.txt"
|
SetOutPath "$INSTDIR\lib2to3"
|
||||||
File "${BINPATH}\share\wordlist.txt"
|
File "${BINPATH}\lib2to3\Grammar.txt"
|
||||||
File "${BINPATH}\share\torrc_template-windows"
|
File "${BINPATH}\lib2to3\Grammar3.6.2.candidate.2.pickle"
|
||||||
File "${BINPATH}\share\torrc_template-obfs4"
|
File "${BINPATH}\lib2to3\Grammar3.6.2.final.0.pickle"
|
||||||
|
File "${BINPATH}\lib2to3\Grammar3.6.3.candidate.1.pickle"
|
||||||
SetOutPath "$INSTDIR\share\html"
|
File "${BINPATH}\lib2to3\Grammar3.6.3.final.0.pickle"
|
||||||
File "${BINPATH}\share\html\404.html"
|
File "${BINPATH}\lib2to3\Grammar3.6.4.candidate.1.pickle"
|
||||||
File "${BINPATH}\share\html\denied.html"
|
File "${BINPATH}\lib2to3\Grammar3.6.4.final.0.pickle"
|
||||||
File "${BINPATH}\share\html\index.html"
|
File "${BINPATH}\lib2to3\PatternGrammar.txt"
|
||||||
|
File "${BINPATH}\lib2to3\PatternGrammar3.6.2.candidate.2.pickle"
|
||||||
SetOutPath "$INSTDIR\share\images"
|
File "${BINPATH}\lib2to3\PatternGrammar3.6.2.final.0.pickle"
|
||||||
File "${BINPATH}\share\images\drop_files.png"
|
File "${BINPATH}\lib2to3\PatternGrammar3.6.3.candidate.1.pickle"
|
||||||
File "${BINPATH}\share\images\logo.png"
|
File "${BINPATH}\lib2to3\PatternGrammar3.6.3.final.0.pickle"
|
||||||
File "${BINPATH}\share\images\server_started.png"
|
File "${BINPATH}\lib2to3\PatternGrammar3.6.4.candidate.1.pickle"
|
||||||
File "${BINPATH}\share\images\server_stopped.png"
|
File "${BINPATH}\lib2to3\PatternGrammar3.6.4.final.0.pickle"
|
||||||
File "${BINPATH}\share\images\server_working.png"
|
|
||||||
File "${BINPATH}\share\images\settings.png"
|
SetOutPath "$INSTDIR\lib2to3\tests\data"
|
||||||
|
File "${BINPATH}\lib2to3\tests\data\README"
|
||||||
SetOutPath "$INSTDIR\share\locale"
|
|
||||||
File "${BINPATH}\share\locale\cs.json"
|
SetOutPath "$INSTDIR\PyQt5\Qt\bin"
|
||||||
File "${BINPATH}\share\locale\de.json"
|
File "${BINPATH}\PyQt5\Qt\bin\qt.conf"
|
||||||
File "${BINPATH}\share\locale\en.json"
|
|
||||||
File "${BINPATH}\share\locale\eo.json"
|
SetOutPath "$INSTDIR\PyQt5\Qt\plugins\iconengines"
|
||||||
File "${BINPATH}\share\locale\es.json"
|
File "${BINPATH}\PyQt5\Qt\plugins\iconengines\qsvgicon.dll"
|
||||||
File "${BINPATH}\share\locale\fi.json"
|
|
||||||
File "${BINPATH}\share\locale\fr.json"
|
SetOutPath "$INSTDIR\PyQt5\Qt\plugins\imageformats"
|
||||||
File "${BINPATH}\share\locale\it.json"
|
File "${BINPATH}\PyQt5\Qt\plugins\imageformats\qgif.dll"
|
||||||
File "${BINPATH}\share\locale\nl.json"
|
File "${BINPATH}\PyQt5\Qt\plugins\imageformats\qicns.dll"
|
||||||
File "${BINPATH}\share\locale\no.json"
|
File "${BINPATH}\PyQt5\Qt\plugins\imageformats\qico.dll"
|
||||||
File "${BINPATH}\share\locale\pt.json"
|
File "${BINPATH}\PyQt5\Qt\plugins\imageformats\qjpeg.dll"
|
||||||
File "${BINPATH}\share\locale\ru.json"
|
File "${BINPATH}\PyQt5\Qt\plugins\imageformats\qsvg.dll"
|
||||||
File "${BINPATH}\share\locale\tr.json"
|
File "${BINPATH}\PyQt5\Qt\plugins\imageformats\qtga.dll"
|
||||||
|
File "${BINPATH}\PyQt5\Qt\plugins\imageformats\qtiff.dll"
|
||||||
SetOutPath "$INSTDIR\qt5_plugins\iconengines"
|
File "${BINPATH}\PyQt5\Qt\plugins\imageformats\qwbmp.dll"
|
||||||
File "${BINPATH}\qt5_plugins\iconengines\qsvgicon.dll"
|
File "${BINPATH}\PyQt5\Qt\plugins\imageformats\qwebp.dll"
|
||||||
|
|
||||||
SetOutPath "$INSTDIR\qt5_plugins\imageformats"
|
SetOutPath "$INSTDIR\PyQt5\Qt\plugins\platforms"
|
||||||
File "${BINPATH}\qt5_plugins\imageformats\qgif.dll"
|
File "${BINPATH}\PyQt5\Qt\plugins\platforms\qminimal.dll"
|
||||||
File "${BINPATH}\qt5_plugins\imageformats\qicns.dll"
|
File "${BINPATH}\PyQt5\Qt\plugins\platforms\qoffscreen.dll"
|
||||||
File "${BINPATH}\qt5_plugins\imageformats\qico.dll"
|
File "${BINPATH}\PyQt5\Qt\plugins\platforms\qwindows.dll"
|
||||||
File "${BINPATH}\qt5_plugins\imageformats\qjpeg.dll"
|
|
||||||
File "${BINPATH}\qt5_plugins\imageformats\qsvg.dll"
|
SetOutPath "$INSTDIR\PyQt5\Qt\plugins\printsupport"
|
||||||
File "${BINPATH}\qt5_plugins\imageformats\qtga.dll"
|
File "${BINPATH}\PyQt5\Qt\plugins\printsupport\windowsprintersupport.dll"
|
||||||
File "${BINPATH}\qt5_plugins\imageformats\qtiff.dll"
|
|
||||||
File "${BINPATH}\qt5_plugins\imageformats\qwbmp.dll"
|
SetOutPath "$INSTDIR\share"
|
||||||
File "${BINPATH}\qt5_plugins\imageformats\qwebp.dll"
|
File "${BINPATH}\share\license.txt"
|
||||||
|
File "${BINPATH}\share\torrc_template"
|
||||||
SetOutPath "$INSTDIR\qt5_plugins\platforms"
|
File "${BINPATH}\share\torrc_template-windows"
|
||||||
File "${BINPATH}\qt5_plugins\platforms\qminimal.dll"
|
File "${BINPATH}\share\version.txt"
|
||||||
File "${BINPATH}\qt5_plugins\platforms\qoffscreen.dll"
|
File "${BINPATH}\share\wordlist.txt"
|
||||||
File "${BINPATH}\qt5_plugins\platforms\qwindows.dll"
|
|
||||||
|
SetOutPath "$INSTDIR\share\html"
|
||||||
SetOutPath "$INSTDIR\qt5_plugins\printsupport"
|
File "${BINPATH}\share\html\404.html"
|
||||||
File "${BINPATH}\qt5_plugins\printsupport\windowsprintersupport.dll"
|
File "${BINPATH}\share\html\denied.html"
|
||||||
|
File "${BINPATH}\share\html\index.html"
|
||||||
SetOutPath "$INSTDIR\tor\Data\Tor"
|
|
||||||
File "${BINPATH}\tor\Data\Tor\geoip"
|
SetOutPath "$INSTDIR\share\images"
|
||||||
File "${BINPATH}\tor\Data\Tor\geoip6"
|
File "${BINPATH}\share\images\drop_files.png"
|
||||||
|
File "${BINPATH}\share\images\logo.png"
|
||||||
SetOutPath "$INSTDIR\tor\Tor"
|
File "${BINPATH}\share\images\logo_grayscale.png"
|
||||||
File "${BINPATH}\tor\Tor\libeay32.dll"
|
File "${BINPATH}\share\images\server_started.png"
|
||||||
File "${BINPATH}\tor\Tor\libevent_core-2-0-5.dll"
|
File "${BINPATH}\share\images\server_stopped.png"
|
||||||
File "${BINPATH}\tor\Tor\libevent_extra-2-0-5.dll"
|
File "${BINPATH}\share\images\server_working.png"
|
||||||
File "${BINPATH}\tor\Tor\libevent-2-0-5.dll"
|
File "${BINPATH}\share\images\settings.png"
|
||||||
File "${BINPATH}\tor\Tor\libgcc_s_sjlj-1.dll"
|
File "${BINPATH}\share\images\settings_inactive.png"
|
||||||
File "${BINPATH}\tor\Tor\libssp-0.dll"
|
|
||||||
File "${BINPATH}\tor\Tor\obfs4proxy.exe"
|
SetOutPath "$INSTDIR\share\locale"
|
||||||
File "${BINPATH}\tor\Tor\ssleay32.dll"
|
File "${BINPATH}\share\locale\cs.json"
|
||||||
File "${BINPATH}\tor\Tor\tor.exe"
|
File "${BINPATH}\share\locale\de.json"
|
||||||
File "${BINPATH}\tor\Tor\zlib1.dll"
|
File "${BINPATH}\share\locale\en.json"
|
||||||
|
File "${BINPATH}\share\locale\eo.json"
|
||||||
# uninstaller
|
File "${BINPATH}\share\locale\es.json"
|
||||||
!ifndef INNER
|
File "${BINPATH}\share\locale\fi.json"
|
||||||
SetOutPath $INSTDIR
|
File "${BINPATH}\share\locale\fr.json"
|
||||||
File $%TEMP%\uninstall.exe
|
File "${BINPATH}\share\locale\it.json"
|
||||||
!endif
|
File "${BINPATH}\share\locale\nl.json"
|
||||||
|
File "${BINPATH}\share\locale\no.json"
|
||||||
# start menu
|
File "${BINPATH}\share\locale\pt.json"
|
||||||
CreateShortCut "$SMPROGRAMS\${APPNAME}.lnk" "$INSTDIR\onionshare-gui.exe" "" "$INSTDIR\onionshare.ico"
|
File "${BINPATH}\share\locale\ru.json"
|
||||||
|
File "${BINPATH}\share\locale\tr.json"
|
||||||
# registry information for add\remove programs
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME}"
|
SetOutPath "$INSTDIR\tor\Data\Tor"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
|
File "${BINPATH}\tor\Data\Tor\geoip"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" \S"
|
File "${BINPATH}\tor\Data\Tor\geoip6"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "InstallLocation" "$\"$INSTDIR$\""
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayIcon" "$\"$INSTDIR\onionshare.ico$\""
|
SetOutPath "$INSTDIR\tor\Tor"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "URLInfoAbout" "$\"${ABOUTURL}$\""
|
File "${BINPATH}\tor\Tor\libeay32.dll"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayVersion" ${VERSIONSTRING}
|
File "${BINPATH}\tor\Tor\libevent-2-0-5.dll"
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "VersionMajor" ${VERSIONMAJOR}
|
File "${BINPATH}\tor\Tor\libevent_core-2-0-5.dll"
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "VersionMinor" ${VERSIONMINOR}
|
File "${BINPATH}\tor\Tor\libevent_extra-2-0-5.dll"
|
||||||
# there is no option for modifying or repairing the install
|
File "${BINPATH}\tor\Tor\libgcc_s_sjlj-1.dll"
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "NoModify" 1
|
File "${BINPATH}\tor\Tor\libssp-0.dll"
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "NoRepair" 1
|
File "${BINPATH}\tor\Tor\obfs4proxy.exe"
|
||||||
# set the INSTALLSIZE constant (!defined at the top of this script) so Add\Remove Programs can accurately report the size
|
File "${BINPATH}\tor\Tor\ssleay32.dll"
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "EstimatedSize" ${INSTALLSIZE}
|
File "${BINPATH}\tor\Tor\tor.exe"
|
||||||
SectionEnd
|
File "${BINPATH}\tor\Tor\zlib1.dll"
|
||||||
|
|
||||||
# uninstaller
|
# uninstaller
|
||||||
Function un.onInit
|
!ifndef INNER
|
||||||
SetShellVarContext all
|
SetOutPath $INSTDIR
|
||||||
|
File $%TEMP%\uninstall.exe
|
||||||
#Verify the uninstaller - last chance to back out
|
!endif
|
||||||
MessageBox MB_OKCANCEL "Uninstall ${APPNAME}?" IDOK next
|
|
||||||
Abort
|
# start menu
|
||||||
next:
|
CreateShortCut "$SMPROGRAMS\${APPNAME}.lnk" "$INSTDIR\onionshare-gui.exe" "" "$INSTDIR\onionshare.ico"
|
||||||
!insertmacro VerifyUserIsAdmin
|
|
||||||
FunctionEnd
|
# registry information for add\remove programs
|
||||||
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME}"
|
||||||
!ifdef INNER
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
|
||||||
Section "uninstall"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" \S"
|
||||||
Delete "$SMPROGRAMS\${APPNAME}.lnk"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "InstallLocation" "$\"$INSTDIR$\""
|
||||||
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayIcon" "$\"$INSTDIR\onionshare.ico$\""
|
||||||
# remove files
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "URLInfoAbout" "$\"${ABOUTURL}$\""
|
||||||
Delete "$INSTDIR\api-ms-win-core-console-l1-1-0.dll"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayVersion" ${VERSIONSTRING}
|
||||||
Delete "$INSTDIR\api-ms-win-core-datetime-l1-1-0.dll"
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "VersionMajor" ${VERSIONMAJOR}
|
||||||
Delete "$INSTDIR\api-ms-win-core-debug-l1-1-0.dll"
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "VersionMinor" ${VERSIONMINOR}
|
||||||
Delete "$INSTDIR\api-ms-win-core-errorhandling-l1-1-0.dll"
|
# there is no option for modifying or repairing the install
|
||||||
Delete "$INSTDIR\api-ms-win-core-file-l1-1-0.dll"
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "NoModify" 1
|
||||||
Delete "$INSTDIR\api-ms-win-core-file-l1-2-0.dll"
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "NoRepair" 1
|
||||||
Delete "$INSTDIR\api-ms-win-core-file-l2-1-0.dll"
|
# set the INSTALLSIZE constant (!defined at the top of this script) so Add\Remove Programs can accurately report the size
|
||||||
Delete "$INSTDIR\api-ms-win-core-handle-l1-1-0.dll"
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "EstimatedSize" ${INSTALLSIZE}
|
||||||
Delete "$INSTDIR\api-ms-win-core-heap-l1-1-0.dll"
|
SectionEnd
|
||||||
Delete "$INSTDIR\api-ms-win-core-interlocked-l1-1-0.dll"
|
|
||||||
Delete "$INSTDIR\api-ms-win-core-libraryloader-l1-1-0.dll"
|
# uninstaller
|
||||||
Delete "$INSTDIR\api-ms-win-core-localization-l1-2-0.dll"
|
Function un.onInit
|
||||||
Delete "$INSTDIR\api-ms-win-core-memory-l1-1-0.dll"
|
SetShellVarContext all
|
||||||
Delete "$INSTDIR\api-ms-win-core-namedpipe-l1-1-0.dll"
|
|
||||||
Delete "$INSTDIR\api-ms-win-core-processenvironment-l1-1-0.dll"
|
#Verify the uninstaller - last chance to back out
|
||||||
Delete "$INSTDIR\api-ms-win-core-processthreads-l1-1-0.dll"
|
MessageBox MB_OKCANCEL "Uninstall ${APPNAME}?" IDOK next
|
||||||
Delete "$INSTDIR\api-ms-win-core-processthreads-l1-1-1.dll"
|
Abort
|
||||||
Delete "$INSTDIR\api-ms-win-core-profile-l1-1-0.dll"
|
next:
|
||||||
Delete "$INSTDIR\api-ms-win-core-rtlsupport-l1-1-0.dll"
|
!insertmacro VerifyUserIsAdmin
|
||||||
Delete "$INSTDIR\api-ms-win-core-string-l1-1-0.dll"
|
FunctionEnd
|
||||||
Delete "$INSTDIR\api-ms-win-core-synch-l1-1-0.dll"
|
|
||||||
Delete "$INSTDIR\api-ms-win-core-synch-l1-2-0.dll"
|
!ifdef INNER
|
||||||
Delete "$INSTDIR\api-ms-win-core-sysinfo-l1-1-0.dll"
|
Section "uninstall"
|
||||||
Delete "$INSTDIR\api-ms-win-core-timezone-l1-1-0.dll"
|
Delete "$SMPROGRAMS\${APPNAME}.lnk"
|
||||||
Delete "$INSTDIR\api-ms-win-core-util-l1-1-0.dll"
|
|
||||||
Delete "$INSTDIR\api-ms-win-crt-conio-l1-1-0.dll"
|
# remove files
|
||||||
Delete "$INSTDIR\api-ms-win-crt-convert-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-console-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-environment-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-datetime-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-filesystem-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-debug-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-heap-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-errorhandling-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-locale-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-file-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-math-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-file-l1-2-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-multibyte-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-file-l2-1-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-process-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-handle-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-runtime-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-heap-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-stdio-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-interlocked-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-string-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-libraryloader-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-time-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-localization-l1-2-0.dll"
|
||||||
Delete "$INSTDIR\api-ms-win-crt-utility-l1-1-0.dll"
|
Delete "$INSTDIR\api-ms-win-core-memory-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\base_library.zip"
|
Delete "$INSTDIR\api-ms-win-core-namedpipe-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\MSVCP140.dll"
|
Delete "$INSTDIR\api-ms-win-core-processenvironment-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\MSVCR100.dll"
|
Delete "$INSTDIR\api-ms-win-core-processthreads-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\onionshare-gui.exe"
|
Delete "$INSTDIR\api-ms-win-core-processthreads-l1-1-1.dll"
|
||||||
Delete "$INSTDIR\onionshare-gui.exe.manifest"
|
Delete "$INSTDIR\api-ms-win-core-profile-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\pyexpat.pyd"
|
Delete "$INSTDIR\api-ms-win-core-rtlsupport-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\PyQt5.Qt.pyd"
|
Delete "$INSTDIR\api-ms-win-core-string-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\PyQt5.QtCore.pyd"
|
Delete "$INSTDIR\api-ms-win-core-synch-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\PyQt5.QtGui.pyd"
|
Delete "$INSTDIR\api-ms-win-core-synch-l1-2-0.dll"
|
||||||
Delete "$INSTDIR\PyQt5.QtPrintSupport.pyd"
|
Delete "$INSTDIR\api-ms-win-core-sysinfo-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\PyQt5.QtWidgets.pyd"
|
Delete "$INSTDIR\api-ms-win-core-timezone-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\python3.dll"
|
Delete "$INSTDIR\api-ms-win-core-util-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\python35.dll"
|
Delete "$INSTDIR\api-ms-win-crt-conio-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\pywintypes35.dll"
|
Delete "$INSTDIR\api-ms-win-crt-convert-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\Qt5Core.dll"
|
Delete "$INSTDIR\api-ms-win-crt-environment-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\Qt5Gui.dll"
|
Delete "$INSTDIR\api-ms-win-crt-filesystem-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\Qt5PrintSupport.dll"
|
Delete "$INSTDIR\api-ms-win-crt-heap-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\Qt5Svg.dll"
|
Delete "$INSTDIR\api-ms-win-crt-locale-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\Qt5Widgets.dll"
|
Delete "$INSTDIR\api-ms-win-crt-math-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\select.pyd"
|
Delete "$INSTDIR\api-ms-win-crt-multibyte-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\sip.pyd"
|
Delete "$INSTDIR\api-ms-win-crt-process-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\ucrtbase.dll"
|
Delete "$INSTDIR\api-ms-win-crt-runtime-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\unicodedata.pyd"
|
Delete "$INSTDIR\api-ms-win-crt-stdio-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\VCRUNTIME140.dll"
|
Delete "$INSTDIR\api-ms-win-crt-string-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\win32wnet.pyd"
|
Delete "$INSTDIR\api-ms-win-crt-time-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\_bz2.pyd"
|
Delete "$INSTDIR\api-ms-win-crt-utility-l1-1-0.dll"
|
||||||
Delete "$INSTDIR\_ctypes.pyd"
|
Delete "$INSTDIR\base_library.zip"
|
||||||
Delete "$INSTDIR\_decimal.pyd"
|
Delete "$INSTDIR\Include\pyconfig.h"
|
||||||
Delete "$INSTDIR\_hashlib.pyd"
|
Delete "$INSTDIR\lib2to3\Grammar.txt"
|
||||||
Delete "$INSTDIR\_lzma.pyd"
|
Delete "$INSTDIR\lib2to3\Grammar3.6.2.candidate.2.pickle"
|
||||||
Delete "$INSTDIR\_multiprocessing.pyd"
|
Delete "$INSTDIR\lib2to3\Grammar3.6.2.final.0.pickle"
|
||||||
Delete "$INSTDIR\_socket.pyd"
|
Delete "$INSTDIR\lib2to3\Grammar3.6.3.candidate.1.pickle"
|
||||||
Delete "$INSTDIR\_ssl.pyd"
|
Delete "$INSTDIR\lib2to3\Grammar3.6.3.final.0.pickle"
|
||||||
Delete "$INSTDIR\Include\pyconfig.h"
|
Delete "$INSTDIR\lib2to3\Grammar3.6.4.candidate.1.pickle"
|
||||||
Delete "$INSTDIR\lib2to3\Grammar.txt"
|
Delete "$INSTDIR\lib2to3\Grammar3.6.4.final.0.pickle"
|
||||||
Delete "$INSTDIR\lib2to3\Grammar3.5.2.final.0.pickle"
|
Delete "$INSTDIR\lib2to3\PatternGrammar.txt"
|
||||||
Delete "$INSTDIR\lib2to3\PatternGrammar.txt"
|
Delete "$INSTDIR\lib2to3\PatternGrammar3.6.2.candidate.2.pickle"
|
||||||
Delete "$INSTDIR\lib2to3\PatternGrammar3.5.2.final.0.pickle"
|
Delete "$INSTDIR\lib2to3\PatternGrammar3.6.2.final.0.pickle"
|
||||||
Delete "$INSTDIR\share\license.txt"
|
Delete "$INSTDIR\lib2to3\PatternGrammar3.6.3.candidate.1.pickle"
|
||||||
Delete "$INSTDIR\share\version.txt"
|
Delete "$INSTDIR\lib2to3\PatternGrammar3.6.3.final.0.pickle"
|
||||||
Delete "$INSTDIR\share\wordlist.txt"
|
Delete "$INSTDIR\lib2to3\PatternGrammar3.6.4.candidate.1.pickle"
|
||||||
Delete "$INSTDIR\share\torrc_template-windows"
|
Delete "$INSTDIR\lib2to3\PatternGrammar3.6.4.final.0.pickle"
|
||||||
Delete "$INSTDIR\share\torrc_template-obfs4"
|
Delete "$INSTDIR\lib2to3\tests"
|
||||||
Delete "$INSTDIR\share\html\404.html"
|
Delete "$INSTDIR\lib2to3\tests\data"
|
||||||
Delete "$INSTDIR\share\html\denied.html"
|
Delete "$INSTDIR\lib2to3\tests\data\README"
|
||||||
Delete "$INSTDIR\share\html\index.html"
|
Delete "$INSTDIR\mfc140u.dll"
|
||||||
Delete "$INSTDIR\share\images\drop_files.png"
|
Delete "$INSTDIR\MSVCP140.dll"
|
||||||
Delete "$INSTDIR\share\images\logo.png"
|
Delete "$INSTDIR\onionshare-gui.exe"
|
||||||
Delete "$INSTDIR\share\images\server_started.png"
|
Delete "$INSTDIR\onionshare-gui.exe.manifest"
|
||||||
Delete "$INSTDIR\share\images\server_stopped.png"
|
Delete "$INSTDIR\pyexpat.pyd"
|
||||||
Delete "$INSTDIR\share\images\server_working.png"
|
Delete "$INSTDIR\PyQt5\Qt\bin\qt.conf"
|
||||||
Delete "$INSTDIR\share\images\settings.png"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\iconengines\qsvgicon.dll"
|
||||||
Delete "$INSTDIR\share\locale\cs.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\imageformats\qgif.dll"
|
||||||
Delete "$INSTDIR\share\locale\de.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\imageformats\qicns.dll"
|
||||||
Delete "$INSTDIR\share\locale\en.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\imageformats\qico.dll"
|
||||||
Delete "$INSTDIR\share\locale\eo.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\imageformats\qjpeg.dll"
|
||||||
Delete "$INSTDIR\share\locale\es.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\imageformats\qsvg.dll"
|
||||||
Delete "$INSTDIR\share\locale\fi.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\imageformats\qtga.dll"
|
||||||
Delete "$INSTDIR\share\locale\fr.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\imageformats\qtiff.dll"
|
||||||
Delete "$INSTDIR\share\locale\it.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\imageformats\qwbmp.dll"
|
||||||
Delete "$INSTDIR\share\locale\nl.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\imageformats\qwebp.dll"
|
||||||
Delete "$INSTDIR\share\locale\no.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\platforms\qminimal.dll"
|
||||||
Delete "$INSTDIR\share\locale\pt.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\platforms\qoffscreen.dll"
|
||||||
Delete "$INSTDIR\share\locale\ru.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\platforms\qwindows.dll"
|
||||||
Delete "$INSTDIR\share\locale\tr.json"
|
Delete "$INSTDIR\PyQt5\Qt\plugins\printsupport\windowsprintersupport.dll"
|
||||||
Delete "$INSTDIR\qt5_plugins\iconengines\qsvgicon.dll"
|
Delete "$INSTDIR\PyQt5.Qt.pyd"
|
||||||
Delete "$INSTDIR\qt5_plugins\imageformats\qgif.dll"
|
Delete "$INSTDIR\PyQt5.QtCore.pyd"
|
||||||
Delete "$INSTDIR\qt5_plugins\imageformats\qicns.dll"
|
Delete "$INSTDIR\PyQt5.QtGui.pyd"
|
||||||
Delete "$INSTDIR\qt5_plugins\imageformats\qico.dll"
|
Delete "$INSTDIR\PyQt5.QtPrintSupport.pyd"
|
||||||
Delete "$INSTDIR\qt5_plugins\imageformats\qjpeg.dll"
|
Delete "$INSTDIR\PyQt5.QtWidgets.pyd"
|
||||||
Delete "$INSTDIR\qt5_plugins\imageformats\qsvg.dll"
|
Delete "$INSTDIR\python3.dll"
|
||||||
Delete "$INSTDIR\qt5_plugins\imageformats\qtga.dll"
|
Delete "$INSTDIR\python36.dll"
|
||||||
Delete "$INSTDIR\qt5_plugins\imageformats\qtiff.dll"
|
Delete "$INSTDIR\pythoncom36.dll"
|
||||||
Delete "$INSTDIR\qt5_plugins\imageformats\qwbmp.dll"
|
Delete "$INSTDIR\pywintypes36.dll"
|
||||||
Delete "$INSTDIR\qt5_plugins\imageformats\qwebp.dll"
|
Delete "$INSTDIR\Qt5Core.dll"
|
||||||
Delete "$INSTDIR\qt5_plugins\platforms\qminimal.dll"
|
Delete "$INSTDIR\Qt5Gui.dll"
|
||||||
Delete "$INSTDIR\qt5_plugins\platforms\qoffscreen.dll"
|
Delete "$INSTDIR\Qt5PrintSupport.dll"
|
||||||
Delete "$INSTDIR\qt5_plugins\platforms\qwindows.dll"
|
Delete "$INSTDIR\Qt5Svg.dll"
|
||||||
Delete "$INSTDIR\qt5_plugins\printsupport\windowsprintersupport.dll"
|
Delete "$INSTDIR\Qt5Widgets.dll"
|
||||||
Delete "$INSTDIR\tor\Data\Tor\geoip"
|
Delete "$INSTDIR\select.pyd"
|
||||||
Delete "$INSTDIR\tor\Data\Tor\geoip6"
|
Delete "$INSTDIR\share\html\404.html"
|
||||||
Delete "$INSTDIR\tor\Tor\libeay32.dll"
|
Delete "$INSTDIR\share\html\denied.html"
|
||||||
Delete "$INSTDIR\tor\Tor\libevent_core-2-0-5.dll"
|
Delete "$INSTDIR\share\html\index.html"
|
||||||
Delete "$INSTDIR\tor\Tor\libevent_extra-2-0-5.dll"
|
Delete "$INSTDIR\share\images\drop_files.png"
|
||||||
Delete "$INSTDIR\tor\Tor\libevent-2-0-5.dll"
|
Delete "$INSTDIR\share\images\logo.png"
|
||||||
Delete "$INSTDIR\tor\Tor\libgcc_s_sjlj-1.dll"
|
Delete "$INSTDIR\share\images\logo_grayscale.png"
|
||||||
Delete "$INSTDIR\tor\Tor\libssp-0.dll"
|
Delete "$INSTDIR\share\images\server_started.png"
|
||||||
Delete "$INSTDIR\tor\Tor\ssleay32.dll"
|
Delete "$INSTDIR\share\images\server_stopped.png"
|
||||||
Delete "$INSTDIR\tor\Tor\tor.exe"
|
Delete "$INSTDIR\share\images\server_working.png"
|
||||||
Delete "$INSTDIR\tor\Tor\zlib1.dll"
|
Delete "$INSTDIR\share\images\settings.png"
|
||||||
|
Delete "$INSTDIR\share\images\settings_inactive.png"
|
||||||
Delete "$INSTDIR\onionshare.ico"
|
Delete "$INSTDIR\share\license.txt"
|
||||||
Delete "$INSTDIR\uninstall.exe"
|
Delete "$INSTDIR\share\locale\cs.json"
|
||||||
|
Delete "$INSTDIR\share\locale\de.json"
|
||||||
rmDir "$INSTDIR\Include"
|
Delete "$INSTDIR\share\locale\en.json"
|
||||||
rmDir "$INSTDIR\lib2to3"
|
Delete "$INSTDIR\share\locale\eo.json"
|
||||||
rmDir "$INSTDIR\share\html"
|
Delete "$INSTDIR\share\locale\es.json"
|
||||||
rmDir "$INSTDIR\share\images"
|
Delete "$INSTDIR\share\locale\fi.json"
|
||||||
rmDir "$INSTDIR\share\locale"
|
Delete "$INSTDIR\share\locale\fr.json"
|
||||||
rmDir "$INSTDIR\share"
|
Delete "$INSTDIR\share\locale\it.json"
|
||||||
rmDir "$INSTDIR\qt5_plugins\iconengines"
|
Delete "$INSTDIR\share\locale\nl.json"
|
||||||
rmDir "$INSTDIR\qt5_plugins\imageformats"
|
Delete "$INSTDIR\share\locale\no.json"
|
||||||
rmDir "$INSTDIR\qt5_plugins\platforms"
|
Delete "$INSTDIR\share\locale\pt.json"
|
||||||
rmDir "$INSTDIR\qt5_plugins\printsupport"
|
Delete "$INSTDIR\share\locale\ru.json"
|
||||||
rmDir "$INSTDIR\qt5_plugins"
|
Delete "$INSTDIR\share\locale\tr.json"
|
||||||
rmDir "$INSTDIR\tor\Data\Tor"
|
Delete "$INSTDIR\share\torrc_template"
|
||||||
rmDir "$INSTDIR\tor\Data"
|
Delete "$INSTDIR\share\torrc_template-windows"
|
||||||
rmDir "$INSTDIR\tor\Tor"
|
Delete "$INSTDIR\share\version.txt"
|
||||||
rmDir "$INSTDIR\tor"
|
Delete "$INSTDIR\share\wordlist.txt"
|
||||||
rmDir "$INSTDIR"
|
Delete "$INSTDIR\sip.pyd"
|
||||||
|
Delete "$INSTDIR\tor\Data\Tor\geoip"
|
||||||
# remove uninstaller information from the registry
|
Delete "$INSTDIR\tor\Data\Tor\geoip6"
|
||||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
|
Delete "$INSTDIR\tor\Tor\libeay32.dll"
|
||||||
SectionEnd
|
Delete "$INSTDIR\tor\Tor\libevent-2-0-5.dll"
|
||||||
!endif
|
Delete "$INSTDIR\tor\Tor\libevent_core-2-0-5.dll"
|
||||||
|
Delete "$INSTDIR\tor\Tor\libevent_extra-2-0-5.dll"
|
||||||
|
Delete "$INSTDIR\tor\Tor\libgcc_s_sjlj-1.dll"
|
||||||
|
Delete "$INSTDIR\tor\Tor\libssp-0.dll"
|
||||||
|
Delete "$INSTDIR\tor\Tor\ssleay32.dll"
|
||||||
|
Delete "$INSTDIR\tor\Tor\tor.exe"
|
||||||
|
Delete "$INSTDIR\tor\Tor\zlib1.dll"
|
||||||
|
Delete "$INSTDIR\ucrtbase.dll"
|
||||||
|
Delete "$INSTDIR\unicodedata.pyd"
|
||||||
|
Delete "$INSTDIR\VCRUNTIME140.dll"
|
||||||
|
Delete "$INSTDIR\win32api.pyd"
|
||||||
|
Delete "$INSTDIR\win32com.shell.shell.pyd"
|
||||||
|
Delete "$INSTDIR\win32trace.pyd"
|
||||||
|
Delete "$INSTDIR\win32ui.pyd"
|
||||||
|
Delete "$INSTDIR\win32wnet.pyd"
|
||||||
|
Delete "$INSTDIR\_asyncio.pyd"
|
||||||
|
Delete "$INSTDIR\_bz2.pyd"
|
||||||
|
Delete "$INSTDIR\_ctypes.pyd"
|
||||||
|
Delete "$INSTDIR\_decimal.pyd"
|
||||||
|
Delete "$INSTDIR\_hashlib.pyd"
|
||||||
|
Delete "$INSTDIR\_lzma.pyd"
|
||||||
|
Delete "$INSTDIR\_multiprocessing.pyd"
|
||||||
|
Delete "$INSTDIR\_overlapped.pyd"
|
||||||
|
Delete "$INSTDIR\_socket.pyd"
|
||||||
|
Delete "$INSTDIR\_ssl.pyd"
|
||||||
|
Delete "$INSTDIR\_win32sysloader.pyd"
|
||||||
|
|
||||||
|
Delete "$INSTDIR\onionshare.ico"
|
||||||
|
Delete "$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
|
rmDir "$INSTDIR\Include"
|
||||||
|
rmDir "$INSTDIR\lib2to3\tests\data"
|
||||||
|
rmDir "$INSTDIR\lib2to3\tests"
|
||||||
|
rmDir "$INSTDIR\lib2to3"
|
||||||
|
rmDir "$INSTDIR\PyQt5\Qt\bin"
|
||||||
|
rmDir "$INSTDIR\PyQt5\Qt\plugins\iconengines"
|
||||||
|
rmDir "$INSTDIR\PyQt5\Qt\plugins\imageformats"
|
||||||
|
rmDir "$INSTDIR\PyQt5\Qt\plugins\platforms"
|
||||||
|
rmDir "$INSTDIR\PyQt5\Qt\plugins\printsupport"
|
||||||
|
rmDir "$INSTDIR\PyQt5\Qt\plugins"
|
||||||
|
rmDir "$INSTDIR\PyQt5\Qt"
|
||||||
|
rmDir "$INSTDIR\PyQt5"
|
||||||
|
rmDir "$INSTDIR\share\html"
|
||||||
|
rmDir "$INSTDIR\share\images"
|
||||||
|
rmDir "$INSTDIR\share\locale"
|
||||||
|
rmDir "$INSTDIR\share"
|
||||||
|
rmDir "$INSTDIR\tor\Data\Tor"
|
||||||
|
rmDir "$INSTDIR\tor\Data"
|
||||||
|
rmDir "$INSTDIR\tor\Tor"
|
||||||
|
rmDir "$INSTDIR\tor"
|
||||||
|
rmDir "$INSTDIR"
|
||||||
|
|
||||||
|
# remove uninstaller information from the registry
|
||||||
|
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
|
||||||
|
SectionEnd
|
||||||
|
!endif
|
||||||
|
|
|
@ -23,7 +23,6 @@ a = Analysis(
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=['jinja2.asyncsupport'],
|
|
||||||
win_no_prefer_redirects=False,
|
win_no_prefer_redirects=False,
|
||||||
win_private_assemblies=False,
|
win_private_assemblies=False,
|
||||||
cipher=None)
|
cipher=None)
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
click==6.7
|
click==6.7
|
||||||
Flask==0.12
|
Flask==0.12.2
|
||||||
future==0.16.0
|
future==0.16.0
|
||||||
itsdangerous==0.24
|
itsdangerous==0.24
|
||||||
Jinja2==2.9.5
|
Jinja2==2.10
|
||||||
MarkupSafe==0.23
|
MarkupSafe==1.0
|
||||||
pefile==2016.3.28
|
pefile==2017.11.5
|
||||||
PyInstaller==3.2.1
|
PyInstaller==3.3.1
|
||||||
pypiwin32==219
|
PyQt5==5.9.2
|
||||||
PyQt5==5.8
|
|
||||||
PySocks==1.6.7
|
PySocks==1.6.7
|
||||||
sip==4.19.1
|
sip==4.19.6
|
||||||
stem==1.5.4
|
stem==1.6.0
|
||||||
Werkzeug==0.11.15
|
Werkzeug==0.14.1
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
click==6.7
|
click==6.7
|
||||||
Flask==0.12
|
Flask==0.12.2
|
||||||
itsdangerous==0.24
|
itsdangerous==0.24
|
||||||
Jinja2==2.9.5
|
Jinja2==2.10
|
||||||
MarkupSafe==0.23
|
MarkupSafe==1.0
|
||||||
PyInstaller==3.2.1
|
PyInstaller==3.3.1
|
||||||
PyQt5==5.7.1
|
PyQt5==5.9.2
|
||||||
PySocks==1.6.7
|
PySocks==1.6.7
|
||||||
sip==4.19
|
sip==4.19.6
|
||||||
stem==1.5.4
|
stem==1.6.0
|
||||||
Werkzeug==0.11.15
|
Werkzeug==0.14.1
|
||||||
|
|
Loading…
Reference in a new issue