-
In the latest release, there is a breaking change that states: "If you're developing an unpackaged Win32 app using Fixed Version Runtime v120 or above and targeting Windows 10 devices, you need to run a couple of ACL shell commands (icacls) to avoid crashes". Under what circumstances can these crashes occur? We have many customers who are very particular about changing permissions and security. By default, these permissions are already set (in the Programs Files folder), but this is not guaranteed. Where can I find official documentation stating that this change is safe and won't introduce any security issues? Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for opening this @btlopener ! The crash would happen at launch if they were to happen. To expand on this more, renderer process is now being run in AppContainer, and icalcs command listed in the documentation allows for the fixed version binaries to be accessible in this context. With evergreen WebView2, the runtime's installation/deployment process takes care of that, but for fixed version, they are just loose binaries carried by the developer so that extra step to grant permission needs to be taken by the developer. This could also be potentially handled by your app's packaging process (which for example is why this is not a problem in MSIX), but if they are not, WebView2 should deterministically crash on launch since it cannot successfully create renderer process. The renderer in app container update is documented in Edge's release notes. |
Beta Was this translation helpful? Give feedback.
Thanks for opening this @btlopener ! The crash would happen at launch if they were to happen.
To expand on this more, renderer process is now being run in AppContainer, and icalcs command listed in the documentation allows for the fixed version binaries to be accessible in this context. With evergreen WebView2, the runtime's installation/deployment process takes care of that, but for fixed version, they are just loose binaries carried by the developer so that extra step to grant permission needs to be taken by the developer. This could also be potentially handled by your app's packaging process (which for example is why this is not a problem in MSIX), but if they are not, WebView2 should …