J'ai mis en place le paquet comme indiqué ici : viewtopic.php?t=3276
(Version 3.2.2)
WAPT version : 2.4
licence : entreprise
Code : Tout sélectionner
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
# Defining variables
bin_name_string = 'Stormshield_SSLVPN_Client_%s_win10_fr_x64.msi'
vpn_server = 'vpn.xxx.xx' # Set default vpn server fqdn to connect to
def install():
# Initializing variables
package_version = control.get_software_version()
bin_name = bin_name_string % package_version
# Installing the package
print('Installing %s' % bin_name)
install_msi_if_needed(bin_name)
killalltasks(control.impacted_process.split(",")) # Kill client process launched with system account
create_programs_menu_shortcut('Stormshield SSL VPN Client','C:\Program Files\Stormshield\Stormshield SSL VPN Client\sslvpn_client.exe',wDir='C:\Program Files\Stormshield\Stormshield SSL VPN Client\\',folder='Stormshield SSL VPN Client')
registry_set(HKEY_LOCAL_MACHINE,makepath('SOFTWARE','Microsoft','Windows','CurrentVersion','Run'),'stormshield-vpn','C:\Program Files\Stormshield\Stormshield SSL VPN Client\sslvpn_client.exe',type=REG_SZ)
def session_setup():
# Initializing variables
currentuser = os.getlogin()
# Configuring user client default vpn server to connect to
registry_set(HKEY_CURRENT_USER,r'Software\\STORMSHIELD\\STORMSHIELD SSL VPN CLIENT','address',vpn_server,type=REG_SZ)
registry_set(HKEY_CURRENT_USER,r'Software\\STORMSHIELD\\STORMSHIELD SSL VPN CLIENT','automatic','true',type=REG_SZ)
registry_set(HKEY_CURRENT_USER,r'Software\\STORMSHIELD\\STORMSHIELD SSL VPN CLIENT','username',currentuser,type=REG_SZ)
def uninstall():
remove_programs_menu_folder('Stormshield SSL VPN Client')
if reg_key_exists(HKEY_LOCAL_MACHINE,r'Software\Microsoft\Windows\CurrentVersion\run\stormshield-vpn'):
run('reg delete "Software\Microsoft\Windows\CurrentVersion\run\stormshield-vpn" /f')
Après avoir saisie mes identifiants j'ai le message via le centre de notification windows :
Testé sur un W10 et W11.Déconnecté
La connexion VPN SSL a été interrompue pendant la mise en veille ou la veille prolongée de windows.
Merci de vous reconnecter
Installé à la mano je n'ai pas d'erreur et je me connect bien.
Une idée ?
Vous avez un paquet qui fonctionne ?