I know I haven’t made a big deal of it, but there is actually a command line tool included in Vineyard: vineyard-cli.
Vineyard-cli can create configurations, list installed programs, uninstall programs, map drives, setup virtual desktops, set audio options, set graphics options, well basically almost everything that vineyard-preferences can do so it’s excellent for use in scripts.
The reason I’m mentioning it is that I was working on an install script for the 2010 release of Aliens vs. Predator yesterday and I realised that this kind of stuff is really easy to do with vineyard-cli.
Let me show you.
To install Aliens vs. Predators 2010 edition in a separate configuration from the DVD using vineyard-cli: vineyard-cli --add-conf "AvP3"
vineyard-cli --use-conf "AvP3" --run 'winetricks d3dx9 d3dx10 physx vcrun2005'
vineyard-cli --use-conf "AvP3" --run 'D:\install.exe'
vineyard-cli --use-conf "AvP3" --set-registry 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\dxregsvc' 'Start' 'dword:00000003'
vineyard-cli --use-conf "AvP3" --run 'C:\Program Files\Aliens vs. Predator\AvP.exe'
These few lines sets up a separate configuration, installs DirectX 9, DirectX 10, NVIDIA PhysX and the Microsoft Visual C++ 2005 libraries (using winetricks), runs the installer, sets dxdllreg.exe to not be run on configuration startup and runs the game – that’s it!
You know how the best way to test something is to just use it? Well, using this turned out to be quite easy 😉 Here’s the Perpetuum public beta running happily through Vineyard: To run, just download the very small client from Perpetuum’s website, run it with Vineyard Launcher and select also to install Direct3D…
After the somewhat disappointing release of the beta (did anyone download it?), I thought I’d tell a bit about the new features. Steam is supported quite nicely. Steam applications and games are listed and can be run just like normal programs as well as uninstalled directly from Vineyard. New funtions have been added to the…
Yeah, I know; it’s been a while. But I’ve been busy! I promise! Today I got some time to work on a little thing I’ve been meaning to do for quite some time. Let’s see if you can guess it from this screenshot: That’s right, now no matter if you launch a program from within…
A picture speaks a thousand words: Granted, the implementation is slightly simple right now, there is no progress bar for downloading installation files right now, but otherwise it works! I should have done this earlier… Yes, it will be released soon, don’t worry 😉 Will hit the trunk branch on Launchpad shortly.
Help fund development by donating
Software development takes lots of time. If you appreciate the effort, please consider donating.
Donate a little:
Donate what you want:
Looking for professional support of Wine?
Try Codeweavers' CrossOver!
Sales from this banner help both Wine and Vineyard!