Skip to content
⌘ NSIS Forum Archive

Authorize Camera usage Win 10 & 11?

4 posts

kevkunze#

Authorize Camera usage Win 10 & 11?

I have an application that needs access to the user's camera. Right now I have to instruct users how to go to Settings-->Privacy-->Camera to grant the application access.

Is there a way to have NSIS ask the user to grant access to the camera during the installation process?
Anders#
I assume that Microsoft does not want other applications to mess with these settings.

You could try Process Monitor to figure out where the Settings app writes.
kevkunze#
Anders, it does make sense that Microsoft would not want applications to authorize camera access easily.

Maybe there is a permissions flag that can be included in the application manifest, that will trigger Microsoft to show a request for access to the camera. Will do some research on this.
th_mi#
kevkunze
I would not know any way. The setting you are talking about is on purpose in the "Settings - Privacy" section. If the user does not want the camera to be used, that the application can not overrule this setting. And if you are asking me, that should be also respected.

The appropriate way is like you already mentioned uis to describe on how to enalbe the camera access or not. The user should decide if the camera is allowed to be used or not.