473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How to debug setup projects

Is there a way to debug a setup project with VS2003?
Thanks.

Sep 13 '07 #1
3 11610
Hello, nano2k!

You can only debug custom actions that are defined in the setup project.
Setup project generates .msi file. Msi file is executed by msiexec.exe.

So, in your custom action you can place a Debugger.Break() or
MessageBox.Show() call.
And after exception is generated or message box show attach to that
msiexec.exe process.

HTH

--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com

You wrote on Thu, 13 Sep 2007 06:50:35 -0700:

nIs there a way to debug a setup project with VS2003?
nThanks.
Sep 13 '07 #2
You can only debug custom actions that are defined in the setup project.
Great, this is what I need. It works.
Thanks.

Sep 14 '07 #3
nano2k wrote:
Is there a way to debug a setup project with VS2003?
Thanks.
Hi nano2k,

This link explains how to enable logging when installing a msi file

http://blogs.msdn.com/astebner/archi...29/403575.aspx

/Morten
Sep 28 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: DKode | last post by:
Ok, Maybe there is an easier way to do what it is im trying to do. Let me explain how I have the solution setup first. Basically, I am having alot of difficulty debugging on my local machine and...
1
by: Tom wilson | last post by:
I've been through everything with this error and cannot get the debugger to work remotely. The only thing I can trace it down to is that RPC is not communicating between servers. So after many,...
1
by: StevenBarnes | last post by:
I have a solution with 6 or so projects, some dts dll's, a couple images, etc. I have a working setup project that creates a nice installation msi. Cool. Now I want to obfuscate my .exe and my...
1
by: bob | last post by:
Hello, I have a SetUp project in my solution. When I add the primary output of certain projects to it they add their project dependencies twice - the debug and the release. Anyone known what...
4
by: m11533 | last post by:
I am writing a fairly complex application in c# and Visual Studio .Net 2003. Right now I am working on a simple console application (to be launched in the future from a service) that receives...
1
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project...
1
by: =?Utf-8?B?RG91Zw==?= | last post by:
We have a very large code base and use the partitioned solution model for development and deployment. The problem is that in .NET 2005 the setup projects cause severe performance problems when...
1
by: Claire | last post by:
"The project that you are attempting to add to source control may cause other source control users to have difficulty opening this solution or getting newer versions of it. To avoid this problem,...
1
by: harry_noble1902 | last post by:
Hello I have a "solution" that has 7 VB.Net projects in it. Some of the VB.Net projects are dll librarys but 3 are applications (so there are 7-3=4 dlls) I want to install with a setup...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.