Results 1 to 9 of 9

Thread: Setting the Installation Location of a published application

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Posts
    235

    Setting the Installation Location of a published application

    Hi all

    I have published a vb.net application and installed it on my PC.
    When I try to locate the installed application, I dont find the location where its been installed.

    How to install a publish application on a specified location in C:\Program Files\Project\ ?

    Thanks for all the previous and future help from the forum.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,297

    Re: Setting the Installation Location of a published application

    You can't. When you publish a project in VS you are using ClickOnce. ClickOnce applications are installed to the ClickOnce cache, so that ClickOnce can manage them. The app can be found but it is an obsure location that isn't intended to be accessed directly.

    Why do you feel that you need to know/set the location? If it's just because you think it would be nice then just forget it and go with the flow. If there is a genuine reason then you simply can't use ClickOnce. If you have a full edition of VS then you can create a Setup project to create a Windows Installer package. If you're using VB Express then you'd have to either use XCOPY, i.e. manual installation, or else use a third-party tool to create an MSI or other installer.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Posts
    235

    Re: Setting the Installation Location of a published application

    Thanks for the reply.

    I need to know the location as we are planning to use the application for off-shore team through a server.

    I'm using a trial version and i'm not able to find the setup project in the solution explorer.

    Kindly help me to find a solution to this case.

    Thanks in advance.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,297

    Re: Setting the Installation Location of a published application

    Are you using VS or VB Express?

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Posts
    235

    Re: Setting the Installation Location of a published application

    I'm using Visual Studio 2008.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,297

    Re: Setting the Installation Location of a published application

    Then the Setup Project is in the Add New Project dialogue. Keep looking. There aren't that many to choose from.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Posts
    235

    Re: Setting the Installation Location of a published application

    Which dialogue are you refering to?
    When we right click on the project from the solution explore, there is no add new project as such.
    There is add new code, class,etc...

    If thats no the place to look for, kindly let me know where to look.

    Thanks

  8. #8
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: Setting the Installation Location of a published application

    Go to Tools->Options in VS and select the Projects and Solutions settings and check the "Always Show Solution" checkbox.

  9. #9
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,531

    Re: Setting the Installation Location of a published application

    You need to add a NEW PROJECT to the solution... not add a new item to the project.
    Then from the Project type dialog, select Installation Project.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width