Click here to Skip to main content
15,916,042 members
Home / Discussions / C#
   

C#

 
AnswerRe: setup and deployment project version problem Pin
Jimmanuel6-May-08 2:50
Jimmanuel6-May-08 2:50 
two options:
1) change the version number to one greater than what you have and rebuild
2) use Windows "Add/Remove Programs" to remove the product that's currently installed and then reinstall the new version

The problem is that windows caches the installer somewhere in it's bowels when you run it. Then when you go back into the project, make changes and rebuild there are now two distinct copies of the installer: the one that windows cached when you last successfully ran it and the new one that you just built in your DEBUG (or Release) folder. Both installers have the same product name and version number so when you try to run the new installer that you just built windows looks and sees that the product that you're trying to install is already there. Then you get the error message that you're seeing.

One way to fix the problem is to used the installer that windows cached when it was to run to remove your product. To do this go through Windows "Add/Remove Programs" and remove it from there.

To change the version number select the Setup Project's project file in the Solution Explorer and look at the Properties tab. One of the Properties is the version number.



GeneralRe: setup and deployment project version problem Pin
GuyThiebaut6-May-08 2:58
professionalGuyThiebaut6-May-08 2:58 
GeneralRe: setup and deployment project version problem Pin
Jimmanuel6-May-08 3:02
Jimmanuel6-May-08 3:02 
GeneralRe: setup and deployment project version problem Pin
GuyThiebaut6-May-08 3:12
professionalGuyThiebaut6-May-08 3:12 
GeneralRe: setup and deployment project version problem Pin
Jimmanuel6-May-08 3:21
Jimmanuel6-May-08 3:21 
GeneralRe: setup and deployment project version problem Pin
GuyThiebaut6-May-08 3:27
professionalGuyThiebaut6-May-08 3:27 
GeneralRe: setup and deployment project version problem Pin
Jimmanuel6-May-08 3:29
Jimmanuel6-May-08 3:29 
QuestionPassing extra parameters to events Pin
kensai6-May-08 1:58
kensai6-May-08 1:58 
AnswerRe: Passing extra parameters to events Pin
Christian Graus6-May-08 2:03
protectorChristian Graus6-May-08 2:03 
AnswerRe: Passing extra parameters to events Pin
Eduard Keilholz6-May-08 2:03
Eduard Keilholz6-May-08 2:03 
QuestionHow can i read data from printer port before printing in C# [modified] Pin
Krishna Prasad RVS6-May-08 1:22
Krishna Prasad RVS6-May-08 1:22 
AnswerRe: How can i read data from printer port before printing in C# Pin
Christian Graus6-May-08 1:31
protectorChristian Graus6-May-08 1:31 
QuestionHow would one create a custom install with specifc application insatll ? Pin
Berlus6-May-08 1:09
Berlus6-May-08 1:09 
AnswerRe: How would one create a custom install with specifc application insatll ? Pin
Christian Graus6-May-08 1:32
protectorChristian Graus6-May-08 1:32 
Questionhow to add a backgroundimage to tab [modified] Pin
solbyte6-May-08 1:06
solbyte6-May-08 1:06 
AnswerRe: how to add a backgroundimage to tab Pin
Christian Graus6-May-08 1:14
protectorChristian Graus6-May-08 1:14 
GeneralRe: how to add a backgroundimage to tab Pin
solbyte6-May-08 2:22
solbyte6-May-08 2:22 
QuestionWeb Browser Controls... Pin
ptr2void6-May-08 0:53
ptr2void6-May-08 0:53 
AnswerRe: Web Browser Controls... Pin
Eduard Keilholz6-May-08 0:59
Eduard Keilholz6-May-08 0:59 
GeneralRe: Web Browser Controls... Pin
ptr2void6-May-08 1:12
ptr2void6-May-08 1:12 
GeneralRe: Web Browser Controls... Pin
Christian Graus6-May-08 1:54
protectorChristian Graus6-May-08 1:54 
AnswerRe: Web Browser Controls... Pin
Spacix One7-May-08 11:13
Spacix One7-May-08 11:13 
QuestionSetup wizard Pin
Waheed Ur Rehman6-May-08 0:37
Waheed Ur Rehman6-May-08 0:37 
AnswerRe: Setup wizard Pin
Abhijit Jana6-May-08 0:49
professionalAbhijit Jana6-May-08 0:49 
QuestionThread.CurrentThread.CurrentCulture & NUnit issue Pin
buchstaben6-May-08 0:27
buchstaben6-May-08 0:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.