I'm looking to finding a way to automatically detect Mod Organizer's installation directory. Normally applications will create registry keys that note where they have been installed, but for my searching in my registry using RegEdit I wasn't able to find any keys that could be consistently used to determine Mod Organizer's directory.
To be clear, I'm looking for a way to determine Mod Organizer's installation directory from within an xEdit script. My current approach is just a brute force approach of searching for ModOrganizer.exe in all subfolders in Program Files and Program Files (x86) on all valid hard disks. I would like to have a better way of finding it, but I'm not sure exactly how to do so. I know that Mod Organizer enhances the data directory using it's virtual directory structure. Is there any way to determine that this has occurred from within xEdit, and then determine Mod Organizer's installation directory?
I'm working in Delphi and have the power to search directories, read registry keys, open files/folders, etc. I want a better solution than my current solution, but I also don't want to search entire hard drives (because that will take forever). Does anyone (e.g. Tanin) know of a way that I can go about achieving this?
Question
Mator
Hello, this is a programming related question.
I'm looking to finding a way to automatically detect Mod Organizer's installation directory. Normally applications will create registry keys that note where they have been installed, but for my searching in my registry using RegEdit I wasn't able to find any keys that could be consistently used to determine Mod Organizer's directory.
To be clear, I'm looking for a way to determine Mod Organizer's installation directory from within an xEdit script. My current approach is just a brute force approach of searching for ModOrganizer.exe in all subfolders in Program Files and Program Files (x86) on all valid hard disks. I would like to have a better way of finding it, but I'm not sure exactly how to do so. I know that Mod Organizer enhances the data directory using it's virtual directory structure. Is there any way to determine that this has occurred from within xEdit, and then determine Mod Organizer's installation directory?
I'm working in Delphi and have the power to search directories, read registry keys, open files/folders, etc. I want a better solution than my current solution, but I also don't want to search entire hard drives (because that will take forever). Does anyone (e.g. Tanin) know of a way that I can go about achieving this?
Regards,
Edited by Mator-Mator
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now