Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i developed a program for adding two number in C# .net 2008
i deploy this its working fine...

now i modify my code by ... multiply instead of adding...

so.. now how can i upgrade my setup which i create first..
and re install my application once again...

Please suggest me..

Thanks
Posted

Same answer as the last time you asked ( in the last half hour or so ).

Do your users not have Windows Calculator ?
 
Share this answer
 
Comments
dilip.aim11 10-Feb-12 11:27am    
i m just give a simple example....

before i ask different question...

and given a solution also.. u can see...

this is question if i change my code then what.. how can i upgrade my setup...
Christian Graus 10-Feb-12 11:29am    
It's the same question with the same answer. The only way to create an upgrade installer is to create an installer for a new version. If the version number does not change, then the installer will think it's already there and not update it.
dilip.aim11 10-Feb-12 11:39am    
my previous question hoe can i re install my setup....

this question how can i rebuild my setup...

plese give me some solution about this..
Christian Graus 10-Feb-12 11:42am    
They are the same. You reinstall by running it again, what it does, depends on how you set it up when you built it.
dilip.aim11 10-Feb-12 11:42am    
i did... i run ... but it giving same answer... after success full re-installation..
my question is... does i have to create setup once again ?
You need to change your version number in the setup project properties.
 
Share this answer
 
Comments
dilip.aim11 10-Feb-12 11:28am    
i change but its giving same result like 4+4=8..
i want 4*4 = 16
Christian Graus 10-Feb-12 11:41am    
This is obviously a trival, not real project. Your issue in every case is your installer. I told you already to move to someting like Advanced Installer, which is easier to use than Visual Studio. It is free. If you won't do what we say, and keep asking the same questions, what is our incentive to even reply to you ?
SteveAdey 13-Feb-12 6:32am    
Make sure you change the right version number, if memory serves it's not the obvious one (Upgrade one), but the main one.
After you have updated the code within of the project, just go to solution explorer, select and right click on the project, click "clean".
Now again in solution explorer, right click on projectand select "build".

Now for the setup project, right click on it in solution explorer,
and select "rebuild all"

This should do it.
 
Share this answer
 
Comments
fjdiewornncalwe 10-Feb-12 14:31pm    
Close, but the installer won't just work like this unless the version is updated as mentioned in the previous answers.

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