locked
how to add my program to the start menu? RRS feed

  • Question

  •  

    A while ago, i used to publish my vs2005 project and upon installing on a client, it would add my program to their start menu.  It no longer does.  I'm not using any fancy installer...Just a simple windows forms project in vs2005.

    How can i enable this feature?

    Monday, October 15, 2007 8:51 PM

Answers

  •  

    Hi plucky,

    I assume you want to create a shortcut file to the start menu. You can take the following steps.

    1.       In Visual Studio 2005 or in Visual Studio .NET, create a Setup project:

    a.       Click File in menu bar, point to Add, and then click New Project. The Add New Project dialog box appears.

    b.      Under Project Type, click Setup and Deployment Projects.
    Note: In Visual Studio 2005, click Other Project Types, and then click Setup and Deployment.

    c.       Under Templates, click Setup Project.

    d.      In the Name box, type ‘MyWindowsAppInstaller’, and then click OK. The project is added to Solution Explorer, and the File System Editor appears.

    2.       Add the project output of the Windows Application project to the Setup project

    a.       In the File System Editor, click Application Folder.

    b.      On the Action menu, point to Add, and then click Project Output

    c.       In the Add Project Output Group dialog box, click Primary output, and then click OK

    d.      Right-click ‘Primary output from xxx’, Choose create shortcut to ‘Primary output from xxx’, and rename the shortcut.
    Note: ‘xxx’ stands for the name of your application project

    e.      In the File System Editor, click User's Programs Menu, and cut the shortcut to this folder.

    3.       On the Build menu, click Build ‘MyWindowsAppInstaller’.

    Hope this helps.
    Best regards.
    Rong-Chun Zhang

    Wednesday, October 17, 2007 3:41 AM

All replies

  •  

    Hi plucky,

    I assume you want to create a shortcut file to the start menu. You can take the following steps.

    1.       In Visual Studio 2005 or in Visual Studio .NET, create a Setup project:

    a.       Click File in menu bar, point to Add, and then click New Project. The Add New Project dialog box appears.

    b.      Under Project Type, click Setup and Deployment Projects.
    Note: In Visual Studio 2005, click Other Project Types, and then click Setup and Deployment.

    c.       Under Templates, click Setup Project.

    d.      In the Name box, type ‘MyWindowsAppInstaller’, and then click OK. The project is added to Solution Explorer, and the File System Editor appears.

    2.       Add the project output of the Windows Application project to the Setup project

    a.       In the File System Editor, click Application Folder.

    b.      On the Action menu, point to Add, and then click Project Output

    c.       In the Add Project Output Group dialog box, click Primary output, and then click OK

    d.      Right-click ‘Primary output from xxx’, Choose create shortcut to ‘Primary output from xxx’, and rename the shortcut.
    Note: ‘xxx’ stands for the name of your application project

    e.      In the File System Editor, click User's Programs Menu, and cut the shortcut to this folder.

    3.       On the Build menu, click Build ‘MyWindowsAppInstaller’.

    Hope this helps.
    Best regards.
    Rong-Chun Zhang

    Wednesday, October 17, 2007 3:41 AM
  •  

    Thanks Rong-Chun that answered my question perfectly!

    Wednesday, October 17, 2007 3:10 PM
  • This was so helpful to me. Bless your sweet heart !

    Tuesday, December 11, 2007 3:23 PM