确定 MSI 的版本而不安装它 [英] Determining the version of an MSI without installing it

查看:22
本文介绍了确定 MSI 的版本而不安装它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个从我的 C# Visual Studio 2010 构建的 MSI 文件.版本是通过 Version 属性设置的.我想知道是否有办法确定版本而无需安装文件.当前,当右键单击并查看属性时,它不会显示.

I have an MSI file built from my C# Visual Studio 2010. The version is set through the Version property. I wanted to know if there is a way to determine the version without having to install the file. Currently when right click and view the properties it isn't displayed.

推荐答案

是的 - 我认为您需要检查 MSI 数据库,但这需要一些 API 调用或包装实用程序.

Yes - I think you need to inspect the MSI database however, which requires either some API calls or a wrapper utility.

Microsoft 的 ORCA 应用程序应该允许您执行此操作(虽然我自己从未尝试过).

Microsofts ORCA application should let you do this (although I've never tried it myself).

这篇关于确定 MSI 的版本而不安装它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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