Installed program not visible to all users

戏子无情 提交于 2019-12-13 00:36:05

问题


I am using wix setup to install some package. When I install it, it appears in "Programs and Features" in control panel. It is visible to some users not all, and they can uninstall it as well.

Problem is when the other user who can not see what I installed in control panel, when he installs something I can't see it. I can install the same package again and it won't complain that it already exists.


回答1:


MSI packages are installed per-user or per-machine. Only per-machine products are accessible by all users.

Try making your installation per-machine by setting ALLUSERS property to:

1



回答2:


InstallScope="perMachine" need to be set for the package node under product node.

<Product Id="51552DB5-AE93-44D0-87B1-0EB93B64182D" >
 <Package InstallerVersion="200"
          Compressed="yes"
          InstallScope="perMachine"
          InstallPrivileges="elevated" />
</Product>


来源:https://stackoverflow.com/questions/8081670/installed-program-not-visible-to-all-users

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!