To create applications that run outside Oasis montaj, developers use the External API, which consists of a set of redistributable files that must be installed with your application. Redistributing your application and the 3rd party components can usually be achieved fairly easily by making use of the Windows Installer XML (WIX) Toolset or some other install creation utility but this is . The details of how to create an installer are outside the scope of this guide.
...
The recommended way to create an application (which only makes use of unlicensed functionality) that can operate completely independent of an Oasis montaj installation is to install all the files and GeosoftFiles directory in <Program Files>\Geosoft\GX Developer\apps\redist\bin right next to the binaries that would be making use of the API externally. Although it might be possible to remove some files that might not be used it cannot reliably be supported, nor will any guidelines be provided on how to do this.
It is also possible to make use of of an Oasis montaj or Oasis montaj Viewer installation to reduce the your application footprint and make use of licensed functionality. To do this the GeosoftFiles directory above can be omitted and a geosoft.key file then placed must be present next to the applications and other files containing your application files, usually your .exe file. The geosoft.key file must containing a single text line with the name of the application as found in the registry (e.g. “Oasis montaj”). See the Registry section below for more info on what this meanstext "Core", or "Core - Testing" if you have a testing version of Geosoft installed. When your program runs and attempts to load the Geosoft environment, if a geosoft.key file is found, the Geosoft loader will look for this name in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Geosoft.
In addition to these files your application will need to install and/or check for the following 3rd party redistributables. Note that this is not necessary when making use of an Oasis montaj installation as described in the paragraph above.
Redistributable | Description |
Microsoft Visual Studio 2013 Redistributable Package | DLL’s that provides the C Runtime functions, MFC and STL functionality on which the Geosoft dll’s rely. Available from here. Both the x86 and x64 redistributions are needed to support 64-bit Python development. |
Microsoft .Net 4.5.2 Framework | Found here. |
No registry settings of any kind are required to be setup, but the directory folder where the files are installed should be writable writeable to the Windows user as temporary files and a user folder will be created underneathin this folder.
We can also recommend the Depends.exe utility for debugging any dll dependency problems (see http://www.dependencywalker.com/ ) that might arise.
...