https://bugs.winehq.org/show_bug.cgi?id=44694
Bug ID: 44694 Summary: Puredata 0.48: cscript, cannot install plugins Product: Wine Version: 3.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jp-dev@inbox.ru Distribution: ---
Pd has a feature to download and install plugins into the software from an internet repository.
Most plugins are contained in zip files. On Wine, these zips don't extract. It's because the Windows version invokes a vbs file for the extraction, and in Wine this fails.
OS: Arch Linux x86_64, latest
How to reproduce: 1) Install Pd 0.48 vanilla. (http://puredata.info/downloads/pure-data) 2) Run bin/pd.exe. Open Help>Find externals. 3) Enter search terms for a particular package (eg. "cyclone") 4) Pick one of the .zip versions. It shows the destination folder. Click yes to validate. 5) There is a silent failure. The destination folder is empty.
This appears in the console 003a:fixme:vbscript:VBScript_SetScriptState unimplemented SCRIPTSTATE_INITIALIZED 003a:fixme:vbscript:do_mcall NULL obj
Detail: This is the source of the script in question, relevant lines highlighted, embedded in Tcl code. https://git.io/vApzO
In my limited understanding of vbs, I think it's because Shell.NameSpace is attempted on a path which is not an ordinary directory, but a zip archive. It returns the NULL value and results in the error message seen above.