Clickonce + HKEY_LOCAL_MACHINE

I have a WPF application written in .NET 4.0, VS2010 that I am looking for to deploy via clickonce inside our intranet.

The problem is that I am trying to create a registry key in HKEY_LOCAL_MACHINE and I am accessing it.

I have an application designed for full trust, and even tried to approve RegistryPermission to no avail.

Is it not possible to distribute the application through clickonce and have access to HKEY_LOCAL_MACHINE?

+1
source share
2 answers

Not with ClickOnce.

See here for a discussion. Relevant Part:

- ClickOnce , UAC . ClickOnce, requestExecutionLevel requireAdministrator maximumAvailable, Windows Vista.

Windows 7, .

, , , " ", , , , UAC .

+2

, , ClickOnce ClickOnce , (GAC), .. .

http://msdn.microsoft.com/en-us/magazine/cc163973.aspx

+2

All Articles