本文介绍了是“所有人"吗?或“仅我" Windows Installer软件包的默认选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft有一篇文章( http://support.microsoft.com/kb/835460),其中说明了如何使用Orca数据库编辑器从使用Visual Studio .NET创建的Windows Installer程序包中删除所有人"选项和只是我"选项,但是它们没有解释该文章中的内容默认选项是.换句话说,将为所有人或仅为用户安装该应用程序.有人知道这是什么吗?谢谢.

Microsoft has an article (http://support.microsoft.com/kb/835460) which explains how to use the Orca database editor to remove the "Everyone" option and the "Just me" option from a Windows Installer package that you created by using Visual Studio .NET, but no where in that article do they explain what the default option is. In other words, the application will either be installed for everyone or for just the user. Does anyone know which it is? Thanks.

推荐答案

InstallAllUsers属性的部署项目(MSI文件)的默认值为仅我".

The default for deployment projects (MSI files) for the InstallAllUsers property is "Just me".

摘要:

False-该应用程序将仅 为当前用户安装的 不会对的其他用户可见 计算机(默认设置).

False — The application will only be installed for the current user and will not be visible to other users of the computer (the default).

True —该应用程序将 为所有用户安装.

True — The application will be installed for all users.

还有InstallAllUsersVisible属性(可从VS.NET 2005开始使用),该属性似乎控制着选择仅我"还是每个人"的用户选项是否可见.换句话说,您无需摆弄Orca MSI数据库编辑器即可在安装程序中显示或隐藏此选择.

Also the InstallAllUsersVisible property (available from VS.NET 2005 onwards), which seems to control whether the user option of choosing 'Just me' or 'Everyone' is visible at all. In other words, you don't need to fiddle with the Orca MSI database editor to show or hide this choice in your installer.

这篇关于是“所有人"吗?或“仅我" Windows Installer软件包的默认选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 23:31