473,549 Members | 2,531 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 1347
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
2080
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....
3
2035
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...
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
2825
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...
11
1602
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...
2
2898
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
4050
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...
7
5949
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
7526
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...
0
7723
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. ...
1
7483
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7817
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6051
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...
0
5092
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1949
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
1
1063
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
771
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...

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.