The 5.1.4.2 LibreOffice installer for Windows changes the permissions of photoshop.exe in the registry making it impossible to install Photoshop CC 2015.5.1. After the permissions are changed the Photoshop installer fails and returns the following message. Exit Code: 160 -------------------------------------- Summary -------------------------------------- - 2 fatal error(s), 0 error(s), 1 warnings(s) FATAL: Error (Code = 160) executing in command 'SetRegistryValueCommand' for package: 'AdobePhotoshop17-Core_x64', version:17.0.1.159 FATAL: Error occurred in install of package (Name: AdobePhotoshop17-Core_x64 Version: 17.0.1.159). Error code: '160' WARN: Error Setting Registry - Start 64-bit:1 root:2 key:SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Photoshop.exe name:Default type:REG_SZ data:C:\Program Files\Adobe\Adobe Photoshop CC 2015.5\Photoshop.exe. Check for Registry permissions. (Error: Error 5 Access is denied.) The manual fix is to run regedit and navigate to: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/App Paths/Photoshop.exe Then have Administrators take ownership and allow changes. I verified that before LibreOffice 5.1.4.2 was installed, the permissions on photoshop.exe were - Everyone was allowed full control. Then, immediately after LibreOffice 5.1.4.2 was installed, the permission were changed to Everyone did not have full control, but could only read. This error occurred on over four different computers running Windows 7 Pro 64 bit - HP, Dell and Lenovo. The problem did not occur on a Dell and HP computer running Windows 10 Pro 64 bit.
I have now determined that the permission for photoshop.exe do not change if the owner is Administrators, only if the owner is System.
I highly doubt this has anything to do with LibreOffice. I don't know how Photoshop works, but looking at entries for different software (firefox.exe for example) shows that no permissions have to be added for Everyone at all, let alone Full Control. Also, I can hardly imagine LibreOffice installer being able to change permissions, maybe it has to do with the system. Either way, since Adobe knows why they need that specific permission, I suggest checking with them if and how other installers could interfere with it. If they have specific change requests that don't interfere with normal usage, those could be considered (or they are welcome to contribute the changes themselves).
Thank you for your response. I have already checked with Adobe, I do not know what they will do. I knew the permissions had been somehow changed, but didn't know the cause. I spent some time puzzling it out but eventually found that it was the LibreOffice Installer. I have no idea why the installer is doing this but I know for an absolute certainty that it is. As my final test, I had regedit open and could see the permissions on photoshop.exe (everyone had full permissions), I then installed LibraOffice 5.1.4.2 and immediately checked the photoshop.exe permissions. They had changed (everyone only had read permission)! The only 3rd party software running at the time the permissions were changed was LibreOffice. I repeated this test on another Windows 7 Pro system and the exact same thing happened. It is a repeatable bug across different makes of Window 7 Pro PCs from various users. This has happened on over four Windows 7 Pro PCs so far. The original owner of the photoshop.exe key is System when this change occurs. Once the photoshop.exe key owner is changed to Administrators, the change does not occur. The change does not occur on Windows 10 Pro PCs at all. From my point of view, this bug has not been resolved and is still active.
I think it is worth your time to do a little research on this. If the installer is changing the photoshop.exe permissions what other changes might it inadvertently be making in the registry?
Unless you can provide reproduction steps that doesn't require Photoshop, the chance that this issue will be followed upon is very slim, as it can't be reproduced by others. As I wrote, Adobe has the resources to provide more information on this, and they are welcome to. For now what I can see is that their forum is full of this issue (are those all LibreOffice users?), and they only offer manual fix steps with no explanation. I can leave the status as UNCONFIRMED if that's what you want, but there's nothing else I can add here.
Thanks again for responding so fast. You can change the status as you see fit. Since the bug I found directly involves Photoshop CC, there is no way I can demonstrate it without Photoshop CC installed. Anyone can install a trial version of Photoshop CC for free (30 days I think), so that should not be a limiting factor. It's possible that the bug is Adobe's and occurs when other apps are installed as well. I don't have the ability to research that possibility.
Yep I checked the forums and they are still getting questions regarding permission problems. This thread had an interesting bit: https://forums.adobe.com/thread/2205195 "Another possibility is Process Monitor from Sysinternals-a Microsoft company This tool looks at exactly what is happening during an installation of anything and produces a log." Maybe you could get a log of LibreOffice installation and see, if the permission change is in that log?
LibO 5.1.6.2 is out and 5.2.2.2 as well. did you try install these versions to see if the issue is still reproducible?
No. I am just an end user, not a tester. When I encountered the bug, I found a work around by using regedit to change the permissions. I verified the bug on several computers and reported it. In the past I was in charge of Engineering for several silicon valley companies and had QA reporting to me so I understand the drill but I don't have the time to work on a bug that I can work around and is not mine. Nor am I conversant in the latest testing tools. This bug could be in Libre Office, Adobe Photoshop, Windows or a combination of them or something else entirely.
Stuart: any idea about this (see my comment 7)? Notourbug?
(In reply to Buovjaga from comment #10) > Stuart: any idea about this (see my comment 7)? Notourbug? @Stuart, any opinion here?
OK, so spent some time with this. I also am not convinced the issue is LibreOffice's installer. This appears to be common with the CS/CC suite installs and points to an Adobe installer issues [1]. I've only got CS5 to work with, and as Adobe did not use .MSI packaging--so can not open the installer with ORCA to review what would be laid down as permissions for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths stanzas However, not just Photoshop, but Adobe Flash Catalyst, Dreamweaver and Fireworks all are assigned the EVERYONE => Read Only settings (it is not inherited). While Acrbat, Bridge, Flash, Illustrator, and InDesign all have more reasonable User => Read Only and Administrators => Full Control. Technically the EVERYBODY is not wrong--but also not correct--looks like Adobe screwed that up. Otherwise having to enable EVERYONE => Full Control is flat out a security flaw. I doubt that state was left by the Adobe installer. The correct way to fix this is to open the KEY, set Permissions--and change Owner to Administrators (select replace child object permissions) _AND_ deleting the EVERYONE entry. Absent an actual installation log of Creative Suite/Creative Cloud showing the permissions set, and a log of LibreOffice actually touching those KEYs in registry comfortable closing NOTOURBUG =-ref-= [1] https://forums.adobe.com/thread/2193296