diff --git a/.gitignore b/.gitignore
index 6acf428531aed1e4ce561db9bb40c93820074880..4102961a291aa8e054e3c69def9b8e66689db423 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,6 +34,7 @@
 # Build folders
 build/
 cmake-build-*/
+install*/
 
 # Clion + Intellij
 .idea/
diff --git a/appveyor.yml b/appveyor.yml
index 6c25d712946c5e65c6b660958b5eebd0887d2cd0..236185af9d2c1ebfc321c13495403949397528bb 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -25,6 +25,8 @@ environment:
     MINGW_DIR_BIN: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin
     CMAKE_C_COMPILER: C:/mingw-w64/i686-6.3.0-posix-dwarf-rt_v5-rev1/mingw32/bin/gcc.exe
     CMAKE_CXX_COMPILER: C:/mingw-w64/i686-6.3.0-posix-dwarf-rt_v5-rev1/mingw32/bin/g++.exe
+    BINTRAY_API_KEY:
+      secure: rIlpnd+V2lGd4D3H8UniaVHhzX0qmJQx4AhaKgd6pD9iFURsxu8IiM8dAWElSalo
   - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
     COMPILER: mingw
     TOOLSET: w64-mingw32
@@ -33,18 +35,24 @@ environment:
     MINGW_DIR_BIN: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
     CMAKE_C_COMPILER: C:/mingw-w64/x86_64-6.3.0-posix-seh-rt_v5-rev1/mingw64/bin/gcc.exe
     CMAKE_CXX_COMPILER: C:/mingw-w64/x86_64-6.3.0-posix-seh-rt_v5-rev1/mingw64/bin/g++.exe
+    BINTRAY_API_KEY:
+      secure: rIlpnd+V2lGd4D3H8UniaVHhzX0qmJQx4AhaKgd6pD9iFURsxu8IiM8dAWElSalo
   - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
     COMPILER: msvc
     MINGW_DIR_BIN: ''
     TOOLSET: vc15
     ARCH: win32
     GENERATOR: '"Visual Studio 15 2017"'
+    BINTRAY_API_KEY:
+      secure: rIlpnd+V2lGd4D3H8UniaVHhzX0qmJQx4AhaKgd6pD9iFURsxu8IiM8dAWElSalo
   - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
     COMPILER: msvc
     MINGW_DIR_BIN: ''
     TOOLSET: vc15
     ARCH: win64
     GENERATOR: '"Visual Studio 15 2017 Win64"'
+    BINTRAY_API_KEY:
+      secure: rIlpnd+V2lGd4D3H8UniaVHhzX0qmJQx4AhaKgd6pD9iFURsxu8IiM8dAWElSalo
 
 #---------------------------------#
 #            steps                #
@@ -66,7 +74,8 @@ build_script:
 - cmd: if [%COMPILER%]==[msvc] (cd build & cmake --build . --target INSTALL --config Debug || exit 1 & cd ..)
 - cmd: if [%COMPILER%]==[msvc] (cd build & cmake --build . --target INSTALL --config MinSizeRel || exit 1 & cd ..)
 - ps: $env:GITHUB_REPO_TAG = git describe
-- ps: 7z.exe a rew-windows-$env:GITHUB_REPO_TAG.zip .\install\*
+- ps: 7z.exe a rew-windows-$env:ARCH-$env:TOOLSET.zip .\install\*
+- ps: publish.bat rew-windows-$env:ARCH-$env:TOOLSET.zip $env:GITHUB_REPO_TAG
 
 test_script:
 - cmd: if [%COMPILER%]==[mingw] (cd build-debug & ctest --verbose --output-on-failure || exit 1 & cd ..)
diff --git a/publish.bat b/publish.bat
new file mode 100644
index 0000000000000000000000000000000000000000..08125a45605c4da1907cf768e482be6cc46b2372
--- /dev/null
+++ b/publish.bat
@@ -0,0 +1,2 @@
+echo off
+curl -T %1 -umatusnov:%BINTRAY_API_KEY% https://api.bintray.com/content/matusnov/radio-enabled-web/release/%2/
diff --git a/src/rew/decoder-cli/CMakeLists.txt b/src/rew/decoder-cli/CMakeLists.txt
index 1e315ab0041f6a6069e3d5b4c1a849fb44bc7671..cb47226cdbb02dbd2724e8bc70538a439d1fb3f1 100644
--- a/src/rew/decoder-cli/CMakeLists.txt
+++ b/src/rew/decoder-cli/CMakeLists.txt
@@ -14,6 +14,7 @@ file(GLOB HEADERS ${CMAKE_SOURCE_DIR}/src/rew/decoder-cli/*.h)
 # Create the executable
 add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS})
 set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER "rew/cli") 
+set_target_properties(${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
 
 # Dependencies
 target_include_directories(${PROJECT_NAME} PRIVATE ${ARGAGG_INCLUDE_DIR})
diff --git a/src/rew/decoder/CMakeLists.txt b/src/rew/decoder/CMakeLists.txt
index 199b39c23c4a6b7593369bc2324ed924a15f3046..153bcad7be42d442fa8d95d642a6e411f1c6ca43 100644
--- a/src/rew/decoder/CMakeLists.txt
+++ b/src/rew/decoder/CMakeLists.txt
@@ -32,7 +32,7 @@ set(DECODER_PROJECT ${PROJECT_NAME} PARENT_SCOPE)
 
 # Add install step
 if(BUILD_INSTALL)
-  install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/rew/decoder DESTINATION include/rew/decoder)
+  install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/rew DESTINATION include/rew)
 
   if(MSVC)
     install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}> DESTINATION bin OPTIONAL)
diff --git a/src/rew/encoder-cli/CMakeLists.txt b/src/rew/encoder-cli/CMakeLists.txt
index 900f1fd530d60bb67933466460b8b34b2256f790..2c2b8194c3e63eec4987f84cde7b612ff10472b8 100644
--- a/src/rew/encoder-cli/CMakeLists.txt
+++ b/src/rew/encoder-cli/CMakeLists.txt
@@ -14,6 +14,7 @@ file(GLOB HEADERS ${CMAKE_SOURCE_DIR}/src/rew/encoder-cli/*.h)
 # Create the executable
 add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS})
 set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER "rew/cli") 
+set_target_properties(${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
 
 # Dependencies
 target_include_directories(${PROJECT_NAME} PRIVATE ${ARGAGG_INCLUDE_DIR} ${DIRENT_INCLUDE_DIR})
diff --git a/src/rew/encoder/CMakeLists.txt b/src/rew/encoder/CMakeLists.txt
index 5fa105c023f5d0b645a393692db23b5564de24a4..0d313d4305f8bcea35bdaf27df92689abc1a114f 100644
--- a/src/rew/encoder/CMakeLists.txt
+++ b/src/rew/encoder/CMakeLists.txt
@@ -27,7 +27,7 @@ set(ENCODER_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include/encoder PARENT_SCOPE)
 
 # Add install step
 if(BUILD_INSTALL)
-  install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/rew/encoder DESTINATION include/rew/encoder)
+  install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/rew DESTINATION include/rew)
 
   if(MSVC)
     install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}> DESTINATION bin OPTIONAL)