visual-studio - "Everyone"或 "Just me"是 Windows Installer 程序包的默认选项吗?

标签 visual-studio windows-installer

Microsoft 有一篇文章 (http://support.microsoft.com/kb/835460) 解释了如何使用 Orca 数据库编辑器从您使用 Visual Studio .NET 创建的 Windows 安装程序包中删除“Everyone”选项和“Just me”选项,但是在那篇文章中没有任何地方解释默认选项是什么。换句话说,应用程序要么为所有人安装,要么仅为用户安装。有谁知道它是什么?谢谢。

最佳答案

InstallAllUsers 属性的部署项目(MSI 文件)的默认值为“Just me”。

摘要:

InstallAllUsers Property

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 — The application will be installed for all users.

还有 InstallAllUsersVisible 属性(从 VS.NET 2005 开始可用),它似乎控制着选择“Just me”或“Everyone”的用户选项是否完全可见。换句话说,您无需摆弄 Orca MSI 数据库编辑器即可在安装程序中显示或隐藏此选项。

关于visual-studio - "Everyone"或 "Just me"是 Windows Installer 程序包的默认选项吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2072419/

相关文章:

c++ - Visual Studio 2013 : error LNK2019: unresolved external symbol - cuRAND - Random Number Generator

c++ - 防止从 false 到指针的静默转换

installation - 高级安装程序的可靠性如何?

powershell - 脚本 block Powershell远程MSI安装

c# - 比赛结果平局,如何在基座上列出两个名字?

c++ - 远程调试 windows 8.1 驱动 Visual studio 2013

c++ - 包含 windows.h 会导致与局部变量名称发生冲突

wpf - VSTO Office (Excel) 加载项 - WPF XAML 样式、ResourceDictionary

xml - 根据 RegistrySearch 的结果设置目录