Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ClickOnce Install/VB.Net

Status
Not open for further replies.

Microchip1222

Programmer
Jan 9, 2008
1
0
0
US
The Build ---> Publish works really nice, except for one thing: it does not let me specify which directory to install the application into on the client's machine. Instead, it buries the data file deeply within its esoteric directory structure. This, as you can imagine, creates a nightmare for trying to back this data up.

Is there a way to tell the Publish what directory to install to?

Thanks a bunch in advance!

Dave
 
You cannot change the location where the application is installed by a ClickOnce installation. To specify this, you need to create a Setup project to create an installer for your application. To do this in Visual Studio 2008, with the project to be installed open, go to File->Add->New Project. In that dialog, select "Other Project Types" then "Setup and Deployment" in the left pane. Select "Setup Project" in the right pane, enter the name and path for the project and click OK.

Here's a link that shows the basics of this, with screenshots:


I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top