Hello,
Is there a way to stop the UAC prompt when running a ThinApp?
Thanks,
Peter.
There is a couple package.ini you can try out..
VirtualElevation
VirtualElevation=1 means the ThinApp runtime will lie to the application and tell it that it's running as an elevated process even if it is not.
[BuildOptions]
VirtualElevation=1
UACRequestedPrivilegesLevel Parameter
The UACRequestedPrivilegesLevel parameter specifies privileges for programs requiring User Account
Control (UAC) information. This parameter affects users working on Windows Vista or later operating system
versions.
You can use the following values to specify privileges:
If you do not specify privileges, ThinApp does not assign a default value but operates according to the
asInvoker setting.
[BuildOptions]
UACRequestedPrivilegesLevel=requireAdministrator
UACRequestedPrivilegesUIAccess Parameter
The UACRequestedPrivilegesUIAccess parameter specifies user interface access on Windows Vista or later
operating system versions. These operating systems protect some elements of the user interface.
ThinApp assigns an initial value of the UACRequestedPrivilegesUIAccess parameter to block application access
to protected elements. Although you can assign a true or false value to the
UACRequestedPrivilegesUIAccess parameter to specify user interface access, the parameter exists to support
Microsoft settings.
[BuildOptions]
UACRequestedPrivilegesUiAccess=false
Thanks. the VirtualEvevation didn't work but I'll try the UAC setting next. I trust it doesn't matter when in the BuildOptions the entry is made?
Peter.
Correct, anywhere within the BuildOptions section should be fine..