问题描述
我需要监视和报告在安装软件程序期间所做的所有更改(添加的文件夹和目录,权限更改,添加的注册表项)。任何人都可以建议一个能够做到这一点的工具?
I need to monitor and report on all changes (folders and directories added, permissions changed, registry entries added) that are made during the installation of a software program. Can anyone suggest a tool that is capable of doing this?
感谢,MagicAndi。
Thanks, MagicAndi.
推荐答案
Wix设置,我想在如何以最快的方式完成此操作添加一些提示。
Seeing as you want to create a Wix setup, I want to add a new answer with some hints on how to accomplish this in the quickest way.
我建议您使用 (不再可用)软件获取安装程序所做的更改日志。此工具不允许您将捕获转换为MSI,但它给你一个好的更改日志(它确实包含一些垃圾)。 PictureTaker工具似乎已重命名,现在为 - 它允许
I would recommend using the (no longer available) software to get a log of changes done by the installer you got. This tool does not allow you to convert the capture into an MSI, but it gives you a good change log (which does contain a bit of junk). The PictureTaker tool appears to have been renamed and is now commercial - it does allow conversion of the capture to MSI though.
似乎有一个新的捕获工具。
There seems to be a new capture tool called Scalable Smart Packager CE. I have not tested this tool thoroughly.
一旦你有你的日志或捕获,你可以通过2快速轨道的方式转换为WIX:
Once you have your log or capture, you can convert to WIX in 2 "fast track" ways:
- 使用 dark.exe WIX MSI反编译器(如果您已有MSI)
- 使用 heat.exe WIX收集器工具(为文件夹,注册表等自动生成WIX XML)
- Use the dark.exe WIX MSI decompiler (if you have an MSI already)
- Use the heat.exe WIX harvester tool (to auto-generate WIX XML for folders, registry etc..)
如果您使用 dark.exe 工具,您应该得到一个完整的WIX XML文件,然后可以再次编译 - 但您应该清理一下(取出UI垃圾,然后链接用WIX的detault内置GUI等)。
If you use the dark.exe tool you should get a complete WIX XML file that you can then compile again - but you should clean it up a bit (take out the UI junk, then link with WIX's detault built-in GUI etc...).
使用 heat.exe 是更清洁的方式。您只需对一个文件夹运行heat.exe工具,它将创建WIX XML元素,以便您安装这些文件。然后,您需要将它一起放在一个WIX源文件以及其他必需的部分。我可以为你提供一个基本的WIX最小样本,让你去(我似乎不能在这里附加文件)。
Using heat.exe is the cleaner way. You simply run the heat.exe tool against a folder, and it will create WIX XML elements for you to install those files. You will then need to put it all together in a WIX source files along with other required sections. I can provide you with a basic WIX "minimal sample" to get you going (I don't seem to be able to attach files here).
这篇关于在Windows上安装应用程序期间捕获所有更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!