在 WiX 中创建具有安装状态的文件

Create a file with installation status in WiX

我有一个 WiX 安装程序,我想用它来创建一个 post-install 文件,其中 XML 包含一些关于安装过程的数据。我不确定该怎么做,想知道是否有人可以帮助我或为我指明正确的方向。

谢谢

也许看看自定义操作和属性 at firegiant.com and at this question

<Property Id='status'>Error | Success</Property>
<CustomAction Id='AfterInstall' Property='status' ExeCommand='[SourceDir]Readme.txt' Return='asyncNoWait' />

这就是我发现的。我没有经验,所以我只依赖所提供的资源。希望对你有帮助