Visual Studio 2010, Setup and Deployement. Service installer primary output is not visible in custom action editor.

Posted on 2012-09-08
Last Modified: 2012-09-13
I have compiled a VC++ service installer, this installs a windows service. On the project its configuration is set to Active(Debug), I'm able to view its Primary Output (Service1) to add it as part of the Custom Action Editor under Setup and Deplyment project.
If I changed the Service1 project to Active(Release) I cannot longer view its Primary Output (Service1) under the Add Custom Action. But yet I'm able to Add --> Project Output the Primary Output (Service1).

why I cannot view Primary output from Service1 in Release mode under Add Custom Action..

Note: i have other projects that are C# programs and one VC++ program to handle windows service.

Question by:carlostriassi
    1 Comment
    LVL 35

    Accepted Solution

    You need to add the primary output in every project configuration you are planning to use.
    In your case you have to add to debug and release configuration.

    Disclaimer: That is the way VS works, they are trying to be "flexible" in case you need different values for different configurations.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now