如何创建一个Windows Installer MSI不需要管理员权限 [英] How can I create a windows installer MSI that does not require admin access

查看:366
本文介绍了如何创建一个Windows Installer MSI不需要管理员权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个MSI Windows安装程序,它安装一个插件,我写了我的办公室使用的软件。然而,一些在这里的用户不具有管理员权限到他们的计算机,它是感到沮丧无需安装插件他们。

I've created an MSI windows installer that installs a plug-in which I wrote for a piece of software used at my office. However, a number of users here don't have admin rights to their computers, and IT is getting frustrated having to install the plug-in for them.

我的安装程序会只是复制一些文件,给用户,否则访问文件复制到的位置。 ?是否有某种方式修改我的设置项目,使生成的MSI不需要管理员权限

My installer does nothing but copy a couple files, to locations that the users would otherwise have access to copy files to. Is there some way to modify my Setup project so that the resulting MSI does not require administrator rights?

推荐答案

有这里有两种方法:

1)创建一个不需要管理员PRIVS因为它没有安装任何需要它的安装程序。如果你真能做到这一点,你可能要考虑的ClickOnce安装,看看它是否满足你的需求。

1) Create an installer that doesn't require Admin privs because it doesn't install anything that needs it. If you can really do this, you might want to consider a ClickOnce installation and see if it meets your needs.

2)教育如何放下你的MSI您的IT部门到网络共享和发布它通过组策略。通过这种方式,用户可以去添加/删除程序和初始安装但运行它提升,而不必从办公桌走到台手工做一个系统管理员。 (我有点惊讶他们已经不知道该怎么做。)

2) Educate your IT department on how to drop your MSI onto a network share and publish it through Group Policy. This way the users can go to Add/Remove programs and initial the installation but have it run elevated without a SysAdmin having to walk from desk to desk doing it by hand. ( I'm kind of suprised they don't already know how to do that. )

这篇关于如何创建一个Windows Installer MSI不需要管理员权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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