c# - Visual Studio Setup Project - Create shortcut of exe file -


i have made simple project allow drap & drop csv file on exe file automatically read data , export excel file. when test program drap & drop csv file exe file in bin/debug , release folder, or shortcut of exe file place on desktop, fine.

when make deployment project above project, , follow steps make shortcut of program, cannot drap & drop on shortcut after install program. reason seem target of shortcut not exe file, (as indicate in properties view in vs) [primary output].

i have tried manually create shortcut of exe file in installation folder, , worked fine.

could me on problem?

if u creating window setup project ... displayed icon advertisement not shortcut link.. , create shortcut of exe ...its creating shortcut link ...

these shortcuts called advertised shortcuts. give application abilities of installation-on-demand , advertisement. when user click on such shortcut, windows installer check integrity of application , automatically install/repair missing or corrupted components.

to disable advertised shortcuts, must set property called disableadvtshortcuts value 1 in msi package.

http://msdn.microsoft.com/en-us/library/aa368297(vs.85).aspx


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -