Sauvegarde WAPT

This commit is contained in:
sylvain
2018-11-16 09:30:28 +01:00
parent 6833cf5775
commit bdcf6ee87d
515 changed files with 50348 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDJjCCAg6gAwIBAgIUAnGNTJYwZIgvuxMgYrGJ2vgOpm8wDQYJKoZIhvcNAQEL
BQAwHzELMAkGA1UEBhMCRlIxEDAOBgNVBAMMB1dBUFRNTUkwHhcNMTgxMTE1MTAw
NjQ2WhcNMjgxMTEyMTAwNjQ2WjAfMQswCQYDVQQGEwJGUjEQMA4GA1UEAwwHV0FQ
VE1NSTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMGwlmiEwQoEfkJJ
cxemIzWU3zajf8PI3ebRkoTlCJIQTXe6Cf5I/pi1fs3duHxrpe82TYGYpHM8Tusk
B6NZjwy88/o1nHGhbNRciNfC05Yf9YSpsSv11tZ/DiGk6o519H219pgZZoo59ndZ
m97m/3Zv2JsCxEw+s5q5a96tiHyXycQwFii7uRW9KX0UWwvlf2IkUzwUaCng+p2k
CaRKOGEV9smmHHGDLAAzYwVAYsxfkCXUIP9535iTjxdFjPngldLhHNeULTFLU9oP
c/OMx9sQ5u1SiPqOcsI6XYRw1dqrOII/f/KubVBxLfm1v1GPgjjc2cja4uk/MZJE
9upPPi0CAwEAAaNaMFgwDwYDVR0TAQH/BAUwAwEB/zAWBgNVHSUBAf8EDDAKBggr
BgEFBQcDAzAdBgNVHQ4EFgQU8swJUILhtjuSJrbt8notOpeNFBQwDgYDVR0PAQH/
BAQDAgHWMA0GCSqGSIb3DQEBCwUAA4IBAQBgLnW5KRFdcz4UuBNgH4EuBtoot0C7
al/grQog+63hwh1idIgFlhG5Hweijb1vNYxlKOWxxj2CibKxYKq556V3sdVSoRd6
4QIaJpScCZZ5CYvGYsAqxv1/axrQ1FH4nmkr6lq6pDzpBInljNNCRfzBLRl8Eknj
gMu6/7DctNCpnirwzQnBH/N6oWOfaingJQxNoWaXZ6Pa9WDTqXAsJDUDWT4MCBZV
IZ+oHhuDZTIQwje5htN9sAhUU3C/8zLW9qqk7PWKd3Xdoyxqz2w4gCzgqtLgHoEF
ofweSDUxjOI+3LSAhbz4lTSqMsEOCiGZvLgamKDbmVDchsdczjIi+dHC
-----END CERTIFICATE-----

View File

@@ -0,0 +1,33 @@
package : waptiut-gpo-allow-fonts
version : 2018-12
architecture : all
section : base
priority : optional
maintainer : WAPTCONSOLE
description : Autorisation de l'installation des polices.
depends : waptiut-gpo-disable-uac
conflicts :
maturity :
locale :
target_os :
min_os_version :
max_os_version :
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 62e3b01c-1d43-4c12-a1b2-26c5c34cbbfd
signer : WAPTMMI
signer_fingerprint: db2bbf0cb068dd33d192a6f70e70327460559c5fc08839c1c5199b8c6052e6b7
signature : CC984kktK9Z+LtUAJbLdHmGqIhNqU83GgSDyFtme36i4/+6/JI9ATlZKLT+ukYnwW5MfeOOBuGTiH4U1OeKO41Y2fitfQa2RuI95+qIChLD4NfcCaNO0ge7Q0ItHyRdzZbUwLRWECeMRnjjLmsHvXhdaySbNBttEFm9j3zymYw9V68nh57BImtDw+I0pII5SXyvnTm8WFGGH3KUL1fGkhhKQaKX7LrT2GeMgy7l0xHwu0EhD3iEC0FpVcP2eYH+IG15iUCaEf0pQvb0odH6ifsmw9EFmx7uLFfK3TUZ+OSDcC2Y6Y6+5UHyixTbIraXwzYZPqV46wpZOnc0jQvI2Uw==
signature_date : 20181115-145836
signed_attributes : package,version,architecture,section,priority,maintainer,description,depends,conflicts,maturity,locale,target_os,min_os_version,max_os_version,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,audit_schedule,editor,keywords,licence,homepage,package_uuid,signer,signer_fingerprint,signature_date,signed_attributes

