This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Detecting UAC on WIN8
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 04, 2012
03:59 AM
Detecting UAC on WIN8
Hi all,
I need to detect if UAC is on during installation in order to prompt a message (if msi is being run).
So far, I had done this successfully using the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA key.
On WIN8, this key is no longer initialized when setting UAC on/off, therefore no longer usable for UAC detection.
I would appreciate your help with this,
Thanks,
Sharon.
I need to detect if UAC is on during installation in order to prompt a message (if msi is being run).
So far, I had done this successfully using the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA key.
On WIN8, this key is no longer initialized when setting UAC on/off, therefore no longer usable for UAC detection.
I would appreciate your help with this,
Thanks,
Sharon.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 14, 2013
07:20 AM
sharon wrote:
Hi all,
I need to detect if UAC is on during installation in order to prompt a message (if msi is being run).
So far, I had done this successfully using the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA key.
On WIN8, this key is no longer initialized when setting UAC on/off, therefore no longer usable for UAC detection.
I would appreciate your help with this,
Thanks,
Sharon.
We're encountered in the same qustion as well - Please advice.
Thanks,
Yona
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 14, 2013
10:07 AM
Does your installer not work if UAC is enabled? If not, why?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 15, 2013
02:50 AM
Hi Christopher,
Our Setup application includes Third-Party installations which require admin user and UAC=off.
Both the third-party vendors and our application write to system folders.
Thus, UAC must be turned off before installation begins.
We encountered several cases where UI or silent Setup failed due to UAC no being turned off.
Until Win7, enableLUA registry entry was checked.
What can be checked in Win8?
Does Installshield has such built-in capability?
Thanks
Our Setup application includes Third-Party installations which require admin user and UAC=off.
Both the third-party vendors and our application write to system folders.
Thus, UAC must be turned off before installation begins.
We encountered several cases where UI or silent Setup failed due to UAC no being turned off.
Until Win7, enableLUA registry entry was checked.
What can be checked in Win8?
Does Installshield has such built-in capability?
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 15, 2013
06:59 AM
This sounds like a situation where I'd put the third party software in setup.exe as a setup prerequisite and have the EXE manifested to require elevation. This should give the third party installer full permission to do whatever it needs to do.
I've never needed to care about UAC settings in an installer. I just assume the strictest case and design around it.
I've never needed to care about UAC settings in an installer. I just assume the strictest case and design around it.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)