The forum

Wine prefix management

Author Replies
Malamut Saturday 3 May 2008 at 12:54
MalamutAnonymous

Hellow!!
Firstly, thank you for a very good program!!!

I use it for some games, but sometimes it's very inconveniently doing that because of different wine prefix for all applications. Now in POL is avalible a Tools menu and my applications tab, but i think that it's necessary to add wine prefixes menu or tab where you can change location/settins/wine configurstions etc. And it is necessary to have the ability of running .exe from diffent places using one of created prefixes and install applications to existed prefixes, for example, first create prefix "Programs", then configure it and install to it different small programs like TotalCommander. So prefixes shouldn't be hardly linked to application, but application should be installing/running in existent (or new) prefix.

P.S. Sorry for my english :
chain2k Saturday 3 May 2008 at 20:41
chain2kAnonymous

hi again, read my article on forum.ubuntu.ru as i told u
U CAN install new software in existing prefix with LiveInstall or if you'll add it to the POL script.
and u CANT run .exe from different places with another prefix because of wine nature, that is not because of POL structure.
You can only do it if that is single .exe without registry or system files changes.
check this sample u'll understand what i mean
http://www.playonlinux.com/en/dev-documentation-5.html
and for now beginning from 2.7 version you can add wineimport plugin
http://www.playonlinux.com/script_files/plugins/WineImport_0.1.pol
with it u can map existing system ~/.wine prefix to POL and manage installed applications from it.

Edited by chain2k

Malamut Sunday 4 May 2008 at 20:48
MalamutAnonymous

Well, it will be very good to do something like this:

So,

> Prefix 1
Application 1
Application 2
> Prefix 2
....

And I think, that a list of prefixes shoud be somethere in POL and also should be a command to get it, so in script you can add a chose between existing prefixes, or create a new one.

Edited by Malamut

Quentin PÂRIS Sunday 4 May 2008 at 21:17
Quentin PÂRIS
Admin

Good Idea ! Very nice ! BUT

If iI do that, they'll be a lot of program alone in there prefix you know ?
Malamut Sunday 4 May 2008 at 21:50
MalamutAnonymous

Yes, I understand. Well... you can do something like this (and there are a lot of another ideas):
1. Add menu "Prefixes"
2. Add to it "Create prefixe", "Delete prefix" (with all applications), "Install directx to prefix", "regedit" etc
3. Add entry "Manage prefixes" in which, for example, show a list of created prefixes and near each check box "Show in my application", so, if prefix is checked, in "My applications" tab it will be show like list of applications (with ability of fold/expand), else - only applications.
4. To this menu you can add a lot of another entries)))

Well, I only want to say that now in POL there aren't any tools to manage prefixes: all applications installing to new prefixes and I can't view no information about prefixes. Although I can't see any information about applications too, but it is another topic
Malamut Sunday 4 May 2008 at 22:03
MalamutAnonymous

Also I can add, that if POL is GUI for wine, so it shoud be as flexible as you can do it with as many settings as possible, especially applications and prefixes settings. For example, it's good to add ability of changing command for application by GUI, now if I want to add a parameter to exe I shoud change a file in .PlayOnLinux/configurations/installed, but may be you can add entry Properties to application with open command.
For example, for QIP:
wine "/home/malamut/.wine/drive_c/Programs/QIP/qip.exe" $@
and I want:
wine "/home/malamut/.wine/drive_c/Programs/QIP/qip.exe" /oldgif $@
so, it will be exellent, if I can change it by GUI.