• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Need installer help, Visual Studio 2008

Messages
516
I'm creating an installer in VS 2008 to install an aircraft, but I can't seem to find a way to get it to find the existing FSX installation directory. The best I can do is warn the user to ensure the installation path is set to their FSX root directory and then present them with the "C:\Program Files\Microsoft Games\.. blah" as the default option.

Has anyone used the installer creator in Visual Studio and knows how to do this?

Thanks,

Si
 
Hi,

I didn't had made an installer in VS 2008, but i did using the old InstallShield for VC++, and there are options in InstallShield for the setup to look in the Windows Registry, you need to make a script in the setup which could allow the installer to look for the LOCAL MACHINE key, then thru /Software/Microsoft/Microsoft Games/Flight Simulator/10.0, there are some keys calleed SETUPATH or PATH i think, and it is the user's local FSX's main directory, so then you could program the setup to look in the registry for that entry, and then return it so then it can be as the default installation folder in your setup.

Best Regards,

Manuel Ambulo
 
Thanks Manuel.
I used to be able to do it easily in VC6's InstallShield creator too. I suspect it's possible in VS2008, but like everything else in VS2008 it seems harder to figure out how. That's "progress" for you...

Si
 
You need to get the registry key of the FSX installation. At the very moment i can't help you anymore.
but like everything else in VS2008 it seems harder to figure out how. That's "progress" for you...
Thats an ingnorant and misinformed statement! I use VS2008 everyday. I don't make installers very often but the codeing "department" is a brilliant improvement over VS05. :):whiteflag
 
Back
Top