One thing I'd like to say as an introduction is that I am an almost total "code ignorant".
I find easy to get into the "artistic" side of things (Drawing, 3D modeling, music and such) but when I see a line of code, my brain literally gets stuck
I tried my best using some help from a couple friends, but none of them has ever seen InstallForge, so as a last resort, I am writing here.
Let's get to the spine of the whole situation.
I am developing a freeware game addon for a flight simulator, and I'd like this addon to find out the right folder to install itself to, since many flight simmers are from the Old Guard, and many aren't keen in opening the Developer Mode just to find out where their "Mods" folder might actually be.
What I want to achieve, is an installer that gives you 2 Radio Checkboxes.
Now the tricky part. Once the user has made his choice, the installer should:-Steam Edition
-MS Store / Gamepass Edition
-Browse (based on the choice) to one of these folders:
, and open
Code: Select all
MICROSOFT STORE VERSION: C:\Users\YourUsername\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache STEAM VERSION: C:\Users\YourUsername\AppData\Roaming\Microsoft Flight Simulator
-Open one file inside that folder (UserCfg.opt) and search for a string
-Store the information as a default installation path ADDING, at the end of the line "\community" (without quotes)
Code: Select all
I am sorry for being this precise and demanding, but I saw a lot of talent going on here, and I can't see better place than the original community's forum to find the right answer to my issue. I tried digging through the Forums but, being the issue itself this articulated it's difficult, when you know nothing about programming, to gather informationa and put them together into exactly what you wanted.
Thanks in advance, and take care.