Pop-up boxes after installation and startup
There are some pop-up boxes that might appear after the installation of Olex2, on startup and on closing the software.
-
After the first installation, Olex2 will ask whether usage statistics are permitted
-
Olex2 will check for updates, and if there are any, it will bring up a box asking whether the updates should be installed
-
One closing Olex2, it will ask whether it really should be closed.
To control this behaviour, there are three files involved. But first, we need to speficy the location of these files.
By default, these are in the folder that opens when you type shell DataDir()
in Olex2, except for one of them, which will be in the folder above.
The location of this DataDir can be set:
OLEX2_DATADIR=<PATH>
By default, each instance of Olex2 will then get their own folder within this directory. The final path may look something like this for a given version:
C:\Users\Name\AppData\Roaming\Olex2Data\fb50231b5e2649383ca126baa26ccca8
If no subfolders are to be made, then this can be set to true
:
OLEX2_DATADIR_STATIC=true
-
In this directory, there will be a file called app.token. Leave this empty, and the box regarding the usage statistics will not open.
-
There is also a file called usettings.dat. In this file there is this entry, which needs to be set to false to prevent the update check:
ask_update=false
-
In a third file, .options setting
confirm_on_close=false
will prevent the pop-up box on exiting Olex2.