
- package: tis-wampserver
- name: WampServer
- version: 3.3.1-13
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- licence: GPLv2
- locale: all
- target_os: windows
- impacted_process: wampmanager
- architecture: x64
- signature_date:
- size: 679.93 Mo
- installed_size: 2.83 Go
- homepage : https://wampserver.aviatechno.net/
- depends:
- conflicts :
package : tis-wampserver
version : 3.3.1-13
architecture : x64
section : base
priority : optional
name : WampServer
categories : System and network
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
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.0
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 : GPLv2
homepage : https://wampserver.aviatechno.net/
package_uuid : 44e21555-d473-4a18-b35f-6e0a7f8ed1e9
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 : 6.1
max_os_version :
icon_sha256sum : d4ceccad754042ec16dc41821f2355eae957f832209f71393b668fda1006b538
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : Kl/xMhH6ShbcIo3JFGNxKHcUFw3Hp2V/IcwlSVDH8yk4RoEzVp2FUT6f+YFTJISZOVOv6SdhYVvvAz0tUFmveQK72PPq05o2TrHALA1gJTG6thO+Xrn1nMMqlyF7RZGTEq+jUE2MQM+4xgIZIFpc8xzfIc/ZNdY7BS/6UPqnllqP+19nzQgGS/BKMSbd342EbeCTjNI7lbMGQWdVoAMWJ4JKwAhXu/0uz7qw59eYBgk0mDDiWAYDPhUJSobWK7P/UdoRRKmuNDtoi6YNCWW0HUSx5sd3AvpAk7R03K687SGW+kIyB40jjpvdB+jiYeqAwlauE6blSmUi6cKlbQXqMA==
signature_date : 2023-01-28T14:03:15.660254
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_x86_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
8cd790baeb121a0eea5e2a1039df4b28cb6a9a9c95ef475cd82c48dee5c8d97a : setup.py
59645e1fb1648eafa14be1cccfa82f7aa8d1c219acf850d71f3a8a4410eb239d : update_package.py
d4ceccad754042ec16dc41821f2355eae957f832209f71393b668fda1006b538 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
1b97b730d4fe7e91e85334863f127464322fbb509735ffa4e2b664435c090ec0 : WAPT/changelog.txt
be14d212b85304fe121175ac3c93bdc662c5b7fc92c099ee2c1c7d644199f667 : luti.json
eed3f4abfbf173d322f160cec55cdd262bcb1f6e68cac5275b647652ca31854f : wampserver3_x86_x64_update3.3.1.exe
3fb8b196d1337ee2432ca54668c426448aee1212c5e3220756d4404ffedb18b8 : wampserver3.3.0_x64.exe
3423d824e2198cac9609159eceb6a4d4ad05d733b1742f8b89eecad948ff379e : WAPT/control
https://sourceforge.net/projects/wampserver/files/WampServer%203/WampServer%203.0.0/readme.txt/download
-13
change to name in installe_exe