maslec00
2009-Nov-24 16:00 UTC
[Wine] Enable central installation with a global system.reg file
I need to create a central installation of wine applications, which would be available for all users. Every user installing a copy of all software into their home directory is wasteful of diskspace and a support-impossibility . I have wine-1.0.1 installed and have attempted to follow the documentation to produce central installation. I have had partial success installing all software as an admin user "wineadm" and then using another test user "wineuser1". wineuser1 can successfully find the software by redirecting the path to the c: drive for wineuser1 to the c: drive for wineadm:- ls -l dosdevices/ total 0 lrwxrwxrwx 1 wineuser1 wineuser1 30 Nov 20 16:42 c: -> /scratch/wineadm/.wine/drive_c lrwxrwxrwx 1 wineuser1 wineuser1 1 Nov 20 16:27 z: -> / If I replace wineuser1's system.reg file with wineadm's system.reg file, then all is well. However, this step needs to be automated, so that new sofware installs are seen by all users. According to "3.2.4. System Administration Tips", if the "global" system.reg file is copied to /usr/local/etc/wine.systemreg, then that file can be used by all users. However, my wine-1.0.1 installation only has the directories bin, include, lib and share. Even if I create the directory etc and place wine.systemreg there, it is not used by wineuser1. If I symlink wineuser1's system.reg to wineadm's system.reg file, the next time wine is called by wineuser1, the symbolic link is removed and the file is copied there, which is only good until a new software install is made. Please advise how I can deploy a central system.reg file?
vitamin
2009-Nov-25 01:17 UTC
[Wine] Re: Enable central installation with a global system.reg file
maslec00 wrote:> I need to create a central installation of wine applications, which would be available for all users. Every user installing a copy of all software into their home directory is wasteful of diskspace and a support-impossibility .Unfortunately that's what you will have to do. Wine currently does not support multi-user installations. At best you can share some program/data files read-only. However each user will have to have their own wineprefix directory with individual copies of the full registry.> According to "3.2.4. System Administration Tips", if the "global" system.reg file is copied to /usr/local/etc/wine.systemreg, then that file can be used by all users.This no longer works (for several years actually). Documentation is wrong and really needs to be updated.