http://bugs.winehq.org/show_bug.cgi?id=58457
Bug ID: 58457 Summary: Wine msiexec /a administrative install creates incorrect folder structure for DefaultDirs with .: Product: Wine Version: 10.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi Assignee: wine-bugs@winehq.org Reporter: depaoli.renzo@gmail.com Distribution: ---
Created attachment 78908 --> http://bugs.winehq.org/attachment.cgi?id=78908 TestCase for msiexec /a failing to create correct directory structure
Wine msiexec /a should create an administrative installation and maintain the source folder structure, same as MS msiexec /a.
But it does not do the latter in cases where the DefaultDir in the MSI Directory Table contains ".:". Instead, Wine msiexec /a creates a flattened structure.
Attached is a simple test case .msi, which copies one text file during install.
To test the case, store the StructTest.msi file, and on the Wine CLI, execute e.g. msiexec /a "R:\StructTest.msi" TARGETDIR="R:\StructTest_admin_wine" /qn /L*VX "R:\StructTest_admin_wine-Log.txt"
Note: Nothing will be installed, only a administrative installation folder structure is being created.
The attached test file contains - the StructTest.msi - the CLI command used - logfiles for the file trees created by Windows 10 and CrossOver25/Wine 10.0 - logfiles from msiexec for Windows 10 and CrossOver 25/Wine 10.0 - logfile from CrossOver 25/Wine 10.0 with Channels +msi,+msidb - Hyperlink to learn.microsoft giving details about the Directory Table and the meaning of ".:" for DefaultDirectories
http://bugs.winehq.org/show_bug.cgi?id=58457
--- Comment #1 from Renzo de Paoli depaoli.renzo@gmail.com --- Real World Test Case - Solidworks eDrawings Viewer 2025.
From Dassault website: https://www.solidworks.com/support/free-downloads Select & download eDrawings (64-bit) / Win10/Win11 64-bit / 2025 / 2.0 / Apr 28, 2025
Extract .msi file from .exe under Windows 10 to directory eDrawingsMSI eDrawingsFullAllX64.exe /s /x /b"R:\eDrawingsMSI" /v"/qn" Note: Make sure there are no spaces between /b & /v and the following "
Under Windows 10 msiexec /a "eDrawings.msi" TARGETDIR="R:\eDrawings2025_admin_Win" /qn /L*VX "R:\eDrawings2025_admin_Win-Log.txt"
Under Wine 10.0 / CrossOver 25 msiexec /a "eDrawings.msi" TARGETDIR="R:\eDrawings2025_admin_cx25" /qn /L*VX "R:\eDrawings2025_admin_cx25-Log.txt"
In addition to the error reported in this ticket, the msiexec /a under Wine/CrossOver loses files, the log file reports SourceDirInCodePageErrorMessage = The installation files are in a folder that contains invalid characters: R:\eDrawingsMSI.
http://bugs.winehq.org/show_bug.cgi?id=58457
--- Comment #2 from Renzo de Paoli depaoli.renzo@gmail.com --- Created attachment 78910 --> http://bugs.winehq.org/attachment.cgi?id=78910 Logfiles for eDrawings 2025 .msi test case
http://bugs.winehq.org/show_bug.cgi?id=58457
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.solidworks.com/ | |support/free-downloads Keywords| |download, Installer