n4gix
Resource contributor
- Messages
- 11,674
- Country
I was charged with creating an installer for the TC310R for X-Plane 11 yesterday. Since X-Plane 11 does not use the Registry to store any path information, I had to discover a way to at least set a default path for the installer to use. As it turns out this was far simpler than I thought it might actually be.
So for the benefit of anyone else faced with this issue, here is the solution:
So for the benefit of anyone else faced with this issue, here is the solution:
Code:
Function .onInit
InitPluginsDir
StrCpy $INSTDIR "C:\X-Plane 11"
FunctionEnd