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

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?
VFPSQLDeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
isn't the Publish feature for web apps?
0
VFPSQLDeveloperAuthor Commented:
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
sirbountyCommented:
Use Build/Publish then just point it to the target.
You can use it for apps - I do for many of mine...
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

VFPSQLDeveloperAuthor Commented:
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
sirbountyCommented:
http://www.devx.com/dotnet/Article/20849 appears to have a custom installer...perhaps that will help you.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
VFPSQLDeveloperAuthor Commented:
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
sirbountyCommented:
Happy to help - thanx for the grade! :^)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.