2014-03-31 28 views
1

我有一个使用WiX构建的安装程序,使用InstanceTransforms标记。例如:如何为WiX实例转换生成MST文件?

<InstanceTransforms Property="INSTANCEID"> 
    <Instance Id="Install2" ProductCode="*" UpgradeCode="guid-goes-here" ProductName="Product" /> 
</InstanceTransforms> 

我想查看使用Orca实例转换的效果。

我想我需要生成一个mst文件来做到这一点。

我需要从我的WiX源文件获取代表我的实例转换的mst文件的哪些步骤?

回答

0

AFAIK你不能在ORCA中做到这一点。我只知道在ORCA中更改内容的工作流程,然后使用Transform - >Generate Transform从您的修改中创建变换。

但是,如果你有你的基地MSI和转化MSI,你可以使用包含在Windows SDK(通常位于%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Samples\sysmgmt\msi\scripts以下脚本之一:

  • WiGenXfm.vbs - generates a transform from two databases, or compares them
  • WiDiffDb.vbs - lists the differences between two databases (CSCRIPT only)
相关问题