授予“作为服务登录"安装期间的权限和服务登录帐户(Installshield 2010) [英] Grant "Log on as a service" permission AND service Logon Account during installation(Installshield 2010)

查看:310
本文介绍了授予“作为服务登录"安装期间的权限和服务登录帐户(Installshield 2010)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过Installshield Basic MSI Project开发安装应用程序

I`m developing install application via Installshield Basic MSI Project

  1. 在授予作为服务登录"权限时,我有一个小问题 (控制面板->管理工具->本地安全设置)
  1. I have a little problem when granting "Log on as a service" permission (Control panel -> Administrative tools -> Local Security Settings)

在Windows Server 2003中,NTRights.exe可以正常工作.

In Windows server 2003, NTRights.exe works fine.

在Windows Server 2008和2008 R2中,NTRight.exe也可以正常运行,但是"NTRights.exe"只是"Windows Server 2003 Toolkit"的一部分

In Windows server 2008 and 2008 R2, NTRight.exe also works fine but "NTRights.exe" is just part of "Windows server 2003 Toolkit"

我想使用另一种方法. 任何人都可以使用其他方式做同样的事情吗?

I want to use another method. Can Anyone do same thing using another way?

  1. 在服务面板中,我必须使用最终用户输入来设置登录帐户和密码.

但是Installshield仅支持固定的ID和密码.无法使用.

But Installshield supports just fixed id, password. It cannot be used.

我该如何设置登录帐户? 安装期间应提供登录帐户信息

How can i do this to set logon account? Logon account information should be provided during installation

推荐答案

查看本文.一旦了解了它,只需使用第二个链接中的信息对其进行一些修改.

Check out this article. Once you understand it, just change it up a bit by using information from the second link.

使用Windows Installer XML-证书增强InstallShield

用户元素(实用程序扩展名)

使用WiX DTF自定义操作的另一种方法可以在以下位置找到:

Another approach using a WiX DTF custom action can be found at:

不同的年份,同样的问题...

这篇关于授予“作为服务登录"安装期间的权限和服务登录帐户(Installshield 2010)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