Chris M. Szurgot [mailto:[EMAIL PROTECTED]] wrote:

> I got that far, but the problem is that any time I try to
> manipulate the registry, it's throwing
> "System.UnauthorizedAccessException: Cannot write to the
> registry key." even though I'm an Administrator. (Note that
> this is with Microsoft.Win32) and as I stated in the original
> message, the Registry key created by the installer is a
> duplicate of the (Default), not updating the default.

As an Administrator, I can't imagine why you're getting an access exception.

I do mine with the installer package, I just added the key "\MyAssembly" and
set the default value of the key to "[TARGETDIR]" which expands to wherever
the user has chosen to install my components. Everything works just as
expected.



Later,
Drew

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to