Link to home
Start Free TrialLog in
Avatar of VFPSQLDeveloper
VFPSQLDeveloper

asked on

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?
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

isn't the Publish feature for web apps?
Avatar of VFPSQLDeveloper
VFPSQLDeveloper

ASKER

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.
Use Build/Publish then just point it to the target.
You can use it for apps - I do for many of mine...
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.
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Happy to help - thanx for the grade! :^)