VS.NET 7 - Deployment Project Blues

  • Thread starter Thread starter Marc Champagne
  • Start date Start date
M

Marc Champagne

Hi folks!

I have built a VB project in VS.NET 7 which also includes a
deployment project.

Everything builds ok.

When I install the setup package, it installs without a
glitch.

Then all subsequent runs of the application via any shortcut
that was made in deployment that refers to "Shortcut to
Primary output xxx (Active)", starts-up the installer which
then appears to cancels itself and then runs the application.

How can I bypass this type of shortcut and create a standard
one in deployment that will not kick in the installer every
time?

Thanks
 
I don't think there is any way to create a "standard" shortcut within the project itself. You could probably write
code to do that, and then add that as a custom action. Check out:
http://msdn.microsoft.com/library/d...y/en-us/script56/html/wsmthcreateshortcut.asp
to get you started.

Have you investigated why the installer starts up when you use the shortcut, and addressed the situation that
way? The best place to start that investigation woul be to look at the Application section of the Event Viewer on
your OS.
 
(e-mail address removed) (Mike Wade [MSFT]) wrote in
I don't think there is any way to create a "standard"
shortcut within the project itself. You could probably
write code to do that, and then add that as a custom
action. Check out:
http://msdn.microsoft.com/library/default.asp?url=/library/e
n-us/script56/html/wsmthcreateshortcut.asp to get you
started.

Have you investigated why the installer starts up when you
use the shortcut, and addressed the situation that way?
The best place to start that investigation woul be to look
at the Application section of the Event Viewer on your OS.

Bingo! did not think of looking there. both default registry
entries were set (always create: false).

Changed them to true and voila, the trick is in the bag.

Thanks
 
Back
Top