Deployment Problem RRS feed

  • Question

  • VB in VS2010
    I am having a problem deploying a project.
    The method I use is to add a set up project to the Solution Explorer  of the main project
    I also include a Desktop Shortcut and a Start Menu entry, and I provide an icon file for both of these.
    I build the solution.
    Then I publish it.

    Publishing it creates three items.
    an Application Folder, a setup file, and a ClickOnce file.

    When I run the setup file on my development machine the program installs and runs perfectly.
    However, it gets installed into an obscure directory, not into the Program Files directory where it is supposed to go.
    It does not display a desktop shortcut icon.
    It does create an entry on the start menu but only with a default icon.
    The same thing happens on a different third party machine - it installs and runs perfectly, but with the same obscurity and the same missing items.

    The problem could be that I am creating a ClickOnce deployment - I read in a different post that these can install in obscure directories and do other odd things.

    So - how can I avoid creating a ClickOnce deployment when I don't want one?
    Is this the solution?


    • Moved by Youen Zen Wednesday, November 21, 2012 8:09 AM Appropriate forum for this issue (From:Visual Basic General)
    Tuesday, November 20, 2012 6:05 PM


All replies

  • Hello,

    We have a forum ClickOnce and Setup & Deployment Projects discuss this issue. And I'll move this thread now.

    Thanks for understanding.

    Shanks Zen
    MSDN Community Support | Feedback to us

    • Edited by Youen Zen Wednesday, November 21, 2012 8:09 AM
    Wednesday, November 21, 2012 8:08 AM
  • Hi,

    The issue occurs because you publish the application by using ClickOnce.

    Since you have add a setup project, you just need to build the setup project. You can find a msi file in the setup project output folder.
    I suggest you to follow the walkthrough below.


    Best REgards,

    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us

    • Marked as answer by Bob Wu-MT Tuesday, December 4, 2012 10:07 AM
    Wednesday, November 21, 2012 8:17 AM