Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error, possibly related to read access #52

Open
cfbauer opened this issue Dec 24, 2022 · 1 comment
Open

Installation error, possibly related to read access #52

cfbauer opened this issue Dec 24, 2022 · 1 comment

Comments

@cfbauer
Copy link

cfbauer commented Dec 24, 2022

Thanks for all your work on this!!

Here's my error message, it happens after the Windows installer window where I change it from Windows 7 to Windows 10:

Using native override for following DLLs: d3dcompiler_47
Executing wine C:\windows\syswow64\regedit.exe C:\windows\Temp\override-dll.reg
sh: 0: getcwd() failed: No such file or directory
wine: could not open working directory L"unix\\", starting in the Windows directory.
Executing wine64 C:\windows\regedit.exe C:\windows\Temp\override-dll.reg
00f8:fixme:ver:GetCurrentPackageId (000000000031FD70 0000000000000000): stub
0100:fixme:ver:GetCurrentPackageId (000000000031FD70 0000000000000000): stub
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
Can't open user.reg file.Click on Install to everything it asks for.Setting dark...==617788== 
==617788== HEAP SUMMARY:
==617788==     in use at exit: 350 bytes in 2 blocks
==617788==   total heap usage: 8 allocs, 6 frees, 3,474 bytes allocated
==617788== 
==617788== LEAK SUMMARY:
==617788==    definitely lost: 0 bytes in 0 blocks
==617788==    indirectly lost: 0 bytes in 0 blocks
==617788==      possibly lost: 0 bytes in 0 blocks
==617788==    still reachable: 350 bytes in 2 blocks
==617788==         suppressed: 0 bytes in 0 blocks
==617788== Rerun with --leak-check=full to see details of leaked memory
==617788== 
==617788== For lists of detected and suppressed errors, rerun with: -s
==617788== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

I've tried with and without valgrind, each time deleted the photoshop installation directory and starting from scratch. I also tried with sudo but that didn't work and also seems like a bad idea.

@CSMarckitus
Copy link
Owner

CSMarckitus commented Dec 30, 2022

Hello @cfbauer ,
Your error is because the script is trying to setup the dark mode and for this it need to read the user.reg file (generated automatically when you select the Windows 10 version) in: $PATH_OF_INSTALLATION/PhotoshopCC/user.reg but it can't do it for some reason.

For solve some of your problems, I updated the script for optimize some things and for example to ask us if we want the dark version. Also one of the things that I'm happier is that now the script don't ask anymore to click in the Windows libraries for install, now the process is automatic and when Photoshop is installed, it opens in the background and the script asks you well if you want to return to the back of the program or exit.

So in that case, for solve your problem and for let us to decide if we want the dark mode, the script now asks if we want the dark mode. If you want simply install Photoshop, tell the script that you don't won't it.
But if you want the dark mode, when the script asks to you if you want the dark mode, check if the user.reg file that I mention before exists. If not, for some reason Wine is not creating the file.

Thanks for sharing your errors and help to others!!
I'm waiting to know if with the new version works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants