Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET .NET4 setup
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 7-Jul-11 4:58am
djmak959
Edited 7-Jul-11 5:11am
v2
Comments
OriginalGriff at 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 at 7-Jul-11 10:40am
   
iam sorry for that
lostatthefair at 8-Nov-12 10:46am
   
GeT oVEr It
OriginalGriff at 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.
Reiss at 7-Jul-11 10:16am
   
What version of Visual Studio and .Net platform are you using?
   
He specified v4 in his tags.
djmak at 7-Jul-11 10:45am
   
iam using .net 4.0
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  
Comments
djmak at 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 at 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 at 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 at 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 at 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.
S Houghtelin at 7-Jul-11 12:11pm
   
You need to update your build version number, that is what you need to do to stop getting that error message.
 
Updating the version number will make sure that the old project files (Old version) will be written over with the new project files (New version) as you want it to do.
 
Please read the following sentence to do this...
 
Under the VB project menu select the project properties. Then click the publish tab (should be on the bottom left). Increment your publish version number.
 
The version number should automatically increment every time you build the release version. ****(You did build it as a release version, correct?)****
Kenneth Michael at 22-Mar-13 6:03am
   
Hello! i need help on how to deploy a vs2010 project with sql server including my installer GUI style.
S Houghtelin at 22-Mar-13 7:50am
   
Greetings Kenneth, unfortunately I know very little about SQL server, however, there is a Windows installer toolset called WIX that may provide some useful function for you. The following link is a tutorial from their website. You can decide if this is the toolset for you. http://wix.tramontana.co.hu/
 
The other options I can offer is to point you to the Quick answers section of Code Project and someone more qualified than myself can provide the information you seek. http://www.codeproject.com/script/Answers/List.aspx?tab=active
 
There is also the Database & SysAdmin forum here at Code Project where you may pose your query. http://www.codeproject.com/Forums/1725/Database.aspx
 
Hope you find the information you seek.

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



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 7 Jul 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100