https://bugs.winehq.org/show_bug.cgi?id=54613
--- Comment #2 from François Gouget fgouget@codeweavers.com --- Created attachment 74146 --> https://bugs.winehq.org/attachment.cgi?id=74146 UAC prompt for running Edge
So running advapi32:registry causes the following UAC prompt to pop up when running ieframe:ie later:
A website wants to open web content using this program on your computer.
This program will open outside of Protected mode. Internet Explorer's Protected mode helps protect your computer. If you do not trust this website, do not open this program.
Name: Microsoft Edge Publisher: Microsoft Corporation
This happens on the first CoCreateInstance() call in test_InternetExplorer() in ie.c:
hres = CoCreateInstance(&CLSID_InternetExplorer, NULL, CLSCTX_SERVER, &IID_IUnknown, (void**)&unk);
And this is caused by the WOW64 RegCreateKeyExA() calls in test_reg_open_key() in registry.c (either of them triggers this issue):
ret = RegCreateKeyExA(HKEY_LOCAL_MACHINE, "Software\Wine", 0, NULL, 0, KEY_WOW64_32KEY | KEY_ALL_ACCESS, NULL, &hkRoot32, NULL);
This is a bit strange as w8adm is a 32-bit Windows installation so I would expect these tests to be skipped but pIsWow64Process is not NULL. I'm not sure the if (!pIsWow64Process) really makes sense: that seems more like a Windows version check that a 32- vs. 64-bit Windows installation check (or even a 32-bit process on 64-bit Windows check).