#184

Solved

VirtualStore issues in Windows Vista and 7

Reported by brine on OCTGN · 13/01/2010 17:03:06

Assigned to:
jods
Priority:
Low
Status:
Solved
Category:
Other
Version:
0.7.*
Issue type:
Bug

Windows Vista and 7 have a security feature which prevents programs from modifying or saving files in the program files directories. They are saved to users/USERNAME/appdata/VirtualStore instead. Most programs know to look in both the program files and the virtual store for its files, but currently OCTGN does not. This causes random crashes as OCTGN cannot find the master database (if it gets edited by the installation of a game definition, it gets moved to virtualstore instead and disappears from the program files).

A workaround to this is to have OCTGN install itself onto the C:/ directory instead of program files. However, many people do not know that virtualstore exists, so they don’t see any problem with installing to the program files. This might be fixed by having OCTGN look for all its files in both the directory it was installed in as well as its virtualstore equivalent.

Specifically, this is the crashdump that occurs due to this problem:

VistaDB.Diagnostic.VistaDBException: Access to the path ‘C:\program files\OCTGN2\master.vdb3$3072.vdb3lck’ is denied.

Attachments

No attachment has been uploaded, yet.


Loading comments...