Solved

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

Posted on 2007-03-17
7
262 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 70

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
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

713 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