diff --git a/appveyor.yml b/appveyor.yml
index 33178e851bcdb7e631e07038b49736bdf8bc6b2a..59fa0afa974c16f5e786a622d7957d55ad05b857 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -40,7 +40,7 @@ install:
   - "set PATH=%QTDIR%\\bin;%PATH%"
 
   - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
-  - "SET QT_PLUGIN_PATH=%%QTDIR%%\\plugins"
+  - "SET QT_PLUGIN_PATH=%QTDIR%\\plugins"
   - choco install -y vcredist2015
   - "%CMD_IN_ENV% conda config --set always_yes yes --set changeps1 no"
   - "%CMD_IN_ENV% conda config --add channels inso/channel/sakia"
diff --git a/ci/appveyor/build.cmd b/ci/appveyor/build.cmd
index c8feff2410a04f4f6ad220b0204c792c0cfd658a..4eb6a091f8dc29c0a0cb0efa57655663073affb7 100644
--- a/ci/appveyor/build.cmd
+++ b/ci/appveyor/build.cmd
@@ -12,7 +12,9 @@ pyrcc5 -version
 lrelease -version
 
 pip install -r requirements.txt
-pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip
+pip install pyinstaller
+pip install six
+pip install packaging
 
 python gen_resources.py
 if %errorlevel% neq 0 exit /b 1s
diff --git a/hooks/hook-pkg_resources.py b/hooks/hook-pkg_resources.py
new file mode 100644
index 0000000000000000000000000000000000000000..1dd01e3ff6686f6e8d4d1c86eb52571ab568a3fd
--- /dev/null
+++ b/hooks/hook-pkg_resources.py
@@ -0,0 +1,12 @@
+#-----------------------------------------------------------------------------
+# Copyright (c) 2005-2016, PyInstaller Development Team.
+#
+# Distributed under the terms of the GNU General Public License with exception
+# for distributing bootloader.
+#
+# The full license is in the file COPYING.txt, distributed with this software.
+#-----------------------------------------------------------------------------
+
+
+from PyInstaller.utils.hooks import collect_submodules
+hiddenimports = collect_submodules('pkg_resources._vendor')
\ No newline at end of file
diff --git a/src/sakia/__init__.py b/src/sakia/__init__.py
index e1705a2be683bcd7775d378932907f40a55859ed..140a57a23448ce6e43141c57b558cda149f3495a 100644
--- a/src/sakia/__init__.py
+++ b/src/sakia/__init__.py
@@ -1,2 +1,2 @@
-__version_info__ = ('0', '12', 'dev1')
+__version_info__ = ('0', '12', 'dev3')
 __version__ = '.'.join(__version_info__)