Groups | Blog | Home
all groups > dotnet distributed apps > august 2004 >

dotnet distributed apps : Application shortcut has strange behavior


tycus
8/16/2004 6:27:02 PM
I am deploying a .NET Windows application. In the Setup project, in the
"Files on Target Machine" I chose the User's Desktop and create a shortcut.
The target of the shortcut is "Primary output". The idea is to have the
Installation script create a shortcut to the application on the user's
desktop.

When the installation is done, the shortcut is created, but it looks
unusual. The "Target:" box is grayed out , and has the Application Name
rather than the path to the .exe file, as I would have expected. There is no
path for the Target, just the Application Name. Furthermore, the "Find
Target.." button is grayed out, so you can't click on it to find out where
the target really is.

When you click on the shortcut, sometimes it just works okay, as if it was
running the application .exe file. But most of the time, it comes up with a
window that says "Preparing to Install..." and then it says "Canceling..."
and then after that the application is run correctly.

I don't know what this shortcut is doing! Furthermore no one in our
organization has seen a shortcut like that, with grayed out boxes.

How can you get .NET to produce a regular shortcut that runs the application
(elin NO[at]SPAM trillhus.com)
9/13/2004 2:53:05 PM
hi!
I have the exactly the same problem whit the shoutcut as you describe. Have you manage to create a shoutcut that runs correctly.

regards,
Elin


**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
AddThis Social Bookmark Button