不同的转换文件 [英] Different transform files

查看:87
本文介绍了不同的转换文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

 

我的问题是这个。

我创建了mst文件使用方法MsiDatabaseGenerateTransform。生成转换文件,但无法使用它。我也尝试使用ORCA创建mst文件,但是这个文件工作得很好。在两个转换中,我做了相同的更改。但ORCA
生成的mst文件看起来:

I created mst file using method MsiDatabaseGenerateTransform. Transform file is generated, but it is impossible to use it. I tried also to create mst file using ORCA, but this file is working nice. In both transforms I made the same changes. But the ORCA generated mst file looks:

 

执行验证标志:正确
Base包装:C:\ SomeSetup.msi

    ProductCode:{6EE479B8-A82A-44F4-80DA-3C58FC459112}; ProductVersion:1.0.0; UpgradeCode:{1C4A9AC7-9C91-405B-BA57-452C6FD71D6C}



转换:C:\ Untitled.mst

预期值 - ProductCode :{6EE479B8-A82A-44F4-80DA-3C58FC459112}; ProductVersion:1.0.0; UpgradeCode:{1C4A9AC7-9C91-405B-BA57-452C6FD71D6C}

Enforce Validation Flags: True
Base package: C:\SomeSetup.msi
    ProductCode: {6EE479B8-A82A-44F4-80DA-3C58FC459112}; ProductVersion: 1.0.0; UpgradeCode: {1C4A9AC7-9C91-405B-BA57-452C6FD71D6C}

Transform: C:\Untitled.mst
Expected values - ProductCode: {6EE479B8-A82A-44F4-80DA-3C58FC459112}; ProductVersion: 1.0.0; UpgradeCode: {1C4A9AC7-9C91-405B-BA57-452C6FD71D6C}

 

(更改清单)

但是使用上述方法生成的mst文件是:

But mst file generated using method mentioned above is:

 

执行验证标志:正确
基本套餐:C:\ SomeSetup.msi

    ProductCode:{6EE479B8-A82A-44F4-80DA-3C58FC459112}; ProductVersion:1.0.0; UpgradeCode:{1C4A9AC7-9C91-405B-BA57-452C6FD71D6C}



转换:C:\ instance1.mst

预期值 - ProductCode :; ProductVersion :; UpgradeCode:



(更改清单)

Enforce Validation Flags: True
Base package: C:\SomeSetup.msi
    ProductCode: {6EE479B8-A82A-44F4-80DA-3C58FC459112}; ProductVersion: 1.0.0; UpgradeCode: {1C4A9AC7-9C91-405B-BA57-452C6FD71D6C}

Transform: C:\instance1.mst
Expected values - ProductCode: ; ProductVersion: ; UpgradeCode:

(list of changes)

 

我认为,原因是该方法生成的mst文件无用,因为缺少预期值。但是如何解决这个问题呢?为什么ORCA生成的文件与方法生成的文件不同?你知道这些问题的答案吗?

I think, reason that mst file generated by that method is useless, because expected values are missing. But how to solve this problem? Why ORCA generated file is different from method generated file? Do you know answers to these questions?

 

谢谢。

推荐答案

嗨sorg,

根据您的描述,我不确定使用MsiDatabaseGenerateTransform方法时出现了什么问题。根据MSDN文档,该方法非常易于使用。那么请你提供重现步骤,我可以在我的计算机上重现你的secnario
来测试和找到解决方案。

Base on your description, I am not sure what is the problem when you use the method MsiDatabaseGenerateTransform. According to the MSDN document, the method is quite easy to use. So could you please provide reproduce steps that I can reproduce your secnario in my computer to test and find solutions.

我想你可以参考这个链接:

http://www.appdeploy.com/messageboards/tm .asp?m = 72523& mpage = 1& key =&#72523

And I think you can refer to this link:
http://www.appdeploy.com/messageboards/tm.asp?m=72523&mpage=1&key=&#72523

谢谢。


这篇关于不同的转换文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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