Problems with Setup Project

Discussion in 'Microsoft Dot NET Framework Forms' started by Luigi Z, Feb 9, 2009.

  1. Luigi Z

    Luigi Z Guest

    Hi all,
    in my .NET C# 2.0 solution, I have several Class Library projects and one
    Windows Forms project.
    When I create a Setup Project, set the Primary Output the WinForm project
    and let other options with default values, I obtain the .msi file.
    When I run the .msi file, it create the folder with dll's and the .exe under
    C:\Program Files, but not an item in the Start menu (or a shortcut in the
    desktop user).
    So the users have to browse in the folder and run the exe manually. Not very
    comfortable.

    Why this happen?

    Thanks in advance.


    --
    Luigi
    http://blogs.dotnethell.it/ciupaz/
     
    Luigi Z, Feb 9, 2009
    #1
    1. Advertisements

  2. Luigi Z

    miher Guest

    Hi,

    To put anything into other folder You have to specify that. If You select
    the setup project, and the FileSystem view (right click setup project select
    view/File system), by default You should see 3 folders in the tree view on
    the left. To put anything onto the users desktop populate the "User's
    Desktop" folder, do the same with "User's Programs Menu" for start menu.

    For example :
    to create a simple shortcut select Your primary project output / right-click
    and select create shortcut / drag the shortcut to any above mentioned
    folders.

    Hope You find this useful.
    -Zsolt

    "Luigi Z" <> wrote in message
    news:...
    > Hi all,
    > in my .NET C# 2.0 solution, I have several Class Library projects and one
    > Windows Forms project.
    > When I create a Setup Project, set the Primary Output the WinForm project
    > and let other options with default values, I obtain the .msi file.
    > When I run the .msi file, it create the folder with dll's and the .exe
    > under
    > C:\Program Files, but not an item in the Start menu (or a shortcut in the
    > desktop user).
    > So the users have to browse in the folder and run the exe manually. Not
    > very
    > comfortable.
    >
    > Why this happen?
    >
    > Thanks in advance.
    >
    >
    > --
    > Luigi
    > http://blogs.dotnethell.it/ciupaz/
     
    miher, Feb 9, 2009
    #2
    1. Advertisements

  3. Luigi Z

    Luigi Z Guest

    "miher" wrote:

    > Hi,
    >
    > To put anything into other folder You have to specify that. If You select
    > the setup project, and the FileSystem view (right click setup project select
    > view/File system), by default You should see 3 folders in the tree view on
    > the left. To put anything onto the users desktop populate the "User's
    > Desktop" folder, do the same with "User's Programs Menu" for start menu.
    >
    > For example :
    > to create a simple shortcut select Your primary project output / right-click
    > and select create shortcut / drag the shortcut to any above mentioned
    > folders.
    >
    > Hope You find this useful.
    > -Zsolt


    Perfect, thank you Miher.

    Luigi
     
    Luigi Z, Feb 11, 2009
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Vishnu

    Default Location for setup project

    Vishnu, Oct 13, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    1
    Views:
    1,621
    David Guyer [MS]
    Oct 16, 2003
  2. Rob Oldfield

    File system items not visible in setup project

    Rob Oldfield, Feb 3, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    242
    Rob Oldfield
    Feb 3, 2004
  3. Bruce W.1

    Can a winform project and ASP.NET project share the same solution?

    Bruce W.1, Mar 8, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    4
    Views:
    712
    Bruce W.1
    Mar 9, 2004
  4. Guest
    Replies:
    1
    Views:
    436
    Felix Wang
    Apr 15, 2004
  5. Xavi xavi via .NET 247

    Setup project questions

    Xavi xavi via .NET 247, Apr 23, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    1
    Views:
    192
    Todd Derksen [MSFT]
    Apr 27, 2004
  6. Guest

    Preventing a Setup project from repairing

    Guest, Jul 7, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    1
    Views:
    320
    Todd Derksen [MSFT]
    Jul 13, 2004
  7. Scott D

    Automatically Add UserControls to Customize Toolbox with Setup Project?

    Scott D, Jul 20, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    2
    Views:
    280
    Ken Tucker [MVP]
    Jul 25, 2004
  8. Guest

    C# Change Default Path For Setup Project

    Guest, Nov 18, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    1
    Views:
    2,950
    Dmitriy Lapshin [C# / .NET MVP]
    Nov 19, 2004
Loading...