cmd line parameter to set windows version?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
rekuli
Level 2
Level 2
Posts: 26
Joined: Tue Dec 22, 2009 10:12 pm

cmd line parameter to set windows version?

Post by rekuli »

Maybe I have overlooked this in the docu, but I'd like to know if there is a command line option to set the windows version, like eg.
wine --version=98 "c:\\foo\\bar\\spam.exe"
wine --version=xp "d:\\honk.exe"

I am asking because I have quite a lot of windows software (ie., games) that has buggy installers and/or core engines, and switching the wine default version *every* time until I have installed them all and have set the versions to use would be a bit tedious.
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

cmd line parameter to set windows version?

Post by L. Rahyen »

I'd like to know if there is a command line option to set the windows version
It is possible to set it from command line (for example, "winetricks winxp"
or "winetricks win98"), but it is better to install each program in its own
Wine prefix (for example, "~/wine/mygame" or "~/wine/microsoft-office").
Reasons are obvious: you can uninstall a program by deleting its prefix, you
can apply application-specific workarounds without affecting other programs,
and everything will work more reliably this way.
rekuli
Level 2
Level 2
Posts: 26
Joined: Tue Dec 22, 2009 10:12 pm

Post by rekuli »

thanks, that is what I couldn't find out. Your approach is a most sensible idea, anyways. I'll do it that way.
Locked