[Bug 60060] New: License Key no longer handled correctly - Solidworks PCB2023 (possibly also for Altium Designer/Circuitstudio)
http://bugs.winehq.org/show_bug.cgi?id=60060 Bug ID: 60060 Summary: License Key no longer handled correctly - Solidworks PCB2023 (possibly also for Altium Designer/Circuitstudio) Product: Wine Version: 11.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 Assignee: wine-bugs@list.winehq.org Reporter: depaoli.renzo@gmail.com Target Milestone: --- Distribution: --- Created attachment 81553 --> http://bugs.winehq.org/attachment.cgi?id=81553 Solidworks Activation Popup and Dialog as it used to be Debian 12 64-bit, KDE
uname --all Linux vbox 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64 GNU/Linux
When starting Solidworks PCB the behaviour used to be - Product Activation Popup Warning "Failed to obtain a computer identifier [..]" - Product Activation Dialog to select between "I want to activate [..] now" "I want to activate [..] later" - Start of program as "Solidworks PCB". This has changed, the Activation Popup and Dialog no longer appear and the program always starts in the restricted "Solidworks PCB Viewer" mode, basically making use of the program impossible. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 Renzo de Paoli <depaoli.renzo@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |21735ee8342e24fedc5d372d155 | |76152b74e08d7 CC| |bunglehead@gmail.com, | |depaoli.renzo@gmail.com Keywords| |regression Distribution|--- |Debian --- Comment #1 from Renzo de Paoli <depaoli.renzo@gmail.com> --- This is a regression introduced with 21735ee8342e24fedc5d372d15576152b74e08d7 is the first bad commit commit 21735ee8342e24fedc5d372d15576152b74e08d7 Author: Nikolay Sivov <nsivov@codeweavers.com> Date: Wed Mar 25 02:15:05 2026 +0100 msxml3: Rework DOM API. For the most parts this touches only tree API. Validation, XPath, XSLT, and schema handling is still going through libxml2 at the moment. Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> dlls/msxml3/Makefile.in | 1 + dlls/msxml3/attribute.c | 635 ++-- dlls/msxml3/cdata.c | 543 ++-- dlls/msxml3/comment.c | 584 ++-- dlls/msxml3/docfrag.c | 612 ++-- dlls/msxml3/doctype.c | 474 ++- dlls/msxml3/domdoc.c | 2777 +++++------------ dlls/msxml3/domimpl.c | 93 +- dlls/msxml3/element.c | 1431 +++------ dlls/msxml3/entityref.c | 522 ++-- dlls/msxml3/msxml_private.h | 281 +- dlls/msxml3/mxwriter.c | 11 + dlls/msxml3/node.c | 5611 ++++++++++++++++++++++------------ dlls/msxml3/nodelist.c | 263 +- dlls/msxml3/nodemap.c | 270 +- dlls/msxml3/pi.c | 852 ++---- dlls/msxml3/saxreader.c | 638 +++- dlls/msxml3/saxreader_extensions.idl | 44 + dlls/msxml3/schema.c | 356 ++- dlls/msxml3/selection.c | 485 +-- dlls/msxml3/stylesheet.c | 33 +- dlls/msxml3/tests/domdoc.c | 153 +- dlls/msxml3/tests/saxreader.c | 2 - dlls/msxml3/tests/xmldoc.c | 1 - dlls/msxml3/text.c | 586 ++-- dlls/msxml3/xmldoc.c | 9 +- dlls/msxml4/tests/saxreader.c | 13 +- dlls/msxml6/tests/saxreader.c | 13 +- libs/xml2/include/libxml/tree.h | 7 + libs/xml2/xpath.c | 1 + 30 files changed, 8225 insertions(+), 9076 deletions(-) create mode 100644 dlls/msxml3/saxreader_extensions.idl -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #2 from Renzo de Paoli <depaoli.renzo@gmail.com> --- N.B. as Solidworks PCB was made by Altium, it may be that other Altium products like Designer and Circuitstudio may experience similar issues. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #3 from Nikolay Sivov <bunglehead@gmail.com> --- Thank you for the report. Could you run it again with WINEDEBUG=+msxml,+msxml_xpath and attach such log here? Also, if it's possible obtain a trial version of the application for me to test, that would be ideal. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 Nikolay Sivov <bunglehead@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead@gmail.com | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #4 from Renzo de Paoli <depaoli.renzo@gmail.com> --- Created attachment 81565 --> http://bugs.winehq.org/attachment.cgi?id=81565 msxml-logfile "Good" Logfile for Last "good" wine-11.6-72-g5fe7d272acd
WINEPREFIX=~/.cxoffice/Solidworks_PCB_2023/ WINEDEBUG=+msxml,+msxml_xpath wine c:/Program\ Files/SOLIDWORKS\ Corp/SOLIDWORKS\ PCB/DXP.EXE &>wine-11.6-72-g5fe7d272acd_msxml.log
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #5 from Renzo de Paoli <depaoli.renzo@gmail.com> --- Created attachment 81566 --> http://bugs.winehq.org/attachment.cgi?id=81566 msxml-logfile "Bad" Logfile for first "bad" wine-11.6-73-g21735ee8342
WINEPREFIX=~/.cxoffice/Solidworks_PCB_2023/ WINEDEBUG=+msxml,+msxml_xpath wine c:/Program\ Files/SOLIDWORKS\ Corp/SOLIDWORKS\ PCB/DXP.EXE &>wine-11.6-73-g21735ee8342_msxml.log
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #6 from Renzo de Paoli <depaoli.renzo@gmail.com> --- (In reply to Nikolay Sivov from comment #3)
Thank you for the report.
Could you run it again with WINEDEBUG=+msxml,+msxml_xpath and attach such log here? Also, if it's possible obtain a trial version of the application for me to test, that would be ideal.
Good morning Nikolay. Solidworks PCB needs some prerequisites, which are - Microsoft Data Access Components (MDAC) 2.8 Service Pack 1 - Microsoft .NET Framework 4.8 - Microsoft Visual C++ 2010 (10.0) Redistributable - Microsoft Visual C++ 2010 (10.0) Redistributable (64-bit) - Microsoft Visual C++ 2012 (11.0) Redistributable Runtime - Microsoft Visual C++ 2012 (11.0) Redistributable Runtime (64-bit) - Microsoft Visual C++ 2015-2022 (14.0) Redistributable (latest) (32-bit) - Microsoft Visual C++ 2015-2022 (14.0) Redistributable (latest) (64-bit) I used these DLL overrides for MDAC - odbc32 n,b - odbccp32 n,b - oledb32 n,b - mtxdm n,b - msado15 n Installations I tested with are via CrossOver cxTie & bottle, which is easiest & quickest, and also manually with Wine & WineTricks, both work. Solidworks PCB comes as part of the Solidworks Suite and is only available through Dassault/Solidworks Value Added Resellers, even though Solidworks stopped development and support for Solidworks PCB in 2023. The patch mentions that you have a Codeweavers email? As I am a Codeweavers customer I could provide Codeweavers with the installation files, if that helps? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #7 from Nikolay Sivov <bunglehead@gmail.com> --- I think parser aborts because of 0xfeff bom in the data, which is not allowed in this context, in both msxml3 and msxml6. It's a question how it got there. Could you check if this xml content comes from some disk file? Maybe it's created during installation. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #8 from Renzo de Paoli <depaoli.renzo@gmail.com> --- (In reply to Nikolay Sivov from comment #7)
I think parser aborts because of 0xfeff bom in the data, which is not allowed in this context, in both msxml3 and msxml6. It's a question how it got there.
Could you check if this xml content comes from some disk file? Maybe it's created during installation. Good afternoon Nikolay.
The file in question is "./ProgramData/SOLIDWORKS/SOLIDWORKS PCB 2023/Extensions/ExtensionsRegistry.xml" It is a plain xml file that starts with <?xml version="1.0" encoding="utf-8"?>, it does not have that "0xfeff". It seems to be a "static" and not a "generated" file that is installed via the sub-installer msi, in my installation that is "./windows/Installer/ef1c.msi" I checked a "Free Solidworks PCB Viewer" installation, and the viewer has that same file, and it produces the same "0xfeff" in the log. The free viewer is available for download here: https://www.solidworks.com/support/free-downloads?product=solidworks%2520pcb... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #9 from Renzo de Paoli <depaoli.renzo@gmail.com> --- Created attachment 81591 --> http://bugs.winehq.org/attachment.cgi?id=81591 msxml-logfile "Solidworks PCB Viewer" Logfile generated with Solidworks PCB Viewer (with latest wine)
WINEPREFIX=~/.cxoffice/Solidworks_PCB_Viewer_2023/ WINEDEBUG=+msxml,+msxml_xpath wine c:/Program\ Files/SOLIDWORKS\ Corp/SOLIDWORKS\ PCB\ Viewer/DXP.EXE &>wine-11.14_SWPCBViewer_msxml.log
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #10 from Renzo de Paoli <depaoli.renzo@gmail.com> --- Created attachment 81592 --> http://bugs.winehq.org/attachment.cgi?id=81592 Solidworks PCB Viewer ExtensionsRegistry.xml -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #11 from Rafał Mużyło <galtgendo@o2.pl> ---
It is a plain xml file that starts with <?xml version="1.0" encoding="utf-8"?>, it does not have that "0xfeff".
Chap, have you actually checked that file ? It does start with a BOM, which is what Nick is referring to. UTF-8 BOM is a nonsense in the first place, but due, to Windows anal-rectal inversion on this topic, is something that still needs to be handled. Due to above mentioned syndrome, the xml standard was updated to accommodate for it (all least in my reading of that TR document). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #12 from Nikolay Sivov <bunglehead@gmail.com> --- (In reply to Rafał Mużyło from comment #11)
It is a plain xml file that starts with <?xml version="1.0" encoding="utf-8"?>, it does not have that "0xfeff".
Chap, have you actually checked that file ? It does start with a BOM, which is what Nick is referring to. UTF-8 BOM is a nonsense in the first place, but due, to Windows anal-rectal inversion on this topic, is something that still needs to be handled.
Due to above mentioned syndrome, the xml standard was updated to accommodate for it (all least in my reading of that TR document).
Rafał, I think we can handle this, thank you. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #13 from Nikolay Sivov <bunglehead@gmail.com> --- PCB Viewer shows the same issue, so it's good for testing. Installing it on Windows produces identical file, with utf-8 bom. Contents get converted to WCHARs using MultiByteToWideChar(), not sure yet if that happens at Wine side. BOM gets converted to 0xfeff as it should. I haven't tried with native msado yet - it fails with builtin right away, after failing to parse the document. As a temporary workaround you can strip first 3 bytes from that file, and that should make it parse again. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #14 from Renzo de Paoli <depaoli.renzo@gmail.com> --- Created attachment 81613 --> http://bugs.winehq.org/attachment.cgi?id=81613 Solidworks PCB ExtensionsRegistry strippedHead.xml c:/ProgramData/SOLIDWORKS/SOLIDWORKS\ PCB\ 2023/Extensions/ExtensionsRegistry.xml with the leading 3 bytes stripped -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60060 --- Comment #15 from Renzo de Paoli <depaoli.renzo@gmail.com> --- (In reply to Nikolay Sivov from comment #13)
PCB Viewer shows the same issue, so it's good for testing. Installing it on Windows produces identical file, with utf-8 bom. Contents get converted to WCHARs using MultiByteToWideChar(), not sure yet if that happens at Wine side. BOM gets converted to 0xfeff as it should. I haven't tried with native msado yet - it fails with builtin right away, after failing to parse the document.
As a temporary workaround you can strip first 3 bytes from that file, and that should make it parse again.
Good morning Nikolay. Thanks for checking. I tested with the .xml file after stripping the leading bytes from it (attached file, changed with Okteta), and after the modification, Solidworks PCB works as normal. I renamed the .xml to something else and afterwards Solidworks PCB starts in viewer mode. I think this confirms your diagnosis, the XML file/parsing is at fault. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla