Solved

How can I specify the (published) destination directory of a VS 2005 VB .NET application?

Posted on 2007-03-17
7
259 Views
Last Modified: 2013-11-26
I have a simple VB .NET project and I have used the 'Publish' option under build to create an install directory.

I want to chosse where the application gets installed to on the destination PC as it seems to default to an obscure directory.

How can I specify the destination directory of the application?
0
Comment
Question by:VFPSQLDeveloper
  • 3
  • 3
7 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 18740749
isn't the Publish feature for web apps?
0
 

Author Comment

by:VFPSQLDeveloper
ID: 18740761
Its funny you should say that, because when I looked at some help for it most of it was to do with publishing web apps.

However, I have used it to install a windows application though, and it worked fine apart from sticking the exe in a really obscure location.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18740856
Use Build/Publish then just point it to the target.
You can use it for apps - I do for many of mine...
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:VFPSQLDeveloper
ID: 18742935
That works for where you want to put the install directory, but I want to change where the exe gets installed to when you actually install it.
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 18763499
http://www.devx.com/dotnet/Article/20849 appears to have a custom installer...perhaps that will help you.
0
 

Author Comment

by:VFPSQLDeveloper
ID: 18814563
In the end I didnt have to worry about where the app went and I could use the Publish facility which is nice and simple for very simple apps.

Thanks for the link to the article, I know I will need this info for future, more complex apps.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18815320
Happy to help - thanx for the grade! :^)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

24 Experts available now in Live!

Get 1:1 Help Now