0

I have created a windows executable with some custom actions and some UI stuffs.

I am facing a strange behavior with the installable.

I tried probing through the code and kracking the installer as much as I can, but I did not find any idea why the strange behavior is available.

So, I wanted to debug the installer at every point of code execution in the Custom Action for which I tried writing those values I require to a logger. But unfortunately my logger will get created after the installation at which point I will not be in a position to run it again.

So, can anyone suggest how to debug it while the installable is under execution?

4

1 回答 1

0

我已经尝试过,但无法让调试器与 Installshield Universal 一起工作。

我的解决方法是添加大量调试消息并使用 VMware。安装 VMware 并将测试机器创建为虚拟服务器。我为虚拟服务器配置了所有先决条件,重新启动它,然后运行快照。

快照后,我将运行安装脚本,等待错误和日志文件。然后,我将使用 VMware 的“恢复到快照”功能返回到测试服务器的干净实例并开始调查日志中的错误消息。

于 2009-11-02T04:32:35.887 回答