Create installer with Visual Studio Express C#

Posted on 2006-05-23
Last Modified: 2008-01-09

   I made an application using Visual Studio Express and now I want to create an installer for it.
   I tried with Publish option which creates an installer, but when I run it it does not ask for installation path. It just install the app in user documents and settings directory.

   Any idea how to make it to ask for installation path?

Best Regards,
Question by:sey7
    1 Comment
    LVL 44

    Accepted Solution

    Hello sey7,

    reading up on ClickOnce deployment [the one VS Express uses] it states

    Installation directory
    Your application files will always be copied to the My Applications folder under the user's My Documents folder.

    this will ensure that the application is only available to the current user and updates are always to the same folder automatically when starting up if marked for that functionality

    if you really want to control the destination you need to build your own, VS 2005 has a setup project to make setup packages as in the old manner or you look into a commercial msi editor or the platform SDK to make your own installer package

    sharing what you know, learning what you don't

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Article by: Ivo
    Anonymous Types in C# by Ivo Stoykov Anonymous Types are useful when  we do not need to follow usual work-flow -- creating object of some type, assign some read-only values and then doing something with them. Instead we can encapsulate this read…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    754 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

    20 Experts available now in Live!

    Get 1:1 Help Now