473,834 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS.NET 7 - Deployment Project Blues

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
Jul 21 '05 #1
2 1360
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/de...teshortcut.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.
--
Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Newsgroups: microsoft.publi c.dotnet.genera l
Subject: VS.NET 7 - Deployment Project Blues
From: Marc Champagne <ne**@ctldirect .DOT.com.invali d>
Date: Tue, 28 Oct 2003 17:16:43 GMT

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


Jul 21 '05 #2
mw***@online.mi crosoft.com (Mike Wade [MSFT]) wrote in
news:Pk******** *****@cpmsftngx a06.phx.gbl:
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/de...url=/library/e
n-us/script56/html/wsmthcreateshor tcut.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

--
Marc Champagne
marcch.AT.video SPAMNOTtron.DOT .ca.invalid
Montreal, Canada
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2094
by: Richard Lewis Haggard | last post by:
I'm new to C# deployment project way of doing things and have run into a problem with a deployment project that has me stumped. I've put together a deployment of a project which works just fine for new installations but fails if the project has already been deployed. What I'd like for it to do is to ask if it should upgrade/repair/uninstall. Instead, it says that the user must remove the project before the installation can execute. What...
3
2044
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take advantage of extensive deployment project management features, such as registration and IIS configuration." I guess that users of shared web hosts are using copying rather than a deployment project. What problems might this run into? I.e.,...
2
229
by: Marc Champagne | last post by:
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.
7
2845
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the EXE in the Custom Actions area of the Setup and Deployment project. Unfortunately when the EXE is launched it causes the setup program to stay open until the EXE has been exited. Anyone have any ideas how to launch the EXE and get the setup...
11
1628
by: Thom Little | last post by:
Create two ASP.NET applications. Run them on the development machine to make sure they are error free. Publish the fist application to the root of a remote webspace. Call a page and see that it operates correctly. Publish the second application to the root of the same remote webspace. Permit it to overwrite existing files. Call a page and notice that it waits forever.
2
2913
by: MarkusJNZ | last post by:
Hi, we have an existing solution which contains a bunch of C# projects and one weployment project. Initially I did not have the web deployment project installed on my computer so I downloaded and installed it. I now have the option to create a new deployment project when I go File- New Project so I assume that it has installed correctly.
6
4072
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
2
373
by: Miro | last post by:
Reading the help file it says in step 2 to click on "other project types" and then click on "Setup and Deployment projects".( see below ) I am using vb2005 express. Im assuming this is not an express option? I do not have that option available. All I have is: -Windows Application -Class Library -Consol Applicaotin -My Movie Colleciton -Screen Saver Starter Kit
7
5997
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find it? If not, how do I have to change my deployment strategy? Thanks!
0
9799
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9646
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10795
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10512
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9332
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7760
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3981
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3083
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.