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