如何找到PC上已安装exe的实际exe路径 [英] How can I find the actual exe path of a installed exe on PC

查看:124
本文介绍了如何找到PC上已安装exe的实际exe路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法从注册表中跟踪实际的可执行文件名称(.exe).

该代码为

I am not able to trace the actual executable name (.exe) from the registry.

The code is as

SoftwareKey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\UnInstall"; 


从上面我可以获取DisplayName,DisplayVersion,InstallDate等.

请指导我如何从注册表中获取原始的.exe名称?


from above i am able to get the DisplayName,DisplayVersion,InstallDate etc.

Please guide me how can i get the acutal .exe name from the registry?

推荐答案

尝试此操作,它将给出安装软件的位置
try with this , it will give the location where your software installed
AppDomain.CurrentDomain.BaseDirectory


这篇关于如何找到PC上已安装exe的实际exe路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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