Will Apps have direct access to the Registry on Windows Systems #1096
Replies: 4 comments 6 replies
-
You can checkout the
https://docs.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations |
Beta Was this translation helpful? Give feedback.
-
Just wonder, is it with fullTrust capability? |
Beta Was this translation helpful? Give feedback.
-
Yes, as maxkatz6 says, this is for packaged Win32 apps, which also need the runFullTrust capability. |
Beta Was this translation helpful? Give feedback.
-
I think this has changed: with runFullTrust, my HKEY_CURRENT_USER writes seem to be virtualized, and this is as documented at https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes#registry It's possible to workaround it by following the instructions at https://docs.microsoft.com/en-us/windows/msix/desktop/flexible-virtualization - however, then it must be installed from Powershell with devleoper mode enabled, as AppInstaller refuses to install msix packages with the Can:
This makes packaged apps somewhat less attractive when the registry is being used for cross-app settings (including with non-msix apps). It's also not an effective measure: full trust apps can spawn unsandboxed apps, so I've made a helper app to do my registry writes, and I use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Will it be possible for Project Reunion based applications to write to the registry?
I have tested writing to the registry using a MAUI application in .Net 6 Preview 6 and I see nothing being written to the registry. Please see -dotnet/maui#1230
Beta Was this translation helpful? Give feedback.
All reactions