Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: group policy may prohibit extraction of dek files #303

Open
umlaeute opened this issue Oct 10, 2024 · 1 comment
Open

Windows: group policy may prohibit extraction of dek files #303

umlaeute opened this issue Oct 10, 2024 · 1 comment

Comments

@umlaeute
Copy link
Contributor

our IT-department has become rather strict of what is allowed on a system and what not.

afaiu, there's a group policy in place, that prevents the users from running arbitrary powershell scripts (though Tcl-scripts are apparently OK).

Installing a library via deken then results in the following error:

Suche nach "zexy"...
Suche auf http://deken.puredata.info/search...
Suche auf http://deken.puredata.info/search lieferte 33 Ergebnisse
"zexy": 1 verwendbare Pakete gefunden (von insgesamt 32 Paketen).
Herunterladen von 'zexy[v2.4.3](Windows-amd64-32)(Windows-amd64-64)(Windows-i386-32).dek'
Herunterladen von 'http://puredata.info/Members/zmoelnigbot/software/zexy/2.4.3/zexy[v2.4.3](Windows-amd64-32)(Windows-amd64-64)(Windows-i386-32).dek' nach 'C:/Users/p1696/Documents/Pd/externals' beginnt...
Download abgeschlossen! Überprüfung...
SHA256-Überprüfung von 'C:/Users/p1696/Documents/Pd/externals/zexy[2.4.3].0.dek'
Die Checksumme der Datei sieht ungültig aus: 'sha256-hashvonc:/users/p1696/documents/pd/externals/zexy[2.4.3].0.dek:29a6c01b9bb70246fb4b98bb2077d08c4fe0f809c2f60aa2c3c5031c74aa4855'.
Entferne vorherige Version von 'zexy'
Installiere Paket 'zexy'
Installiere 'zexy[v2.4.3](Windows-amd64-32)(Windows-amd64-64)(Windows-i386-32).dek'
VBS-unzip(C:/Users/p1696/AppData/Local/Temp/dekentmp.0.vbs): Microsoft (R) Windows Script Host, Version 5.812
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

CScript-Fehler: Windows Script Host. kann nicht ausgefhrt werden. (Dieses Programm wurde durch eine Gruppenrichtlinie geblockt. Wenden Sie sich an den Systemadministrator, um weitere Informationen zu erhalten. )
child process exited abnormally
couldn't execute "unzip": no such file or directory
Paket konnte nicht automatisch entpackt werden.
Bitte führen Sie die folgenden Schritte manuell aus:
1. Entpacken Sie C:/Users/p1696/Documents/Pd/externals/zexy[2.4.3].0.dek.
  Evtl. müssen Sie die Dateiänderung von .dek in .zip ändern
2. Kopieren Sie den Inhalt nach C:/Users/p1696/Documents/Pd/externals.
3. Entferne C:/Users/p1696/Documents/Pd/externals/zexy[2.4.3].0.dek. (optional)

'zexy' konnte nicht installiert werden!

(unfortunately German only).

neither the SHA256 verification works (there's a warning earlier on, when deken is loaded) nor the unzipping.

@umlaeute
Copy link
Contributor Author

possible options:

  • look for a native unzip implementation in TclTk
    • it seems that since Tcl-8.7 there's a builtin zipfs command
  • teach Windows that the unzip-script is innocent.
    i kind of understand that it looks suspicious if an application creates a script on-the-fly and then executes it.
    maybe we can just ship the sha256.ps and unzip.ps scripts in the Pd installer and they will magically work(?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant