[Wapt] Problème script powershell via console WAPT

JUILLARD Christophe christophe.juillard at cnrs.fr
Wed Aug 19 12:08:16 CEST 2020


Bonjour,

Je souhaite créer un paquet WAPT exécutant un script powershell qui pousserait un fichier user.js (pour mettre à jour la conf utilisateur) dans le (ou les) dossiers Profile de Thunderbird.
Mon script powershell fonctionne, j'ai donc crée un paquet WAPT :

from setuphelpers import *

uninstallkey = []

def install():
    print("installing ConfigUser_Thunderbird")
    run(r'powershell.exe (chemin du fichier)\forceThunderbirdConfig\forceThunderbirdTLS.ps1')

Je lance un wapt-get install du paquet en cmd en tant qu'admin tout fonctionne (mes user.js apparaissent dans les profile thunderbird).

J'upload mon paquet et le déploie sur une machine depuis la console, aucune erreur mais mon fichier user.js n'apparait pas (donc le paquet ne fonctionne pas).

Une idée du problème ?

Merci d'avance,


[signature]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20200819/862cdf14/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 27123 bytes
Desc: image001.png
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20200819/862cdf14/attachment.png>


More information about the WAPT mailing list