Problem description
- When I run my app installed to
"%Program Files%", the embedded proj.db is loaded normally and everything works fine.
- When I run the same app installed as an MSIX Windows package (inside the installed folder, the folder tree is the same), the
proj.db access fails in some cases (the screenshot below hopefully explains what I mean).
- If I copy
proj\proj.db to "%LocalAppData%", it'll work even for the MSIX package installation.
- If I set a read-only attribute to
%LocalAppData%\proj\proj.db, it still works even from an MSIX package installation.
This is how it looks in case of the write access failure (see ACCESS DENIED):

And here's an example of the normal operation:

Expected Output
I don't want to overwrite the shared version of proj.db installed by some other software (into "%LocalAppData%"), and also I don't want my version to ever be overwritten. So I'd like to have a bundled version of proj.db working even when it's installed from MSIX package.
Environment Information
-
OS:
Edition Windows 11 Pro
Version 24H2
OS build 26100.4652
-
PROJ: 9.5.1 (static lib)
-
GDAL: 3.10.0 (static lib)
-
libSQLite3: 3.46.0 (shared lib)
Problem description
"%Program Files%", the embedded proj.db is loaded normally and everything works fine.proj.dbaccess fails in some cases (the screenshot below hopefully explains what I mean).proj\proj.dbto"%LocalAppData%", it'll work even for the MSIX package installation.%LocalAppData%\proj\proj.db, it still works even from an MSIX package installation.This is how it looks in case of the write access failure (see

ACCESS DENIED):And here's an example of the normal operation:

Expected Output
I don't want to overwrite the shared version of
proj.dbinstalled by some other software (into"%LocalAppData%"), and also I don't want my version to ever be overwritten. So I'd like to have a bundled version ofproj.dbworking even when it's installed from MSIX package.Environment Information
OS:
Edition Windows 11 Pro
Version 24H2
OS build 26100.4652
PROJ: 9.5.1 (static lib)
GDAL: 3.10.0 (static lib)
libSQLite3: 3.46.0 (shared lib)