安装的程序对所有用户不可见 [英] Installed program not visible to all users

查看:44
本文介绍了安装的程序对所有用户不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 wix setup 来安装一些软件包.当我安装它时,它出现在控制面板的程序和功能"中.并非所有用户都可以看到它,他们也可以卸载它.

问题是当其他用户看不到我在控制面板中安装的内容时,当他安装了一些我看不到的内容时.我可以再次安装同一个包,它不会抱怨它已经存在.

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.

推荐答案

InstallScope="perMachine"需要为product node下的package node设置.

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>

这篇关于安装的程序对所有用户不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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