Forcing software to be installed in a particular location OR running in sandbox


vranghel

New member
Local time
5:40 AM
Posts
24
OS
Windows 11
Hi!

I want to play around with large language models and image generation, and two of the beginner friendly software solutions that i came across are LM Studio(👾 LM Studio - Discover and run local LLMs) and Pinokio (👾 LM Studio - Discover and run local LLMs)

The problem is that these will only install in the predefined location on C drive, with no apparent way to change the partition. Since the models used with this will be very large, i don't want to fill my C partition. Additionally, i don't want to have files spread all over the drive/drives because Pinokio has a lot of dependencies which need to be installed. Also when it's time to uninstall, i dont want to have leftover files and or registry entries. I've looked for solutions but there's pretty much no way to force the installation into another drive/folder

Is there a way to install them in some sort of virtual machine/sandbox?
I know that certain versions of Win 11 come with Windows Sandbox installed, but my Education version does NOT come with Windows Sandbox.

tldr; 1. How to force an app to install in a specific folder/drive
2. Which virtualization/sandbox solution would be best suited to use to install these - so all files and dependencies are included in a single file

Thanks!
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Additionally, i don't want to have files spread all over the drive/drives because Pinokio has a lot of dependencies which need to be installed.
I can't speak to the program itself but generally the installs I've done have a point early in the process to confirm where to install, can be a Custom install as desired. The dependencies mentioned will be in the process such as creating the folders and copying files to them, putting the icons/shortcuts where needed, copying supporting files into the Windows and it sub folders and creating Registry entries that tell Windows how to run the program/s. I've not worked with an Education edition of Windows yet, don't have a college in small town, so don't know if or what restrictions exist.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 2TB WDC HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
I can't speak to the program itself but generally the installs I've done have a point early in the process to confirm where to install, can be a Custom install as desired. The dependencies mentioned will be in the process such as creating the folders and copying files to them, putting the icons/shortcuts where needed, copying supporting files into the Windows and it sub folders and creating Registry entries that tell Windows how to run the program/s. I've not worked with an Education edition of Windows yet, don't have a college in small town, so don't know if or what restrictions exist.
I know what you mean, by these two do not have the option to choose install location.

A potential solution I came across however quite complicated and not familiar with is Containers, such as docker.

Is there a better solution or avenue I could investigate?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
I'm also not familiar with Containers, most times doing the Custom install have been with insufficient disk space on the default drive.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 2TB WDC HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Create a junction at the place it wants to install to, and make the junction point to wherever you want the files to really reside.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 [rev. 3447]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical Keyboard with Cherry MX Clears
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical Keyboard - Cherry MX Clear

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Mouse
    Logitech G402
    Keyboard
    Logitech K800
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
Thanks hdmi. Tried Sandboxie but the installation doesn't work on it for both. I assume because they are built with Electron: running the install file just takes the user to the app after a few seconds. All data is installed C:\Users\User\.cache and in AppData.

I managed to install Windows Sandbox and it kinda works, but need to figure out how to give it more resources: full access to the GPU and more memory and HDD to the virtual image
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
After you installed Sandboxie-Plus, did you right-click on the installer of the software package and choose Run Sandboxed? If you did, then nothing should be installed either in %UserProfile%\.cache or in %AppData% (and every modfification to the filesystem should be redirected to the sandbox, the location of which you can specify by using the FileRootPath setting).
 

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Mouse
    Logitech G402
    Keyboard
    Logitech K800
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
After you installed Sandboxie-Plus, did you right-click on the installer of the software package and choose Run Sandboxed? If you did, then nothing should be installed either in %UserProfile%\.cache or in %AppData% (and every modfification to the filesystem should be redirected to the sandbox, the location of which you can specify by using the FileRootPath setting).
Yes, and getting this error:
1704960068683.png
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
In that case you might be better off installing the software application in question on a separate installation of Windows (either via Native Boot with a VHDX or via a multi-boot configuration). I am afraid Windows Sandbox doesn't have the type of advanced capabilities that you are looking for. Whereas, as you probably know, running in a full-fledged VM like Hyper-V also doesn't provide direct access to the hardware so, it would kind of defeat the purpose IMO.

Sandboxie-Plus is unique in that it doesn't have these specific types of drawbacks, and, although it did receive a series of heavy updates (some of which have been to make it more compatible with Electron-based software applications) a while back, some compatibility issues still haven't been worked out yet, which is a bit unfortunate IMO. You could maybe consider opening a discussion topic on GitHub about the issue. The good news is, Sandboxie-Plus is still actively being developed.
 

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Mouse
    Logitech G402
    Keyboard
    Logitech K800
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF

Latest Support Threads

Back
Top Bottom