Hello,
I have Wine 1.7.55 running under Mint Rebecca 1.7. I have three programs installed and running uder the default ~/.Wine prefix. I want to add a new WINEPREFIX for a new program - 4nec2. I know others have installed it and got it running.
I used export WINEPREFIX=~/.4mec2 OK so far.
Then wincfg. Tried both as user and root. result same.
winecfg produced a lot of errors (I have to get the output of the terminal to a file to show all). After it finished the winecfg form opened. I selected XP and the tried to install the program. I did see that ~/.4nec2 was created and the usual stuff was there.
Tried to run msiexec Setup_4nec2 from the directory containg the .exe and without changing the WINEPREFIX. This produced the error "fixme:ntdll: ntlockfile I/O completion on lock not implemented yet".
What am I doing wrong? If I need to update Wine please tell me how to do it without causing problems with existing running applications.
Thanks,
Marty
Errors creating new Wine prefix and winecfg
Re: Errors creating new Wine prefix and winecfg
Never run Wine as root, and if you did it as sudo, you've messed up the permissions in the wineprefix. https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3FHam13 wrote: Then wincfg. Tried both as user and root. result same.
I would have to see the actual output to know whether these "errors" are normal for wineprefix creation. I can tell you that Wine's console output tends to be verbose; don't assume everything you see indicates a problem.winecfg produced a lot of errors (I have to get the output of the terminal to a file to show all).
Other than running as root, nothing. And nothing you've posted indicates Wine isn't working. If everything is working, don't worry about what's in the console.What am I doing wrong?
Re: Errors creating new Wine prefix and winecfg
Thank you for your response. I checked the permissions on the .4nec2 directory and they are ok. Now when I run winecfg from the .4nec2 directory I get "Couldn't load module /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so cannot open file or no such directory" I did look for the file and it does not appear to exist.
Tried install on my second Linux PC. This one has the file indicated above. Same result as mentioned above in first post.
Running msiexec /I from the directory containing the Setup_4nec2.exe file creates the error noted in my first post.
Everything is not working as I cannot install 4nec2 to the .4nc2 prefix. What now?
Regards,
Marty
Tried install on my second Linux PC. This one has the file indicated above. Same result as mentioned above in first post.
Running msiexec /I from the directory containing the Setup_4nec2.exe file creates the error noted in my first post.
Everything is not working as I cannot install 4nec2 to the .4nc2 prefix. What now?
Regards,
Marty
Re: Errors creating new Wine prefix and winecfg
That's not a message from Wine and it shouldn't prevent anything from working, but you can get rid of it by installing 32 bit p11-kit.Ham13 wrote:Now when I run winecfg from the .4nec2 directory I get "Couldn't load module /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so cannot open file or no such directory" I did look for the file and it does not appear to exist.
If you had included the .exe extension when you first mentioned this I would have told you that you don't use msiexec to run .exe files. It is only used to run .msi files.Running msiexec /I from the directory containing the Setup_4nec2.exe file creates the error noted in my first post.
https://wiki.winehq.org/Wine_User's_Gui ... s_programs
Re: Errors creating new Wine prefix and winecfg
Thanks. So simple - that did it. The winecfg error was not the problem. Was able to load 4ne2 using the program loader. Works OK. It installed to the default .Wine directory. I wanted it to go to .4nec2. Removed it using Wine uninstaller. Deleted 4nec2 directory from .Wine. Did export WINEPREFIX=~/.4nec2. Then reinstalled. Still installed in .Wine. How do I get it to install to .4nec2. I thought that the prefix would tell it where to install. I need to change some dll settings and I do not want those changes to affect the existing programs.
Regards,
Marty
Regards,
Marty
Re: Errors creating new Wine prefix and winecfg
Exporting the WINEPREFIX should have worked, provided you ran the installer from the command line in the same terminal session. You do have to run the installer from the command line to use a wineprefix other than the default.
Re: Errors creating new Wine prefix and winecfg
Ok. I did not run the installer from the command line. That would be "WINEPREFIX=~/.4nec2 wine installer 4nec2.exe". Is that correct? What did work was env WINEPREFIX... winecfg followed by env WINEPREFIX... wine 4nec2.exe. Which of the two is the better method? I have other modules I want to get in the C/ directory of .4nec2.
Thanks for your help and continued patience.
Regards,
Marty
Thanks for your help and continued patience.
Regards,
Marty
Re: Errors creating new Wine prefix and winecfg
No. There is no "installer" command in Wine. 4nec2.exe IS the installer.Ham13 wrote:Ok. I did not run the installer from the command line. That would be "WINEPREFIX=~/.4nec2 wine installer 4nec2.exe". Is that correct?
What did work was env WINEPREFIX... winecfg followed by env WINEPREFIX... wine 4nec2.exe.
That is correct.