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
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