Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone
I just need a help in .NET
Actually I want to make a Setup and Deployment Project which should be Overwritten if the product is already installed .
I have Googled it but I didn't got the solution. Can anyone help me in this?

Thanks in advance.

[edit]SHOUTING removed, big removed - OriginalGriff[/edit]
Posted
Updated 7-Jul-11 4:11am
v2
Comments
OriginalGriff 7-Jul-11 10:12am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
djmak 7-Jul-11 10:40am    
iam sorry for that
lostatthefair 8-Nov-12 10:46am    
GeT oVEr It
OriginalGriff 8-Nov-12 13:59pm    
If you want to get help from people who do not get paid for assisting you, it's probably best not to start out by shouting at them. Just a thought.
R0bb 1-Aug-18 1:52am    
I can't hear anybody on this page. Can you all please SPEAK UP :D

 
Share this answer
 
Pertaining to Visual Studio, here is the MSDN link to deploying your application. You can choose whichever version you are using by clicking Other Versions:

http://msdn.microsoft.com/en-US/library/206sadcd(v=VS.80).aspx[^]

Sorry that I do not have a "click this button" solution for you. Go through the links in the MSDN site and learn, everything you need to know is there. You can also try using google using your Qeustion title as the search text.

Regards
 
Share this answer
 
Comments
djmak 7-Jul-11 10:47am    
hiiii thanx for the solution but i don't think so that this is an exact solution for my question.
S Houghtelin 7-Jul-11 10:59am    
Ok, by using the links I suggested you go through I found this link (http://msdn.microsoft.com/en-US/library/k3bb4tfd(v=VS.80).aspx)

To create a setup and deployment package you need to create a Visual Studio setup project then you can add your vb.net project to the setup project.

You need to read the material that John and I have provided for you to learn from. The exact solution is not a click button 1 then click button 2 solution.

To be a good programmer you need to learn how to find information and implement what you find, beyond that I am not sure what I or anyone can do for you.
djmak 7-Jul-11 11:22am    
Hiii bro its a material regarding a complete tutorial of setup and deployment project in .net
i know all this
i have created a setup file of my Project say Test.msi,setup.exe
now i have installed the Setup on a Computer
and then iam modifying the Project and again Deploying the Project
and now again iam executing the setup but it gives a error message "This Version of Product is already installed Remove the Product from Add or Remove Programs and then install"
now All i want is if iam again installing the setup it should get overwritten
without popping up the error message!
so is there any Method to Do this???
S Houghtelin 7-Jul-11 11:30am    
"This Version of Product is already installed ..." Update your build version number.

Under the VB project menu select the project properties. Then click the publish tab (should be on the bottom left). Increment your publish version. This should automatically increment every time you build the release version. (You did build it as a release version, correct?)
djmak 7-Jul-11 12:04pm    
this is the error message m getting while executing the setup.exe on already installed computer.
Another version of this product is already installed.
Installation of this version cannot continue. To
configure or remove the existing version of this product,
use Add/Remove Programs on the Control Panel.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900