Basically all I want to do is install all my applications onto my external drive. I have tried deleting the .wine folder and it just reappears, I have tried changing the drives in winecfg but it won't let me alter the c drive. I have tried using autodetect and it doesn't even see my external drive, it just brings up the c drive, the z drive, my cd drive and internal disk. So can anyone help with what I presumed would be an easy task?
douglas wrote:> Basically all I want to do is install all my applications onto my external drive. I have tried deleting the .wine folder and it just reappears, I have tried changing the drives in winecfg but it won't let me alter the c drive. I have tried using autodetect and it doesn't even see my external drive, it just brings up the c drive, the z drive, my cd drive and internal disk. > > So can anyone help with what I presumed would be an easy task?The default wineprefix is ~/.wine. To install anywhere else, you need to specify the wineprefix, e.g.: Code: WINEPREFIX=/path/to/location wine setup.exe You will need to specify that wineprefix everytime you run anything installed to it, including Wine utilities like winecfg, regedit, etc.
On Sun, Nov 15, 2009 at 22:51, vitamin <wineforum-user at winehq.org> wrote:> > douglas wrote: >> Is there a way to do this without using the terminal? > > Yes, you can this to your ~/.bashrc: > > Code: > export WINEPREFIX=/path/to/external/drive/.wine >Just a note: It might have problems if the drive is not formated in an unix-like filesystem.
Sorry for being a total newbie but what does this mean:?> Yes, you can this to your ~/.bashrc:
douglas wrote:> Sorry for being a total newbie but what does this mean:? > > > Yes, you can this to your ~/.bashrc: >Forgot "add":> Yes, you can add this to your ~/.bashrc:"~/.bashrc" is the name of the file.
Ah I see so I just copy that line into that file. Good, this is all getting easier. Thanks again.
> No, its not wrong. It obviously works BUT it will only work in that > login on that computer. Also, you'll have to remember that its there and > override it for for other WINE environments.Sorry Martin I should have been more clear. It works when I use wine from the terminal. What I am trying to achieve though is the same results but when using the point and click stuff. And this is when it is not working. When I select wine configuration from the menu it adds the wine folder to the internal drive instead of the external one. Hope that makes sense. Thank you for your patience.
douglas wrote:> > Sorry Martin I should have been more clear. It works when I use wine from the terminal. What I am trying to achieve though is the same results but when using the point and click stuff. And this is when it is not working. When I select wine configuration from the menu it adds the wine folder to the internal drive instead of the external one. >Edit the menu entry for winecfg to point to the wineprefix on the external drive.
Okay so the command for the menu shortcut to winecfg now looks like: WINEPREFIX=/media/External/Wine/.wine winecfg However when I use it I get the error "Failed to execute child process "WINEPREFIX=/media/External/Wine/.wine" (No such file or directory)"
douglas wrote:> Okay so the command for the menu shortcut to winecfg now looks like: > > WINEPREFIX=/media/External/Wine/.wine winecfg > > However when I use it I get the error "Failed to execute child process "WINEPREFIX=/media/External/Wine/.wine" (No such file or directory)"env WINEPREFIX=/media/External/Wine/.wine winecfg
> You should load the installer from the command-line after exporting > the variable. (The variable only changes for that process and its > children if you are wondering...)Thing is, what I am trying to do here is avoid using the command line as much as possible. To have it running using the menus like I would normally. Oh and how do I check the drive format?
on mount it says Code: /dev/sdb1 on /media/External type [b]fuseblk[/b] (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) Is fuseblk the format? If so is that because I am using ifuse and does that have any implications? As for the original question. I'm just going to have to us the terminal aren't I?
I'll try it Martin though due to me total beginner status I am a little wary of scripts and the like just now. Also I am trying to find the Occam's solution to this and while the script may work I was kinda hoping there was some kind of little nugget of knowledge that made this just kinda simple. Alas it looks like that is not going to be the case.
Disc space is one reason, portability is another. How would I use symbolic links to solve this though?
spedrosa at gmail.com
2009-Nov-18 14:50 UTC
[Wine] Putting the c drive on an external drive
On Sun, Nov 15, 2009 at 8:43 AM, douglas <wineforum-user at winehq.org> wrote:> Basically all I want to do is install all my applications onto my external > drive. I have tried deleting the .wine folder and it just reappears, I have > tried changing the drives in winecfg but it won't let me alter the c drive. > I have tried using autodetect and it doesn't even see my external drive, it > just brings up the c drive, the z drive, my cd drive and internal disk. > > So can anyone help with what I presumed would be an easy task? > > > > > >Do you need a whole new wineprefix? Because if you don't mind having .wine residing in your home folder, you could just create a new drive, pointing to the external one. Run winecfg to create the drive. --Stephen programmer, n: A red eyed, mumbling mammal capable of conversing with inanimate monsters. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.winehq.org/pipermail/wine-users/attachments/20091118/5f513b70/attachment.htm>
Still nothing. Code: douglas at douglas-laptop:~$ wine msiexec /i /home/douglas/Desktop/SteamInstall.msiWarning: could not find DOS drive for current working directory '/home/douglas', starting in the Windows directory. err:msi:copy_package_to_temp failed to copy package L"/home/douglas/Desktop/SteamInstall.msi" fixme:msi:MSI_OpenDatabaseW open failed r = 80030003 for L"/home/douglas/Desktop/SteamInstall.msi" douglas at douglas-laptop:~$ wine msiexec /home/douglas/Desktop/SteamInstall.msiWarning: could not find DOS drive for current working directory '/home/douglas', starting in the Windows directory. Usage: Install a product: msiexec {package|productcode} [property] msiexec /i {package|productcode} [property] msiexec /a package [property] Repair an installation: msiexec /f[p|o|e|d|c|a|u|m|s|v] {package|productcode} Uninstall a product: msiexec /x {package|productcode} [property] Advertise a product: msiexec /j[u|m] package [/t transform] [/g languageid] msiexec {u|m} package [/t transform] [/g languageid] Apply a patch: msiexec /p patchpackage [property] msiexec /p patchpackage /a package [property] Modifiers for above operations: msiexec /l[*][i|w|e|a|r|u|c|m|o|p|v|][+|!] logfile msiexec /q{|n|b|r|f|n+|b+|b-} Register a module: msiexec /y module Unregister a module: msiexec /z module Display usage and copyright: msiexec {/h|/?} NOTE: Product code on commandline unimplemented as of yet Copyright 2004 Vincent B?ron douglas at douglas-laptop:~$ wine start /home/douglas/Desktop/SteamInstall.msiWarning: could not find DOS drive for current working directory '/home/douglas', starting in the Windows directory. err:start:wmain Option 'L"/home/douglas/Desktop/SteamInstall.msi"' not recognized Start a program, or open a document in the program normally used for files with that suffix. Usage: start [options] program_filename [...] start [options] document_filename Options: /M[inimized] Start the program minimized. /MAX[imized] Start the program maximized. /R[estored] Start the program normally (neither minimized nor maximized). /W[ait] Wait for started program to finish, then exit with its exit code. /Unix Use a Unix filename and start the file like windows explorer. /L Show end-user license. start.exe version 0.2 Copyright (C) 2003, Dan Kegel Start comes with ABSOLUTELY NO WARRANTY; for details run with /L option. This is free software, and you are welcome to redistribute it under certain conditions; run 'start /L' for details. And during that it reverted back to the internal drive.
> > Code: > douglas at douglas-laptop:~$ wine msiexec /i /home/douglas/Desktop/SteamInstall.msi > >Reread what I told you to do.> > And during that it reverted back to the internal drive.Reread my original reply about installing to a wineprefix other than the default.