0

I don't really know how much better to phrase the title, but what I'm wanting to do is fairly simple.

I want to install Age of Empires II. This installs itsself to a folder, and sets its install location in the registry.

I then want to install a second copy of it, along with some software called Voobly. Voobly checks the registry to see where the AoE2 install folder is, so I can't point it to a different copy of the game.

I then want to install a third copy which has a few varying mods and patches applied, but most of the installers for these mods again use the registry to check where the game is installed.

The obvious way for it to work in my head would be to have "containers" for each installation to isolate them from the main registry and from eachother. One that has just AoE2, one that has AoE2 and Voobly, and one that has AoE2 and all of the mods.

Obviously this could be done the horrendous way with a suite of virtual machines, but that's just silly. I figure there has to be a way to have an application and it's associated data and libraries in a self-contained unit.

I tried looking at Docker, but it's very obviously designed for uses that are a lot more complex than what I'm doing, and also looks to be designed to be intergrated into the source of whatever software uses it. I also have absolutely no idea what I'm doing with it. When I tried to do something with a windows image it ended up downloading a 4gb system image to somewhere and I can't find that now. It also seems a bit excessive to have a full 4gb image for a 200MB game, I figure there has to be a simpler solution to this.

4
  • 1
    Where in the registry is this stored? Is it stored in hkey_current_user, or hkey_local_machine? If its the first, you could create different windows users and install the game for each user. If you use any virtualising technique, you will get a serious performance hit. – LPChip Sep 25 '20 at 7:27
  • It's Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectPlay\Applications\Age of Empires II and Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft Games\Age of Empires\2.0 - it did come out in 1999 after all. Good idea, but that won't work unfortunately. I feel like this sort of thing will exist somehow, people do convert apps to be portable and self-contained – Jademalo Sep 25 '20 at 9:07
  • They create custom launchers that keep changing the registry or better yet, hack the program to remove registry dependencies. I do read on the internet that people are capable of installing it for their user though. You may be able to get that option if you reinstall the game and choose for current user, instead of for everyone. It should then also change to KH_CU instead of HK_LM – LPChip Sep 25 '20 at 9:35
  • Unfortunately there's no option to change how it's installed, again probably due to it coming out in 1999. – Jademalo Sep 28 '20 at 9:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.