locked
Debugging Web Setup Project code RRS feed

  • Question

  • User-1592694395 posted

    (Using VS2010)

    Please advise: Is it possible to debug a Web Setup Project, specifically its custom action code, by setting breakpoints and walking through the code?  How does one do this?

    I have tried inserting a MessageBox.Show command in order to attach the debugger.  Doesn't work.  Doesn't Show.

    I have alsio tried inserting a Debugger.Launch command.  Also doesn't work

    Thanks for any help.

    Wednesday, June 23, 2010 2:06 PM

Answers

  • User-1592694395 posted

    This seems to be a Vista issue.  My custom action code, which does some file copies and event logging, works fine when I install this .msi on a windows 2008 server.  But when I install on a Vista Business machine, most of the custom action code does not work, including the Debugger.Break() call.  This is even though I'm running the install as administrator.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 29, 2010 4:14 PM