Why Virtualization on ProgramData folder in MS Vista?

后端 未结 2 1457
半阙折子戏
半阙折子戏 2021-02-09 08:45

I have an app modified to take into account the UAC in VISTA. So, now, the .mdb (JET or Access file) is located in ProgramData\\MyApp\\

I realized that when

相关标签:
2条回答
  • 2021-02-09 09:00

    I have had trouble here as well, it seems vista once is decides to virtualize the file, the only way to stop it is to delete the virtual file. The next time you use it, it will use the ProgramData folder.

    0 讨论(0)
  • 2021-02-09 09:05

    Most likely you'll need to set write permissions for all users during installation.

    To test, delete the virtualized folder, manually set the permissions on the ProgramData\MyApp folder and files and see if that works.

    As for how to do that pragmatically during installation, that really depends on what technology you're using.

    0 讨论(0)
提交回复
热议问题