https://bugs.winehq.org/show_bug.cgi?id=44959
Bug ID: 44959 Summary: Adobe Premiere Elements 14 fails to install: ERROR: DF039: Cannot set folder icon. Error 2 File not found.(Seq 4) Product: Wine Version: 3.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: robert.munteanu@gmail.com Distribution: ---
Created attachment 61067 --> https://bugs.winehq.org/attachment.cgi?id=61067 Terminal output from installer
Fresh 32-bit wineprefix, windows 7, winetricks msxml3 to work around bug#30239 . Note that a (free) Adobe account is required to start the trial and there are reports of winetricks corefonts also being necessary.
Manually created $WINEPREFIX/drive_c/windows/system32/catroot to work around bug #44944.
Started the installer in trial mode and the installer failed during the install operation. The error summary file contains the following text:
Exit Code: 7 Please see specific errors below for troubleshooting. For example, ERROR: DF039 ...
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 1 error(s)
----------- Payload: Adobe Premiere Elements 14 14.0.0.0 {F2B38266-FCB4-4577-9F5F-7C93D9AECBA2} -----------
ERROR: DF039: Cannot set folder icon. Error 2 File not found.(Seq 4)
-------------------------------------------------------------------------------------
Some discussion of this issue can also be found in bug #44944
https://bugs.winehq.org/show_bug.cgi?id=44959
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://helpx.adobe.com/pre | |miere-elements/kb/premiere- | |elements-downloads.html Component|-unknown |shell32 Keywords| |download CC| |xerox.xerox2000x@gmail.com Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- I`m currently trying to write a test for this issue (SHGetSetFolderCustomSettings not returning anything useful) AFAICT now we could just fake success for that function and that makes the installer succeed.
FYI: i also filed a bug for a crash in the application itsself:
https://www.winehq.org/pipermail/wine-bugs/2018-April/488646.html
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 61071 --> https://bugs.winehq.org/attachment.cgi?id=61071 simple test
add simple test, currently crashes on windows, even if i remove the test... Investigating why...
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 61072 --> https://bugs.winehq.org/attachment.cgi?id=61072 additional patch 1
update some things in shlobj.h
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 61073 --> https://bugs.winehq.org/attachment.cgi?id=61073 update specs for SHFOLDERCUSTOMSETTINGS
update specs for SHFOLDERCUSTOMSETTINGS
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 61085 --> https://bugs.winehq.org/attachment.cgi?id=61085 patch
The attached patch should do the trick I guess for Adobe installer
I`m still struggling with the tests, looks like SHGetSetFolderCustomSettings is not exported by name in XP/2003, only by ordinal.
It says this early version handles both ansi and unicode and i`ve not been able to write a test for this early version that results in something succeeding (always fails). Maybe drop these tests?
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #6 from Robert Munteanu robert.munteanu@gmail.com --- I'm currently running a vanilla wine 3.5 with the following patches on top
- https://bugs.winehq.org/attachment.cgi?id=61056 - https://bugs.winehq.org/attachment.cgi?id=61073 - https://bugs.winehq.org/attachment.cgi?id=61061
The installer still fails though
Exit Code: 7 Please see specific errors below for troubleshooting. For example, ERROR: DF039 ...
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 5 error(s)
----------- Payload: Microsoft Visual C++ 2013 Redistributable Package (x86) 12.0.30501.0 {636D196A-789E-455D-825E-3FA79F67D446} -----------
ERROR: Third party payload installer vcredist_x86.exe failed with exit code: 2147746065
ERROR: Failed to repair Microsoft Visual C++ 2013 Redistributable Package (x86). Please try repairing it by double clicking on the executable at "Z:\home\robert\Desktop\Adobe Premiere Elements 14\PRE 14\payloads\Microsoft VC 2013 Redist (x86)\vcredist_x86.exe", or download and install the latest Microsoft Visual C++ 2013 Redistributable Package (x86) from Microsoft website - www.microsoft.com
----------- Payload: Microsoft Visual C++ 2012 Redistributable Package (x86) 11.0.61030.0 {873BE68F-480F-49A6-9649-F98CAB056AFC} -----------
ERROR: Third party payload installer vcredist_x86.exe failed with exit code: 2147746065
ERROR: Failed to repair Microsoft Visual C++ 2012 Redistributable Package (x86). Please try repairing it by double clicking on the executable at "Z:\home\robert\Desktop\Adobe Premiere Elements 14\PRE 14\payloads\Microsoft VC 2012 Redist (x86)\vcredist_x86.exe", or download and install the latest Microsoft Visual C++ 2012 Redistributable Package (x86) from Microsoft website - www.microsoft.com
----------- Payload: Adobe Premiere Elements 14 14.0.0.0 {F2B38266-FCB4-4577-9F5F-7C93D9AECBA2} -----------
ERROR: DF039: Cannot set folder icon. Error 2 File not found.(Seq 4)
-------------------------------------------------------------------------------------
Is this expected? Should I add more patches?
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 61087 --> https://bugs.winehq.org/attachment.cgi?id=61087 hack
(In reply to Robert Munteanu from comment #6)
Is this expected? Should I add more patches?
Yes, then you also need
https://www.winehq.org/pipermail/wine-devel/2018-April/125599.html and
https://bugs.winehq.org/attachment.cgi?id=61085&action=diff&context=...
A bit easier for now is to use the attached hack. All these shell32-patches are needed for is to create a desktop.ini file, which is not needed for the working of the program anyway.
So with the attached hack, the winmm hack and the catroot patch that error about folder icon not found should be gone and the app should install and start. Preferably in a clean WINEPREFIX
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #8 from Robert Munteanu robert.munteanu@gmail.com --- (In reply to comment #7)
Created attachment 61087 hack
(In reply to Robert Munteanu from comment #6)
Is this expected? Should I add more patches?
Yes, then you also need
https://www.winehq.org/pipermail/wine-devel/2018-April/125599.html and
https://bugs.winehq.org/attachment.cgi?id=61085&action=diff&context=...
A bit easier for now is to use the attached hack. All these shell32-patches are needed for is to create a desktop.ini file, which is not needed for the working of the program anyway.
Ah, right. I also added the missing patches and the program installs and starts up fine for me, even though the errors regarding "Third party payload installer vcredist_x86.exe failed with exit code: 2147746065" still appear.
So with the attached hack, the winmm hack and the catroot patch that error about folder icon not found should be gone and the app should install and start. Preferably in a clean WINEPREFIX
Indeed, that works, thanks a lot for your efforts! Out of curiosity
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #9 from Robert Munteanu robert.munteanu@gmail.com --- (submitted too soon)
Out of curiosity, what would be the mechanism to draw some attention to https://bugs.winehq.org/show_bug.cgi?id=44953 ?
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #10 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 61139 --> https://bugs.winehq.org/attachment.cgi?id=61139 test for SHGetSetFolderCustomSettings
I add small test for SHGetSetFolderCustomSettings here
The test pass on 32-bit testbots, but the last one fails on 64-bit. And I don`t know why. So currently stuck, anyone an idea?
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #11 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 61140 --> https://bugs.winehq.org/attachment.cgi?id=61140 updated patch
updated patch, if path does not end with backslash it should be added
https://bugs.winehq.org/show_bug.cgi?id=44959
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |730264609f468d7aa0973edc9a4 | |35bd20373c1cd
--- Comment #12 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, Fixed with 730264609f468d7aa0973edc9a435bd20373c1cd
https://bugs.winehq.org/show_bug.cgi?id=44959
--- Comment #13 from Robert Munteanu robert.munteanu@gmail.com --- (In reply to comment #12)
Hi, Fixed with 730264609f468d7aa0973edc9a435bd20373c1cd
Great, thanks for your persistence with this :-)
https://bugs.winehq.org/show_bug.cgi?id=44959
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.8.