运行安装文件并获取安装名称 [英] run a setup file and get installed name

查看:85
本文介绍了运行安装文件并获取安装名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在WPF中遇到以下问题.
我正在通过应用程序运行exe或msi文件.用户可以选择任何exe文件,而我尝试静静地在设备上安装特定的exe.一段时间后,我检查Windows程序列表以检查天气,我的exe已安装.
现在发生的是,我的exe名称与程序"列表中的应用程序名称不匹配.
所以我想知道exe安装后应用程序列表中的名称是什么.
有什么出路吗?

例如.我选择exe作为"Firefox Setup 5.0".但是此exe在程序列表中的名称是"Mozilla Firefox"

我需要帮助.

Hello All,

I have following issue in WPF.
I am running exe or msi files through my application. User can select any exe file and I try to install particular exe on my device SILENTLY. After some time i check windows program list to check weather my exe has been installed.
Now what happens is, my exe name and application name in Programs list does not match.
so i want know what name will be in applications list after exe is installed.
is there any way out ?

eg. i select exe as "Firefox Setup 5.0" . but the name of this exe in program list is "Mozilla Firefox"

I need help.

推荐答案

您将必须研究要安装的所有应用程序的程序名称及其对应的安装文件名,然后使用一个文本/xml文件进行比较.这里没有捷径.
You are going to have to research the program names of all the applications you want to install, and their corresponding installation file name, and then use a text/xml file to compare them. There is no shortcut here.


这篇关于运行安装文件并获取安装名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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