Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Advertised shortcuts in the installers... how avoid it
 

Advertised shortcuts in the installers... how avoid it

Hi!

I'm very confused with this issue, I can't belive that in the 2008 year there isn't yet a way to disable advertised shortcuts in the installers, then must be that I cant get see it! Because there's a option to put things in the SendTo folder... and this folder is for one purpose only... have to exists a option to get runs it well... or I think that...

I need create a shortcut in the user SendTo folder, but the shortcut that the msi creates ... is a advertised shortcut and doesn't work Sad

http://www.prism.gatech.edu/~gtg120z/onenote/ShortcutsinSetup.html

http://jtbworld.blogspot.com/2007/11/enable-target-and-change-icon-of.html

So, this links explains how to use Orca (there's Orca for .net3.5?) for edit the msi, or how to pass parameters to the installer... and other madness... Big Smile But... is imposible do it with Visual Studio??

Cheers.
vtortola  Saturday, February 23, 2008 2:36 PM
There's no IDE support in Visual Studio setup projects to turn off advertised shortcuts so there is no answer except to use Orca or a post-build step to add DISABLEADVTSHORTCUTS=1to the Property table in the MSI file. It works on the command line if you;d rather so that: msiexec /i <path to your msi> DISABLEADVTSHORTCUTS=1

I think you may be assuming that Visual Studio setups have support for all the features in Windows Installer, but they don't. If you want to control that type of detail, or build your own UI forms, create multiple features, run custom actions off buttons in the UI and so on then use a tool that supports that functionality (WiX, Wise, InstallShield, Advanced Installer, just to name a few other tools that create MSI files).
Phil Wilson
  • Marked As Answer byvtortola Thursday, May 21, 2009 9:06 AM
  •  
PhilWilson  Wednesday, May 20, 2009 10:03 PM
It's amazing that this post has 1328 views and no answers.

.: Valeriano Tórtola :.: http://www.vtortola.net :.
vtortola  Wednesday, May 20, 2009 4:31 PM
There's no IDE support in Visual Studio setup projects to turn off advertised shortcuts so there is no answer except to use Orca or a post-build step to add DISABLEADVTSHORTCUTS=1to the Property table in the MSI file. It works on the command line if you;d rather so that: msiexec /i <path to your msi> DISABLEADVTSHORTCUTS=1

I think you may be assuming that Visual Studio setups have support for all the features in Windows Installer, but they don't. If you want to control that type of detail, or build your own UI forms, create multiple features, run custom actions off buttons in the UI and so on then use a tool that supports that functionality (WiX, Wise, InstallShield, Advanced Installer, just to name a few other tools that create MSI files).
Phil Wilson
  • Marked As Answer byvtortola Thursday, May 21, 2009 9:06 AM
  •  
PhilWilson  Wednesday, May 20, 2009 10:03 PM
That's what I wanted, a way of do it or know that is not possible.

thanks.

.: Valeriano Tórtola :.: http://www.vtortola.net :.
vtortola  Thursday, May 21, 2009 9:06 AM
Hi,

Using VS2005 there is a prototype msi file in the common7\tools\deployment\vsdschema directory called schema.msi. This prototype is used in the consecutive generation of your deployment msi file.
It's read only so first you have to change that. Then you can use orca to add DISABLEADVTSHORTCUTS=1
to the Property table. So fromthen on all your msi files willcreate the standard shortcut. I suppose VS2008 use the same mechanism.
R. de Vreede  Monday, June 15, 2009 12:00 PM

You can use google to search for other answers

Custom Search

More Threads

• how to use icon on desktop instead of folder?
• VS 2008 Pro, Unable to change Setup Framework Dependency Version #
• Deploying ClickOnce SmartClient behind a Security Appliance
• Including a Text File in a Published Project
• ClickOnce Error When Publishing: PathTooLongException
• Issue with the Deployment URI fro one click
• Dead link on publish page
• MSI UI - Customized Control
• Disabling clickonce when a deployment project is being used
• Help me out :Clickonce update Error