and admin.ini is found (i.e. user wants to specify appdata-location),
and the appdata-directory pointed to in admin.ini doesn't exist,
and it cannot be created (here: illegal file name
and even no appdata exists in default location:
Reason: by admin.ini user specified an explicit location. If this doesn't exist *and* cannot be created it means that there is something absolutely wrong! I.e. error in admin.ini, authorization-problem, or whatever!
Either XY should just give info (and maybe terminate),
or XY should at least ask if appdata should be allocated at default location, and allow "No".
No problem to terminate XY in this case!
The auto-creation at default location means doing what is explicitly (but with errors) *not* requested.
(Sorry that I'm stupid enough to do this several times...
but I make some install-tests, and often copy a model-file without first customizing it.)
XYplorer Beta Club