获取与当前 NSIS 安装程序版本不同的 UAC_GetIntegrityLevel 值

问题描述 投票:0回答:1

将 NSIS 安装程序软件从版本 2.46 升级到 3.09 并在同一台计算机上使用相同的脚本后,我们得到不同的 UAC_GetIntegrityLevel 值:

NSIS 2.46: UAC_GetIntegrityLevel=0x3000

NSIS 3.09: UAC_GetIntegrityLevel=0x0

改变了什么?

我们升级了NSIS安装程序软件和UAC插件

nsis
1个回答
0
投票

NSIS v3.09 默认为 Unicode。

如果通过在 .nsi 顶部添加

Unicode False
来解决问题,那么您将错误的 UAC.dll 放入 NSIS\Plugins\x86-unicode 中,或者您的 .nsi 中的某处有
!addplugindir ".\plugins\x86-ansi"

© www.soinside.com 2019 - 2024. All rights reserved.