高级注册问题 [英] Advanced registry problems

查看:81
本文介绍了高级注册问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个基于试验的程序。假设有两个注册表值alpha和beta alpha是知道我的产品已经安装,beta是知道剩下的时间。孩子们做的是他们卸载产品以及注册表
值以重新开始。


 


我的想法要做的是在安装期间检查这两个值,如果这些键存在,请不要用新值重写这些键。跳过这些值。


有些正文帮助我使用Visual Studio 2010。

解决方案


Visual Studio不支持此功能,但您可以使用
Orca
 



  • 确保注册表项使用单独的
    components
  • 创建
    注册表搜索
    确定条目是否存在
  • 使用搜索属性来条件化注册表项组件(在Component表中)

其他设置创作工具直接在他们的IDE中支持此功能。


问候,

Cosmin 


 


I am creating a trial based program. Suppose there are two registry values alpha and beta alpha is to know that my product has been already installed and beta is to know the time left. What kids do is that they uninstalls the product as well as registry value to start it fresh.

 

What I think to do is that to check both these values during installation time and if these keys exist do not over write these keys with fresh values . Skip these values .

Some body help me with this I'm using Visual Studio 2010.

解决方案

Hi,

This is not supported by Visual Studio, but you can do it with Orca after the MSI is built:

  • make sure that the registry entries use separate components
  • create registry searches which determine if the entries exist or not
  • use the search properties to condition the registry entries components (in the Component table)

Other setup authoring tools support this directly in their IDE.

Regards,
Cosmin 

 


这篇关于高级注册问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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