View File

@@ -0,0 +1 @@
[["WAPT/certificate.crt", "ec05a54f80016d68bb835490a34a9318f591b06d"], ["WAPT/wapt.psproj", "557e60050809687d56525e6ac46df9c0e02ccae6"], ["regini.txt", "003a02740eb46bc672a2a10bcf3ba52e3036e86a"], ["font/script.bat", "e8c2aa4b031a9a66ddb561392b24564052a44eda"], ["setup.py", "07318156c44f56309e79a6114d342ce3fac1055e"], ["WAPT/control", "ad46783343c621f5f7b8c0de1274f5e2348b748f"]]

View File

@@ -0,0 +1 @@
[["WAPT/certificate.crt", "4587acaa1ada3e531deb130c670c4967a52e64ad30a425c6fd8ae7a17c9fab10"], ["WAPT/wapt.psproj", "795d36d10109ca85357285f79090fac2be856e5830ea31fa913cc55cb825807b"], ["regini.txt", "820771a80f9ab55cd2895acca17998930eb8b5b7105253b459d03577b3d5db3b"], ["font/script.bat", "77b495745f70c712a3948cb8e3280a779fb3da7bd382ac31003e933c42e37c34"], ["setup.py", "6690032e1d723d5ab1c4b6177a7afe44e2ebef71d5de27e1e96bf522c10bc550"], ["WAPT/control", "87a740add8abcbeac17f76ac723aba6d7ca9f0a1ff1cad84ac8cd2bd04281fe9"]]

View File

@@ -0,0 +1,5 @@
K5hnz5WNWpUCFEOtVVw53x6bDbmOeNYNIl4ZDGxHeCkdibZC26sicUtr1qZdkIwUXp9z2lERQVU2
0xeJO38SpdaQJNv0kHuunEXrUQ0xSSoM2RzZjhGyoxM0fdgh2uNeIxX8K6qRJ7Srs+1KIDC6OG5W
hMnv7Fe/kbzxdL86Xocu2HEN5Iquz0obME4D+y5uqPlPESrlrBDiIH7K87SRp1ZT2s2IzZDXquQF
0V6Z4SN3QdZ+aOdBiCgfWyBG5VHQ8JiwuaNFBtm6Jt0elj0A9pc0A+LPi3lRCAL3CrWS9fcNYDCL
ADBkVGYiBWVI1vKU7UeRuf67UFNf05lFbfC0KA==

View File

@@ -0,0 +1,5 @@
ByFJ2Qdv0et5F9FBqDlNZlmUyeMZwSQ7vZl2PmTBi2OKC/VAmNti36qsm1uFjwruIMj9s0IGTJmN
qMxhAjHrxUAhc2gHtQCNWkp/LipremeFaqKGtS44WwIB7JLUX7sksPq8Q6+41ih9qQMLQZSchfHq
lmInuTODUZShJ8Tgug/509fNHGGIs/z+3U96zIJdbdQad9kJJWDRVUcBuVyhRonhBE5kKrhagc06
ixBFvJ9DYxyIp7chFsPgyzqP04Y2ga6iHBtz1UE8Kl7HIZb4xCCyTlwk1YhDb4QKrrnFWP+DDvOS
LNZnVzwA74GJrJgD0dvR8sp27oR6ljB2vt0Gjg==

View File

