Solved

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

Posted on 2007-03-17
7
261 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
How our DevOps Teams Maximize Uptime

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

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

790 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