在注册表中的MSI在Windows 7安装时,会发生什么? [英] what happens in the registry when installing with an MSI in Windows 7?

查看:140
本文介绍了在注册表中的MSI在Windows 7安装时,会发生什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当在Windows 7安装程序(所有Windows版本将是真棒知道......但Windows 7将足以满足现在)与微星...

- 什么&放大器;其中,在安装注册表中所做的更改以及如何做所有这些变化的相互关系?

- 如何我能找到所有与给定的安装,我应该永远需要它的数据,我必须去通过注册表来获取这个数据,或有另一种更有效率或更合适的方式来访问数据?

When installing a program in Windows 7 (all windows versions would be awesome to know about...but Windows 7 will suffice for now) with an MSI...

-What & where are the changes made in the registry on installation and how do all of those changes relate to one another?

-How can I find ALL of the data relating to a given installation should I ever need it, do I have to go through the registry to obtain this data or is there another more efficient or more appropriate way to access the data?

推荐答案

我一直在玩注册表和安装的,看看我能想出。 如果任何人都可以对我的回答进一步说明或进行任何修改,这将是pciated大大AP $ P $因为这个答案只能来自于观察,而不是从任何官方消息。我做了一些表,描述什么我发现如下图所示。此外,访问所需的信息(即产品名称或产品code的MSI的特性)我遇到维克斯( http://wixtoolset.org/ )和正在使用Micrsoft.Deployment.Installer.dll以及其他库包含WIX,因为它们是pretty的宕甜蜜。

我不知道所有的按键和放大器的正式条款; codeS,我在这里引用......所以不要感到惊讶,如果它看起来像我做起来,因为他们似乎是指定的,因为我做到了。

更新:我刚刚发现的MSI文档一些有用的信息,可能是这里pciated AP $ P $:的 http://msdn.microsoft.com/en-us/library/windows/desktop/aa372105(V = vs.85)的.aspx

I've been playing with the registry and installations to see what I can come up with. If anyone can elaborate further on my answer or make any corrections, it would be greatly appreciated as this answer only comes from observation and not from any official source. I've made some tables describing what I've found as seen in the image below. Also, for accessing the information needed (IE, the ProductName or ProductCode properties of an MSI) I've come across WIX (http://wixtoolset.org/) and am using Micrsoft.Deployment.Installer.dll as well as other libraries included with WIX as they are pretty dang sweet.

I don't know the official terms for all of the keys & codes that I reference here...so don't be surprised if it seems like I made them up because of what they seem to designate, because I did.

Update: I just found some more useful info in the MSI docs that might be appreciated here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa372105(v=vs.85).aspx

这篇关于在注册表中的MSI在Windows 7安装时,会发生什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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