如何找到升级​​code&放;在Win 7安装的应用程序的产品code [英] How to find the upgrade code & productCode of an installed application in Win 7

查看:193
本文介绍了如何找到升级​​code&放;在Win 7安装的应用程序的产品code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的机器上安装的应用程序。我也有它的源$ C ​​$ C,但不知何故产品code&放;此应用程序的升级code的改变。

I have an application installed on my machine. I also have its source code but somehow the ProductCode & UpgradeCode of this application was changed.

现在我想要得到升级code&放;这个安装的应用程序的产品code。我觉得必须有一些这方面的工具。

Now I want to get the UpgradeCode & ProductCode of this installed application. I feel there must be some tool for this.

任何人都可以请让我知道怎么去升级code&放;安装的应用程序的产品code

Can anyone kindly let me know how to get the upgradeCOde & productCode of an installed application

推荐答案

下面是另一种方式(你不需要任何工具):

Here's another way (you don't need any tools):


  • 开启系统注册表,搜索 HKEY_LOCAL_MACHINE \\ SOFTWARE \\微软\\的Windows \\ CurrentVersion \\卸载键(如果它是一个64位计算机上的32位安装程序,它可能是在 HKEY_LOCAL_MACHINE \\ SOFTWARE \\ Wow6432Node \\微软\\的Windows \\ CurrentVersion \\卸载来代替)。

  • 那项下所列的GUID本机上安装的产品

  • 找到你谈论一个 - 只要一步一个接一个,直到你看到在右侧窗格中查看其名称

  • open system registry and search for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall key (if it's a 32-bit installer on a 64-bit machine, it might be under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall instead).
  • the GUIDs listed under that key are the products installed on this machine
  • find the one you're talking about - just step one by one until you see its name on the right pane

您停在这GUID是产品code。

This GUID you stopped on is the ProductCode.

现在,如果你确定这个应用程序的重新安装会很好,你可以运行以下命令行:

Now, if you're sure that reinstallation of this application will go fine, you can run the following command line:

MSIEXEC / I {产品展示 - code-GUID-HERE}
  重新安装= ALL REINSTALLMODE = omus / L * V
  log.txt的

msiexec /i {PRODUCT-CODE-GUID-HERE} REINSTALL=ALL REINSTALLMODE=omus /l*v log.txt

这将修复您的应用程序。现在看日志文件,然后搜索升级code。这个值被倾倒在那里。

This will "repair" your application. Now look at the log file and search for "UpgradeCode". This value is dumped there.

请注意:你应该只做到这一点,如果你确信重装流得到正确实施,这不会打破你安装的应用程序。

NOTE: you should only do this if you are sure that reinstall flow is implemented correctly and this won't break your installed application.

这篇关于如何找到升级​​code&放;在Win 7安装的应用程序的产品code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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