基于ALLUSERS属性设置注册表项的条件属性的问题。 [英] Question on setting condition property for registry keys based on ALLUSERS property.

查看:77
本文介绍了基于ALLUSERS属性设置注册表项的条件属性的问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用安装项目创建了一个MSI包。我必须根据用户选择的"Everyone"添加注册表项。或"Just Me"选项。因此,对于我需要为所有用户创建的所有条目,我设置了"条件"。所有键的属性为"ALLUSERS = 2"。
但是,当我运行安装程序并选择"Just Me"时它仍然会创建这些条目。另外我试图将条件从根密钥设置为所有子密钥并仍然复制所有子密码。你能不能告诉我在哪里做错了。

I creating a MSI package using the Setup project. I have to add registry entries based on users' chosen "Everyone" or "Just Me" options. So, for all the entries that I need to create for all users, I set the "Condition" property for all the keys to "ALLUSERS=2". However, when I run the installer and select "Just Me" it still creates these entries. In addition I have tried to set the condition from the root key to all sub-keys and still copies all.Could you tell me where I might be doing it wrong.

谢谢,

Rajat

推荐答案

只需将您的注册表项放在"User / Machine Hive"中即可。在IDE中,这将自动发生。
Just put your registry entries in the "User/Machine Hive" in the IDE and that will happen automatically.


这篇关于基于ALLUSERS属性设置注册表项的条件属性的问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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