
- package: tis-wampserver
- name: WampServer
- version: 3.3.6-14
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Clément BAZIRET
- licence: opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
- locale: all
- target_os: windows
- impacted_process: wampmanager
- architecture: x64
- signature_date:
- size: 370.98 Mo
- installed_size: 2.83 Go
- homepage : https://wampserver.aviatechno.net/
- depends:
- conflicts :
package : tis-wampserver
version : 3.3.6-14
architecture : x64
section : base
priority : optional
name : WampServer
categories : System and network
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Clément BAZIRET
description : WampServer is a Web development platform on Windows that allows you to create dynamic Web applications with Apache2, PHP, MySQL and MariaDB
depends : tis-vcredist2008,tis-vcredist2010,tis-vcredist2012,tis-vcredist2013,tis-vcredist
conflicts : tis-wamp5
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://wampserver.aviatechno.net/
installed_size : 2832973824
impacted_process : wampmanager
description_fr : WampServer (anciennement WAMP5) est une plateforme de développement Web de type WAMP, permettant de faire fonctionner localement (sans avoir à se connecter à un serveur externe) des scripts PHP
description_pl : WampServer to platforma do tworzenia stron internetowych na Windows, która pozwala na tworzenie dynamicznych aplikacji internetowych z Apache2, PHP, MySQL i MariaDB
description_de : WampServer ist eine Webentwicklungsplattform für Windows, mit der Sie dynamische Webanwendungen mit Apache2, PHP, MySQL und MariaDB erstellen können
description_es : WampServer es una plataforma de desarrollo web en Windows que permite crear aplicaciones web dinámicas con Apache2, PHP, MySQL y MariaDB
description_pt : WampServer é uma plataforma de desenvolvimento Web em Windows que lhe permite criar aplicações Web dinâmicas com Apache2, PHP, MySQL e MariaDB
description_it : WampServer è una piattaforma di sviluppo Web per Windows che consente di creare applicazioni Web dinamiche con Apache2, PHP, MySQL e MariaDB
description_nl : WampServer is een webontwikkelingsplatform op Windows waarmee u dynamische webapplicaties kunt maken met Apache2, PHP, MySQL en MariaDB
description_ru : WampServer - это платформа для веб-разработки под Windows, которая позволяет создавать динамические веб-приложения с Apache2, PHP, MySQL и MariaDB
audit_schedule :
editor :
keywords :
licence : opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
homepage : https://wampserver.aviatechno.net/
package_uuid : 3435e59d-b912-417a-bbde-56fd24acf605
valid_from :
valid_until :
forced_install_on :
changelog : https://sourceforge.net/projects/wampserver/files/WampServer%203/WampServer%203.0.0/readme.txt/download
min_os_version : 10.0
max_os_version :
icon_sha256sum : d4ceccad754042ec16dc41821f2355eae957f832209f71393b668fda1006b538
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : zKFf94PfQ7Ntaf3x9i3bW8+8Nx53/CAcFU2jjCewXJ++Sufcp3DUF0BLT+B8cKoldlwQX4pgoqJgh/mtuh84VmwDxq88TXaCf4zO09F8idxQkZskXYJ83XPDGvvV5kq83RJu0Du3u2fcmAwblzmvfsORmt4ZXxMSYsWoLQhm1rQ1j/afnB3bCCX2BQ2iEHbPGy6zY7KT+VKkcc1z822+7yH9r7j1+NPd85e1lJ6v11cCIeJkDKyKf2hyOM19psNbd/lkWQBa7UuEd4HyoOpDDKGJXKr75Dx2XAeP5kQfNdjGnoSZ5t6AeeTRMXGHDwIgeQgO2gZxhzYZEHhGoqpaJA==
signature_date : 2024-07-20T19:01:29.782554
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Install/Update informations: https://wampserver.aviatechno.net/
"""
def install():
# Declaring local variables
package_version = control.get_software_version()
bin_name = glob.glob("wampserver3*.exe")[0]
update_bin_name = glob.glob("wampserver3_x64_update*.exe")[0]
app_name = control.name
installed_version = None
if control.architecture == "x64":
app_uninstallkey = r"{wampserver64}_is1"
app_software_name = "Wampserver64 %s" % package_version
else:
app_uninstallkey = r"{wampserver32}_is1"
app_software_name = "Wampserver32 %s" % package_version
install_dir = makepath(systemdrive, "wamp")
# Handle other paths of the software
app_installed_list = installed_softwares(name=r"\bWampserver")
for app_info in app_installed_list:
install_dir = app_info["install_location"]
installed_version = app_info["version"]
silent_args = '/DIR="%s" /VERYSILENT /SUPPRESSMSGBOXES' % install_dir
# Installing the software
if installed_version is None:
print("Installing: %s in: %s" % (bin_name, install_dir))
install_exe_if_needed(
bin_name,
silentflags=silent_args,
name="Wampserver",
min_version=get_version_from_binary(bin_name),
timeout=1800,
)
def get_app_version(key):
# app_version_file = makepath(install_dir, "wampmanager.ini")
app_version_file = makepath(install_dir, "changelog.txt")
with open(app_version_file, "r") as open_data:
for aline in open_data.readlines():
if aline.startswith("--- Wampserver"):
return aline.split(" ")[-1].split("\n")[0]
if need_install(key=app_uninstallkey, min_version=package_version):
print("Updating: %s from: %s to: %s" % (app_name, installed_version, package_version))
# run('"%s" %s' % (update_bin_name, silent_args))
install_exe_if_needed(
update_bin_name,
silentflags=silent_args,
name="Wampserver",
min_version=control.get_software_version(),
get_version=get_app_version,
)
# register_uninstall(app_uninstallkey, win64app=iswin64(), display_name=app_software_name, display_version=package_version)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
bin_contains = "wampserver3."
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
url = "https://wampserver.aviatechno.net/"
api_url = "https://sourceforge.net/projects/wampserver/best_release.json"
bin_contains = "wampserver3."
if control.architecture == "x64":
bin_ends = "_x64.exe"
else:
bin_ends = "_x86.exe"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
for download in json_load["platform_releases"]:
if bin_contains in json_load["platform_releases"][download]["filename"]:
download_url = json_load["platform_releases"][download]["url"].replace("x64", control.architecture)
latest_bin = json_load["platform_releases"][download]["filename"].split("/")[-1].replace("x64", control.architecture)
version = latest_bin.split("_")[0].replace("wampserver", "")
break
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "a", proxies=proxies):
if bs_search.string.startswith("Wampserver update"):
update_version = bs_search.string.split("update ")[-1]
update_latest_bin = bs_search["href"].split("/")[-1]
update_download_url = url + bs_search["href"]
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
# Deleting outdated binaries
remove_outdated_binaries(version)
# Downloading latest binaries
if not isfile(update_latest_bin):
print("Downloading: %s" % update_latest_bin)
wget(update_download_url, update_latest_bin, proxies=proxies, connect_timeout=30)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies, connect_timeout=30)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
if Version(version) != Version(version_from_file) and version_from_file != "":
print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
os.rename(latest_bin, "wampserver%s%s" % (version_from_file, bin_ends))
version = version_from_file
else:
print("Binary file version corresponds to online version")
# Checking version of the update
update_version_from_file = get_version_from_binary(update_latest_bin)
if Version(update_version_from_file) > Version(version_from_file):
if Version(version) != Version(update_version_from_file) and update_version_from_file != "":
print("Changing version to the version number of the update binary (from: %s to: %s)" % (version, update_version_from_file))
version = update_version_from_file
else:
print("Binary file version corresponds to online version")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Validating update-package-sources
return result
e97991cf01263e1ba9f899c6437f88f6768b456022ccdbf71100eab405e292f9 : wampserver3_x64_update3.3.6.exe
17cf8aa8fca111fe3bfaf909d870c2948941ce65d3c5dca23837a36df7a8532c : setup.py
59645e1fb1648eafa14be1cccfa82f7aa8d1c219acf850d71f3a8a4410eb239d : update_package.py
246b9d4f77506fd2858b38cdce192a25089c9d642caca135f6d2e2cc2682258a : wampserver3.3.5_x64.exe
d4ceccad754042ec16dc41821f2355eae957f832209f71393b668fda1006b538 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
1b97b730d4fe7e91e85334863f127464322fbb509735ffa4e2b664435c090ec0 : WAPT/changelog.txt
eee9796f01e78ae64e1c2089446c414485a06eaae462522b110bd319800e7362 : luti.json
b398d208398ac9789949518bd7ca2852b9a1a880d05c93bf27dc800b7ece1e1c : WAPT/control
https://sourceforge.net/projects/wampserver/files/WampServer%203/WampServer%203.0.0/readme.txt/download
-13
change to name in installe_exe