1

I'm using Installshield 2010 to deploy my winforms project, when installing the setup.exe on an Administrator account i didn't got any problem, however when i tried to install it on a simple user account i got a message saying that i must login as Administrator to perform the install process. I've noticed that if if I make the combination "Shift + Right Click" on my setup.exe i got a new option in my context menu, it's "Run as an other user", when selecting this action i got a prompt of login and password, i entered then my Administrator login and password and the install is performed successfully !

My question is :

Are there any configuration or action that i can do in Installshield, which simulate "Run as an other user" automatically to allow me to enter Administrator Login and Password ?

Thanks in advance.

4

1 回答 1

1

您可以尝试将安装包清单中的执行级别设置为“需要管理员”。这将在您启动安装程序时触发 UAC 提示,从该提示您应该能够输入您的凭据。

我不知道 installshield 在哪里有这个选项,但肯定可以配置它,它是所有打包工具的标准。

于 2014-07-18T11:59:29.653 回答