dependencies icon indicating copy to clipboard operation
dependencies copied to clipboard

[Report] windows6.1-kb976932-x86.exe does not extract properly. Related to include an apostrophe in the bottle name

Open gfigueroap opened this issue 9 months ago • 0 comments

Which dependency? Error occurs with [mediafoundation], [mfc40], [msftedit]

Problem type failed to install

Describe the problem To install them, they all need to extract windows6.1-kb976932-x86.exe, but that doesn't happen for those dependencies in specific when the bottle has an apostrophe ( ' ) in its name. Instead, it creates the directory shown below. To clarify, it was tested on a brand new bottle named " Test'1 ". Im also running silverblue, so $HOME=/var/home/g_figueroa_p/.

/var/home/g_figueroa_p/'/var/home/g_figueroa_p/.var/app/com.usebottles.bottles/data/bottles/bottles/Test'"'"'1/drive_c/windows/syswow64/'

Basically instead of $HOME/path/to/bottle, it reaches for $HOME/'/$HOME/path/to/bottle/'

The problem does not happen with new bottles without an apostrophe nor with duplicates of "Test'1" renamed to a apostrophe-less name. Neither does it happen with the following dependencies, [qasf], [qcap], [qdvd], [qedit], [quartz] [urlmon], [wininet] [iertutil], [gdiplus], which also require the .exe file preciously mentioned:. In all such cases mentioned, the extraction works, and the dependencies are installed correctly. Whether the bottle environment is for applications or gaming, it does not seem to matter.

Below is the output for [mediafoundation], [mfc40] and [msftedit].

mediafoundation

21:35:52 (INFO) Installing dependency [mediafoundation] in bottle [Test'1]. 
21:35:52 (WARNING) File [windows6.1-kb976932-x86.exe] already exists in temp, skipping. 
21:35:54 (WARNING) File [windows6.1-kb976932-x64.exe] already exists in temp, skipping. 
21:35:58 (ERROR) Error while extracting cab file /var/home/g_figueroa_p/.var/app/com.usebottles.bottles/data/bottles/temp/windows6.1-kb976932-x86.exe:
	[Errno 2] No such file or directory: '\'/var/home/g_figueroa_p/.var/app/com.usebottles.bottles/data/bottles/bottles/Test\'"\'"\'1/drive_c/windows/syswow64/\'/x86_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_9e6699276b03c38e//mf.dll'

mfc40

21:39:27 (INFO) Installing dependency [mfc40] in bottle [Test'1]. 
21:39:28 (WARNING) File [windows6.1-kb976932-x86.exe] already exists in temp, skipping. 
21:39:31 (ERROR) Error while extracting cab file /var/home/g_figueroa_p/.var/app/com.usebottles.bottles/data/bottles/temp/windows6.1-kb976932-x86.exe:
	[Errno 2] No such file or directory: '\'/var/home/g_figueroa_p/.var/app/com.usebottles.bottles/data/bottles/bottles/Test\'"\'"\'1/drive_c/windows/syswow64//\'/x86_microsoft-windows-mfc40_31bf3856ad364e35_6.1.7601.17514_none_5c06580240091047//mfc40.dll'

msftedit

01:27:59 (INFO) Installing dependency [msftedit] in bottle [Test'1]. 
01:28:01 (WARNING) File [windows6.1-kb976932-x86.exe] already exists in temp, skipping. 
01:28:03 (WARNING) File [windows6.1-kb976932-x64.exe] already exists in temp, skipping. 
01:28:07 (ERROR) Error while extracting cab file /var/home/g_figueroa_p/.var/app/com.usebottles.bottles/data/bottles/temp/windows6.1-kb976932-x86.exe:
	[Errno 2] No such file or directory: '\'/var/home/g_figueroa_p/.var/app/com.usebottles.bottles/data/bottles/bottles/Test\'"\'"\'1/drive_c/windows/syswow64/\'/x86_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7601.17514_none_d7d862f19573a5ff//msftedit.dll'

gfigueroap avatar Sep 16 '23 06:09 gfigueroap