Hah, hah, power outages - oh dear!! I've got a very expensive UPS - because I'm paranoid about that sort of thing (plus I live beside the Railway Station - so we can get brown-outs when trains go by - from time to time)...
I think you're sweating the details a little to much. Once you've got around the (frankly god-awful

) Wine packaging by Debian/Canonical... You're home and dry!!
It's quite hard to break Wine - well as your normal Linux user anyway. You can easily delete and recreate a Wineprefix in seconds
winetricks sandbox
I've edited the directory outputs below (with ellipses
...) to make the before/after change more obvious!!
Before...
Code: Select all
'ls' -al ~/.wine/dosdevices/
total 8
drwxr-xr-x 2 robert users 4096 Jul 12 17:43 .
drwxr-xr-x 4 robert users 4096 Jul 12 17:50 ..
lrwxrwxrwx 1 robert users 10 Jul 5 00:59 c: -> ../drive_c
...
lrwxrwxrwx 1 robert users 1 Jul 5 00:59 z: -> /
'ls' -ahl ~/.wine/drive_c/users/robert/
total 76K
drwxr-xr-x 19 robert users 4.0K Jul 7 23:03 .
drwxr-xr-x 4 robert users 4.0K Jul 5 00:59 ..
...
lrwxrwxrwx 1 robert users 27 Jul 7 23:03 Desktop -> /home/robert/Desktop
...
lrwxrwxrwx 1 robert users 29 Jul 7 23:03 My Documents -> /home/robert/Documents
lrwxrwxrwx 1 robert users 25 Jul 7 23:03 My Music -> /home/robert/Music
lrwxrwxrwx 1 robert users 28 Jul 7 23:03 My Pictures -> /home/robert/Pictures
lrwxrwxrwx 1 robert users 26 Jul 7 23:03 My Videos -> /home/robert/Videos
...
Then sandbox is just a little winetricks function to remove some of the symbolic links above (to your Linux user
${HOME} directory and to your Linux root
/ directory).
After:
Code: Select all
'ls' -al ~/.wine/dosdevices/
total 8
drwxr-xr-x 2 robert users 4096 Jul 12 18:34 .
drwxr-xr-x 4 robert users 4096 Jul 12 18:34 ..
lrwxrwxrwx 1 robert users 10 Jul 5 00:59 c: -> ../drive_c
...
'ls' -al ~/.wine/drive_c/users/robert/
total 96
drwxr-xr-x 24 robert users 4096 Jul 12 18:34 .
drwxr-xr-x 4 robert users 4096 Jul 5 00:59 ..
...
drwxr-xr-x 2 robert users 4096 Jul 12 18:34 Desktop
...
drwxr-xr-x 2 robert users 4096 Jul 12 18:34 My Documents
drwxr-xr-x 2 robert users 4096 Jul 12 18:34 My Music
drwxr-xr-x 2 robert users 4096 Jul 12 18:34 My Pictures
drwxr-xr-x 2 robert users 4096 Jul 12 18:34 My Videos
...
If you want to be able to execute/install Windows applications, with Wine, from outside of a your Wineprefix directory tree, e.g.
Code: Select all
cd ~/Downloads
wine ZET9SETUP229-EN.exe
Then Wine needs:
to be mapped to a Virtual Windows Drive letter or this happens...
Code: Select all
cd ~/Downloads/
wine ZET9SETUP229-EN.exe
wine: cannot find L"unix\\home\\robert\\Downloads\\ZET9SETUP229-EN.exe"
Oh dear!!
To fix this add in the symbolic link back to your Linux root
/ directory:
Code: Select all
cd ~/.wine/dosdevices/
ln -s / 'z:'
So now:
Code: Select all
cd ~/Downloads/
wine ZET9SETUP229-EN.exe
will work!!
Sorry if that's a bit long-winded!! But hopefully you'll get the idea!!
Edit: slower system...??!! Uhmmm
no!! It won't make any difference in the slightest...
Bob