Groups | Blog | Home
all groups > dotnet setup > june 2005 >

dotnet setup : Creating shortcuts in Setup project


duane.roelands NO[at]SPAM gmail.com
6/16/2005 11:42:20 AM
I have a VB.NET 2003 solution that I created in VS2003. I added a
setup project to the solution, and I added the primary output of the
project to the "Application Folder" in the File System window.

When the setup runs, the shortcut's target is set to the folder - not
the .exe file itself. What am I missing?
Phil Wilson
6/17/2005 8:47:21 AM
I don't like the indeterminate nature of "primary output". It always works
for me if I just get the actual exe into the Application Folder, then
right-click create a shortcut, and put that shortcut in the User's Program
Menu. I've seen people report this issue before, and since I never have this
problem it might be an issue associated with using primary output.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

duane.roelands NO[at]SPAM gmail.com
6/17/2005 10:04:01 AM
Phil,

Thanks for the reply.

You say that you just "get the actual exe into the Application folder".
How do I do that, exactly? Please forgive the rookie question.

Regards and gratitude,
Duane Roelands
Phil Wilson
6/18/2005 11:17:54 AM
If you right-click in the right side pane in the Aplication Folder view
there's an Add->File choice. Just browse to the exe.

These may be helpful:

http://www.simple-talk.com/2005/04/25/getting-started-with-setup-projects/

http://www.simple-talk.com/2005/06/07/visual-studio-setup/

--
Phil Wilson
[Microsoft MVP-Windows Installer]

[quoted text, click to view]

AddThis Social Bookmark Button