Yes, you can absolutely select a different location for the application's installation_location (i.e., where the Windows app gets installed during its setup process) on a completely different filesystem than the runner_location (i.e., the path to the Wine runner executable). I'll explain this step by step, including how it works in the context of Wine, Lutris, and Arch Linux, along with any caveats or best practices.
Step 1: Understanding the Key Concepts
-
Runner Location: In Lutris, a "runner" is the engine that runs your Windows application (e.g., Wine, Proton, or DOSBox). When you add a new game/app in Lutris and select Wine as the runner, Lutris may prompt you for the "runner location" if it's not using the system default. This is typically the path to the Wine binary (e.g., /usr/bin/wine if installed via pacman -S wine on Arch, or a custom path like ~/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wine if using a Lutris-managed Wine version). This location is just where the Wine executable lives—it's not directly tied to where your apps are installed.
-
Installation Location: This refers to the directory you choose inside the Windows installer (e.g., when the app's setup.exe asks "Where do you want to install?"). In Wine, this is always relative to a Wine prefix—a virtual Windows environment that mimics a Windows drive structure (e.g., drive_c/Program Files/AppName). The prefix itself is a folder on your Linux filesystem, and you can place it anywhere accessible to Wine/Lutris.
-
File Systems in Linux: Arch Linux (like any Linux distro) supports multiple filesystems mounted at different points (e.g., your root (/) might be on an ext4 partition, /home on a separate btrfs partition, or you could have an external NTFS drive mounted at /mnt/external). As long as the paths are accessible and permissions are set correctly, Wine and Lutris don't care if these are on different physical drives or partitions.
Wine/Lutris handle cross-filesystem access seamlessly because they're just Linux programs interacting with the filesystem via standard POSIX APIs.
Step 2: How to Set This Up in Lutris
Here's how you can configure this during installation:
-
Install Lutris and Wine on Arch Linux (if not already done):
- Update your system:
sudo pacman -Syu.
- Install Lutris:
sudo pacman -S lutris.
- Install Wine:
sudo pacman -S wine winetricks (or use Lutris to manage Wine versions via its runner downloader).
- Optionally, install dependencies for better compatibility:
sudo pacman -S wine-gecko wine-mono giflib lib32-giflib gnutls lib32-gnutls ... (full list in Arch Wiki under Wine).
-
Add a New App/Game in Lutris:
- Open Lutris and click the "+" button to add a new game/app.
- Search for your app or select "Install from a Windows executable" (or similar, depending on the source).
- When prompted, select "Wine" as the runner.
- If asked for runner_location, point it to your Wine binary (e.g.,
/usr/bin/wine or a custom version downloaded via Lutris).
-
Configure the Wine Prefix (This Controls the Installation Base):
- In the game's configuration (right-click the entry in Lutris > Configure), go to the "Runner options" tab.
- Set the Wine prefix to a custom location. This is the root of your virtual Windows environment (e.g.,
/mnt/external/wineprefixes/myapp if you want it on a different filesystem like an external drive).
- The prefix can be on any mounted filesystem—e.g., your main SSD (ext4), a separate HDD (NTFS), or even a network share (NFS/SMB).
- If you don't specify, Lutris defaults to something like
~/.wine or a per-game prefix in ~/.local/share/lutris.
-
Run the Installer:
- Launch the installer via Lutris (point it to your setup.exe or MSI file).
- When the Windows installer asks for an installation_location, choose any path inside the virtual Windows drive (e.g.,
C:\Program Files\MyApp). This will map to a real Linux path like /mnt/external/wineprefixes/myapp/drive_c/Program Files/MyApp.
- The actual files will end up on whatever filesystem hosts your Wine prefix—not necessarily the same as the runner's location.
-
Example Setup with Different Filesystems:
- Runner location:
/usr/bin/wine (on your root filesystem, say /dev/sda1 ext4).
- Wine prefix:
/mnt/external/myapp-prefix (on an external drive, say /dev/sdb1 NTFS or exFAT, mounted at /mnt/external).
- Installation location (chosen in installer):
C:\Games\MyApp → Real path: /mnt/external/myapp-prefix/drive_c/Games/MyApp.
Step 3: Potential Caveats and Best Practices
-
Permissions: Ensure the Wine prefix directory is writable by your user (not root). Use chown -R yourusername:users /path/to/prefix if needed. Wine runs as your user, so it needs read/write access across filesystems.
-
Filesystem Compatibility:
- Wine works best with case-sensitive filesystems (like ext4), but Windows apps often assume case-insensitivity. If using NTFS (common for external drives), enable case-insensitivity via mount options or Wine config if issues arise.
- Avoid FAT32 for prefixes if possible, as it lacks proper permission support.
- If the filesystem is mounted with
noexec (e.g., some external drives), Wine might not run executables—remount without noexec.
-
Performance: If the prefix is on a slow external drive (e.g., USB HDD), loading times may suffer. For best performance, keep it on a fast internal drive (SSD).
-
Symlinks: You can use symlinks to "fake" locations across filesystems (e.g., ln -s /mnt/external/myapp-prefix ~/.wine), but it's usually unnecessary.
-
Multiple Prefixes: Lutris supports per-app prefixes, which is great for isolation. This way, one app's install won't interfere with others, even if on different filesystems.
-
Testing and Troubleshooting:
- After install, test by running the app via Lutris.
- If issues occur (e.g., "file not found" errors), check Lutris logs (in
~/.cache/lutris or via lutris -d in terminal).
- Use
winecfg (from terminal or Lutris) to tweak the prefix settings.
- Common fix: Run
winetricks in the prefix for missing DLLs (Lutris has a tab for this).
-
Arch-Specific Notes: Check the Arch Wiki pages for Wine and Lutris—they're excellent. If using a custom kernel (e.g., Zen), ensure Wine compatibility. For gaming, consider Wine-GE or Proton runners via Lutris for better DXVK/VKD3D support.
Step 4: Why This Works
Wine doesn't "install" apps in the Linux sense—it simulates a Windows environment in a prefix directory. The runner (Wine binary) is just the tool that interprets Windows calls, and it can access any path your user can. Lutris acts as a frontend, managing configs and prefixes, but it doesn't impose restrictions on filesystems.
If you run into specific errors or need help with a particular app/installer, provide more details (e.g., the app name, exact error messages), and I can give more tailored advice!