Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Deployment - In the folder "User's program menu" I added a folder, and now I can't find the option to create the shortcut to let
 

Deployment - In the folder "User's program menu" I added a folder, and now I can't find the option to create the shortcut to let

Hi guys,

This is my first time deploying a .NETapplication, and I need some assistance.

Up to now I did as follows:

. - Add / New Project / Other Project typesSetup and Deployment / Setup Wizard (called "Setup TAPI").

On the Setup wizard:

. - Create a setup for a windows application.

. �Selected "primary output".

. �In the properties / prerequisites of the Setup TAPI project I checked "Windows Installer 3.1" and ".Net Framework 3.5".

In the folder "Application Folder" I see the references and primary output.

In the folder "User's program menu" I added a folder, and now I can't find the option to create the shortcut to let the user running the application...

Thanks in advance for any help.

ajliaks  Sunday, October 19, 2008 1:21 PM

First select "User's program menu" folder (from left folder list panel)--> Inside folder (on right panel)right click --> select "Create New Shortcut" --> Now from the dialog box select Application folder --> select project output. This will add a shortcut into your "User's program menu". And you can alsogive a name and an icon for the shortcut.

Thanks

Anuj Kumar Sahu

MCTS: Windows Application

Anuj Kumar Sahu  Monday, October 20, 2008 10:53 AM

First select "User's program menu" folder (from left folder list panel)--> Inside folder (on right panel)right click --> select "Create New Shortcut" --> Now from the dialog box select Application folder --> select project output. This will add a shortcut into your "User's program menu". And you can alsogive a name and an icon for the shortcut.

Thanks

Anuj Kumar Sahu

MCTS: Windows Application

Anuj Kumar Sahu  Monday, October 20, 2008 10:53 AM
In Vista, the above approach created a menu command that only shown the hidden "Target" - Right-click on the menu and show properties, the "Target" field did not have the EXE command, but just the "install path". Because of this, the menu command was not supported the "Run As Admind" option, when the end-user right-click on it. The end-user can run it but there is no option like the normal Menu command that had the actual EXE command.

Question: Is there a way to create the Menu command for the project output that will populate the "Target" field with the actual EXE command so that the end-user can have the option to Run the app as Administrator. This seemed to be liked a defect with VS2005 Setup project.


Coder
codemaniac  Friday, April 24, 2009 7:12 PM
This isn't Vista behavior - it's because the default for a Visual Studio-generated MSI file is to create advertised shortcuts. These can be tuened off by using the case-sensitive DISABLEADVTSHORTCUTS property.
http://msdn.microsoft.com/en-us/library/aa368297.aspx

There's no support to set this so you need an post-build update to set it in the MSI file in the Property table. If you search this forum for DISABLEADVTSHORTCUTS I think you'll find the SQL to do that. Or open the MSI filer with Orca, go to the Property table, add a new row, Property DISABLEADVTSHORTCUTS (must be case-sensitive) and a value of 1.

Phil Wilson
PhilWilson  Friday, April 24, 2009 9:41 PM

Hi,

I could create the shortcut successfully in the desktop and in user's program menu. But I couldn't see the pop up message "New program Installed" in the program menu. How to get the pop up once the installation is done?

Thanks in advance!

Regards,
Sanjeevi

San1984  Tuesday, July 28, 2009 5:03 PM

You can use google to search for other answers

Custom Search

More Threads

• Adding a USB driver installer to a setup and deploy project
• No Touch Deployment Referenced dll download problem on some workstations
• pfx import file password while building
• Launching ClickOnce applications
• Disabling click once auto update checking still results in auto checking
• Signing ClickOnce Manifests Using Certificate Chains and Thawte
• App. runs on Win XP, not on Win 2000
• setup project installation problem
• ClickOnce Application
• Clickonce Application Folder