Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems whit shurtcut in a setup and deployment project

Status
Not open for further replies.

elinM

Programmer
Feb 12, 2004
15
NO
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.

Do anybody knows what I'm doing wrong,

regards,
Elin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top