all groups > visual studio .net setup > august 2005 >
You're in the

visual studio .net setup

group:

Shortcut doesn't allow drag and drop


Shortcut doesn't allow drag and drop rogercnorris NO[at]SPAM yahoo.com
8/5/2005 9:38:52 AM
visual studio .net setup:
This one is probably something obvious that I'm missing somewhere...

The setup package for our program is putting a shortcut onto the
desktop. That's good. But the shortcut won't allow the user to drag
and drop files onto it. Why not? If I create a shortcut manually then
it will accept the files.

How can I get the desktop shortcut created by the installer package to
behave like a "normal" shortcut and accept dropped files? (We just take
the file names on the command line)
Re: Shortcut doesn't allow drag and drop Phil Wilson
8/5/2005 10:31:05 AM
Shortcuts built by VS setup projects are advertised shortcuts, that's why.
One of the other reasons for that is that they invoke repair if there are
missing files etc. You can make them non-advertised by getting the
DISABLEADVTSHORTCUTS (case sensitive) property set to 1 during installation.
Either do it like this:
msiexec /i <path to your msi> DISABLEADVTSHORTCUTS=1
or set it in the Property table in your MSI file, using Orca. Add a row with
the property name DISABLEADVTSHORTCUTS and a Value of 1.
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

AddThis Social Bookmark Button