如何调试VS2010安装项目? [英] How to debug VS2010 setup project?

查看:97
本文介绍了如何调试VS2010安装项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何调试VS2010安装项目?我尝试附加到msiexec.exe,但没有帮助.

How to debug VS2010 setup project? I tried attaching to msiexec.exe , but it didn't help.

推荐答案

似乎我需要暂停托管代码,以便该过程出现在调试窗口中.可以通过调用MessageBox.Show来完成.之后,msiexec托管代码条目将出现在流程中,如果我附加了该条目,则将能够调试自定义操作代码.

It appears that I need to halt my managed code so the process will appear in the debug window. It can be done by calling MessageBox.Show. After that the msiexec managed code entry appears in the processes and if I attach to it I will be able to debug my custom actions code.

这篇关于如何调试VS2010安装项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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