Any way to run Wine installer sans gui?

Questions about Wine on Linux
Locked
blue-ice
Newbie
Newbie
Posts: 3
Joined: Sun Aug 10, 2014 10:36 am

Any way to run Wine installer sans gui?

Post by blue-ice »

Hi all,

Newb here, but an old hand elsewhere... :)

Anyway, the kind folks at Stack Overflow haven't really been able to answer my question https://stackoverflow.com/questions/252 ... wine-setup yet, and there is a good chance that it will just sink down into the muck of unanswered questions there. I thought that I would ask here instead, to , you know, get an answer from people who work more closely with Wine.

Anyway, I am working right now on installing SketchUp onto a fresh computer with Wine, using only a single bash command in a makefile. However, whenever I run

Code: Select all

env `WINEPREFIX="/home/$(whoami)/.callix-wine" WINEARCH="win32" wine "wineboot"`
in the makefile, this little window (attached) pops up.

Is there any way to not have the window pop up? Can you turn off the GUI somehow for the wine setup, using some sort of environment variable or flag when running the command?

Thanks,
Blue Ice
Attachments
2014-08-10-003214_1280x800_scrot.png
2014-08-10-003214_1280x800_scrot.png (5.26 KiB) Viewed 1701 times
blue-ice
Newbie
Newbie
Posts: 3
Joined: Sun Aug 10, 2014 10:36 am

Re: Any way to run Wine installer sans gui?

Post by blue-ice »

Looking at

Code: Select all

xvfb-run
and it is working so far. I'll post code in a bit
blue-ice
Newbie
Newbie
Posts: 3
Joined: Sun Aug 10, 2014 10:36 am

Re: Any way to run Wine installer sans gui?

Post by blue-ice »

I have a file called

Code: Select all

wine-setup.sh
:

Code: Select all

#!/bin/bash

# Make a new WINEPREFIX in the user's home directory entitled ".wine"
env `WINEPREFIX="/home/$(whoami)/.wine" WINEARCH="win32" wine "wineboot"`
Run the file with

Code: Select all

xvfb-run ./wine-setup.sh
And no window appears!
Locked