Visual Studio 2005 安装项目从 XP 到 Windows 7
过去 3 年我一直在 XP 机器上使用 VS 2005 进行开发。我们现在正在购买装有 Windows 7 的新电脑。我注意到我的安装项目需要管理员权限才能运行。这对我来说是一个问题,因为没有用户(包括我)拥有管理员权限,只有帮助台支持人员。
我想在没有管理员权限的情况下运行我的 Windows 安装程序设置项目 - 这可能吗?
另外,我想继续创建没有管理员权限的用户可以运行的安装程序文件。这可能吗,或者我的所有设置现在都需要由具有管理员权限的人安装吗?
我研究过 ClickOnce 部署,但没有可用于安装的 Web 服务器。
另外,我研究过数字证书,但没有预算。有没有办法免费获得证书?我的所有应用程序均供内部使用,并且我了解这些安全问题是针对 Web 应用程序的。
不再支持免费部署内部应用程序了吗?
感谢您的投入,
-贝丝
I've been developing in VS 2005 on an XP machine for the past 3 years. We're now getting new PCs with Windows 7. What I've noticed is my setup projects require admin rights to run. This is a problem for me because no users (including me) have admin rights, only helpdesk support staff.
I'd like to run my Windows installer setup projects without admin rights- is that possible?
Also, I'd like to continue to create installer files that users without admin rights can run. Is that possible, or will all my setups now need to be installed by someone with admin rights?
I've looked into ClickOnce deployment, but I don't have a web server available for installations.
Also, I've looked into digital certificates, but I have no budget. Is there a way to get a certificate for free? All my applications are for internal use, and I understand these security issues are for web applications.
Is free deployment of internal applications no longer supported?
Thanks for your input,
-Beth
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
无需管理员权限即可运行 Windows Installer 安装程序。请参阅单一包创作一文,了解如何创建一个包支持这一点。您还可以准备一个仅在非管理模式下运行的包。但请注意,当安装程序在非管理模式下运行时,您将无法写入程序文件和其他受系统保护的区域。
您可以使用自签名证书将数字签名添加到您想要的任何内容。唯一的问题是默认情况下该证书不会被信任。但是,在内部使用时这不是问题:它可以作为受信任的方式安装在需要的计算机上。请参阅 makecert.exe 和 signcode.exe 工具。
It is possible to run Windows Installer setup without admin rights. Look at Single Package Authoring article for an overview how to create a package that support that. You can also prepare a package that will run only in non-admin mode. Note however, you will not be able to write to Program Files and other system-protected areas when installer runs in non-admin mode.
You can use self-signed certificate to add digital signature to whatever you want. The only thing is that this certificate will not be trusted by default. However, it's not issue when used internally: it can be installed as trusted on machines where it's required. See makecert.exe and signcode.exe tools.