[Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 11805
  • Last Modified:

Create installer with Visual Studio Express C#


   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,
1 Solution
Hello sey7,

source: http://www.installsite.org/pages/en/clickonce.htm
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 to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now