@@ -0,0 +1,295 @@
[PyScripter]
Version=3.3.2.0
[Project]
ClassName=TProjectRootNode
StoreRelativePaths=TRUE
ShowFileExtensions=FALSE
[Project\ChildNodes\Node0]
ClassName=TProjectFilesNode
[Project\ChildNodes\Node0\ChildNodes\Node0]
ClassName=TProjectFolderNode
Name=wapt
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node0]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\common.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node1]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\setuphelpers.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node2]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\wapt-get.ini
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node3]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\wapt-get.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes\Node4]
ClassName=TProjectFileNode
FileName=C:\Program Files (x86)\wapt\waptpackage.py
[Project\ChildNodes\Node0\ChildNodes\Node0\ChildNodes]
Count=5
[Project\ChildNodes\Node0\ChildNodes\Node1]
ClassName=TProjectFileNode
FileName=$[Project-Path]changelog.txt
[Project\ChildNodes\Node0\ChildNodes\Node2]
ClassName=TProjectFileNode
FileName=$[Project-Path]control
[Project\ChildNodes\Node0\ChildNodes\Node3]
ClassName=TProjectFileNode
FileName=$[Project-Path]..\setup.py
[Project\ChildNodes\Node0\ChildNodes]
Count=4
[Project\ChildNodes\Node1]
ClassName=TProjectRunConfiguationsNode
[Project\ChildNodes\Node1\ChildNodes\Node0]
ClassName=TProjectRunConfiguationNode
Name=install
[Project\ChildNodes\Node1\ChildNodes\Node0\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=install "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node0\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node1]
ClassName=TProjectRunConfiguationNode
Name=remove
[Project\ChildNodes\Node1\ChildNodes\Node1\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=remove "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node1\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node2]
ClassName=TProjectRunConfiguationNode
Name=session-setup
[Project\ChildNodes\Node1\ChildNodes\Node2\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=session-setup "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node2\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node3]
ClassName=TProjectRunConfiguationNode
Name=update
[Project\ChildNodes\Node1\ChildNodes\Node3\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=update
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node3\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node4]
ClassName=TProjectRunConfiguationNode
Name=upgrade
[Project\ChildNodes\Node1\ChildNodes\Node4\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=-f upgrade
WorkingDir=$[ActiveScript-Dir]
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node4\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node5]
ClassName=TProjectRunConfiguationNode
Name=-i build-upload
[Project\ChildNodes\Node1\ChildNodes\Node5\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=-i build-upload "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node5\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node6]
ClassName=TProjectRunConfiguationNode
Name=svn update
[Project\ChildNodes\Node1\ChildNodes\Node6\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=sources "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node6\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node7]
ClassName=TProjectRunConfiguationNode
Name=uninstall
[Project\ChildNodes\Node1\ChildNodes\Node7\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=uninstall "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node7\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[Project-Path]..
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node8]
ClassName=TProjectRunConfiguationNode
Name=update-package-sources
[Project\ChildNodes\Node1\ChildNodes\Node8\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=update-package-sources "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node8\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes\Node9]
ClassName=TProjectRunConfiguationNode
Name=audit
[Project\ChildNodes\Node1\ChildNodes\Node9\RunConfig]
ScriptName=C:\Program Files (x86)\wapt\wapt-get.py
EngineType=peRemote
ReinitializeBeforeRun=TRUE
Parameters=audit "$[Project-Path].."
WorkingDir=$[Project-Path]..
WriteOutputToFile=FALSE
OutputFileName=$[ActiveScript-NoExt].log
AppendToFile=FALSE
[Project\ChildNodes\Node1\ChildNodes\Node9\RunConfig\ExternalRun]
Caption=External Run
Description=Run script using an external Python Interpreter
ApplicationName=$[PythonExe-Short]
Parameters=$[ActiveScript-Short]
WorkingDirectory=$[ActiveScript-Dir]
ShortCut=0
MessagesFormat=$[FileName] $[LineNumber]
[Project\ChildNodes\Node1\ChildNodes]
Count=10
[Project\ChildNodes]
Count=2
[Project\ExtraPythonPath]
Count=0

View File

@@ -0,0 +1,13 @@
@ECHO OFF
icacls "C:\Windows\Fonts" /GRANT "Tout le monde":(OI)(CI)M
attrib -r -s %systemroot%\Fonts
takeown /f "%systemroot%\Fonts" /r /d n
icacls "%systemroot%\fonts" /grant "Tout le monde":(OI)(CI)M /t
icacls "%systemroot%\system32\FNTCACHE.dat" /grant "Tout le monde":(OI)(CI)M /t
echo \registry\machine\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts [1 5 7 17] >%temp%\a.txt
regini.exe %temp%\a.txt

11
gpo-allow-fonts/setup.py Normal file
View File

@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('installing waptiut-gpo-allow-fonts')
copytree2(r'font',r'C:\font')
def session_setup():
run(r'"c:\font\script.bat"')