HOWTO: InstallShield中如何实现MSI包的权限提升(转)

大家都清楚Vista和Windows 7的UAC问题,安装包中我们可以通过权限提提升获得系统操作权限。

如果是Setup.exe形式的安装包,我们在InstallShield工程中是通过如下方式实现安装包权限提升的:
Release视图 -> Setup.exe选项卡 -> 将 Required Execution Level 属性设为Administrator

如果是单个MSI包,我们如何实现权限提升呢?
Installation Information -> General Information -> Summary Information Stream, 将 Require Administrative Privileges 属性设为Yes
但要注意,上述方法只限于Windows Installer 4.0和更高版本,Windows Vista,Server 2008 R1/R2和Windows 7系统。Windows Installer版本与Windows系统对应关系见Wikipedia中的介绍:http://en.wikipedia.org/wiki/Windows_Installer

转自Kevin Wan博客,更多Installshield打包技术交流问题可查看Appinstall论坛(http://www.appinstall.cn/)

posted on 2012-04-17 15:39  Acor  阅读(611)  评论(0编辑  收藏  举报

导航