diff --git a/2.Common_services/4.Wowza/0_setup.py b/2.Common_services/4.Wowza/0_setup.py
index f84384361d2ac975d60c5739c81d3d168287a1aa..aabb21a774418bfcbb6902bbdd327b56b466ab98 100644
--- a/2.Common_services/4.Wowza/0_setup.py
+++ b/2.Common_services/4.Wowza/0_setup.py
@@ -12,7 +12,7 @@ def setup(interactive=True):
     if not license:
         utils.log('No Wowza license set, skipping Wowza installation.')
         return
-    wowza_setup_name = 'WowzaStreamingEngine-4.5.0-linux-x64-installer.deb'
+    wowza_setup_name = 'WowzaStreamingEngine-4.7.1-linux-x64-installer.deb'
     utils.log('It may take a while to download the Wowza installer from the UbiCast server.')
     if utils.check_cmd('lsb_release -a | grep 14') == 0:
         jre_package = 'openjdk-7-jre-headless'  # 14.04
@@ -21,6 +21,7 @@ def setup(interactive=True):
     cmds = [
         'apt-get install -y %s' % jre_package,
         # Get and install Wowza
+        '[ -f "/tmp/%(name)s" ] && (dpkg -I "/tmp/%(name)s" || rm "/tmp/%(name)s") || true' % {'name': wowza_setup_name},
         '[ -f "/tmp/%(name)s" ] || wget -q "https://panel.ubicast.eu/media/storage/%(name)s" -O "/tmp/%(name)s"' % {'name': wowza_setup_name},
         'dpkg -i "/tmp/%s"' % wowza_setup_name,
         # Configure Wowza