[wix-users] Custom action cannot access registry key for read

Mahesh Wickramasinghe wickramasingha4u at gmail.com
Fri Oct 20 00:52:04 PDT 2017


Thank you very much.

I was building it for x86. and ran it on a x64 computer.
that was the problem. how stupid.

Thanks again.

On Fri, Oct 20, 2017 at 3:18 PM, Nir Bar via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Are you using the correct x86/x64 registry view?Try explicit open:
>
>
> RegistryKey.OpenBaseKey(Microsoft.Win32.RegistryHive.LocalMachine,
> RegistryView.Registry64)
>
>
>
>
>
> --Independent WiX Expert. Creator of-
> https://JetBA.net - Native and WPF WiX BootstrapperApplication Frameworks
>
>
>
>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



-- 


~මහේෂ්~
http://arunadeepa.blogspot.com/



More information about the wix-users mailing list