Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / August 2005

Tip: Looking for answers? Try searching our database.

Shortcut doesn't allow drag and drop

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rogercnorris@yahoo.com - 05 Aug 2005 17:38 GMT
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)
Phil Wilson - 05 Aug 2005 18:31 GMT
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.
Signature

Phil Wilson [MVP Windows Installer]
----

> This one is probably something obvious that I'm missing somewhere...
>
[quoted text clipped - 6 lines]
> behave like a "normal" shortcut and accept dropped files? (We just take
> the file names on the command line)

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.