Click here to Skip to main content
16,018,353 members
Home / Discussions / C#
   

C#

 
GeneralRe: Installer Issues Pin
leppie11-Jun-08 6:04
leppie11-Jun-08 6:04 
GeneralRe: Installer Issues Pin
Russell Jones11-Jun-08 6:26
Russell Jones11-Jun-08 6:26 
GeneralRe: Installer Issues Pin
leppie11-Jun-08 6:57
leppie11-Jun-08 6:57 
GeneralRe: Installer Issues Pin
leppie11-Jun-08 6:05
leppie11-Jun-08 6:05 
AnswerRe: Installer Issues Pin
Jimmanuel11-Jun-08 6:07
Jimmanuel11-Jun-08 6:07 
AnswerRe: Installer Issues Pin
Big Daddy Farang11-Jun-08 12:38
Big Daddy Farang11-Jun-08 12:38 
GeneralRe: Installer Issues Pin
Russell Jones11-Jun-08 23:13
Russell Jones11-Jun-08 23:13 
GeneralRe: Installer Issues Pin
Big Daddy Farang12-Jun-08 5:27
Big Daddy Farang12-Jun-08 5:27 
I'm not sure why that would be. I'll give you all the details I can remember from my recent struggle with this issue.

We're using VS 2005 to build the apps and services, written in C# targeting .NET 2.0. The installers are also created with VS 2005. The version scheme I'm using for the product is currently 2.0.4.*. When I have a new build to test, I change the version of the installer from 2.0.400n to 2.0.400n+1. (Unfortunately the installer version is limited to x.x.xxxx rather than the same scheme allowed for the programs.) After I change the installer version number, VS asks me if I want to change the ProductCode. I choose "Yes" keeping my eye on it to make sure it changes. (Always has.)

As discussed earlier, RemovePreviousVersion is set to True. Two other things that I know are involved, which you might want to check, are these. Do not change the UpgradeCode, although it seems like a logical thing to do. Second, the value of DetectNewerInstalledVersion, should be set to True.

(From my mixed-up way of thinking, ProductCode and UpgradeCode should be switched around.)

When the n+1 installer runs, it removes the older files and directories installed by the n installer. It also removes all Registry settings, which is an issue I need to deal with in the future, and it removes its previous entry in the Remove Programs list. The n+1 installer then creates new directories, puts files in them, and adds a few things to the Registry.

Prior to making .msi installers, we were using installers produced by Setup Factory (Version 7.) These .exe installers would simply overwrite existing files on the hard drive with newer ones from its cache of compressed files. I think it's based on the time stamp of the file rather than any version info that may be in the file. I know others have suggested some other alternatives as well.

Hope that helps.

BDF

A learned fool is more a fool than an ignorant fool.
-- Moliere

Questionhow to set body color,font size,font name in codebehind Pin
senpriya11-Jun-08 5:42
senpriya11-Jun-08 5:42 
AnswerRe: how to set body color,font size,font name in codebehind Pin
Christian Graus11-Jun-08 5:58
protectorChristian Graus11-Jun-08 5:58 
AnswerRe: how to set body color,font size,font name in codebehind Pin
leppie11-Jun-08 6:00
leppie11-Jun-08 6:00 
QuestionError creating XmlSerializer Pin
Eric Burns11-Jun-08 5:39
Eric Burns11-Jun-08 5:39 
AnswerRe: Error creating XmlSerializer Pin
leppie11-Jun-08 5:55
leppie11-Jun-08 5:55 
GeneralRe: Error creating XmlSerializer Pin
Eric Burns11-Jun-08 6:39
Eric Burns11-Jun-08 6:39 
QuestionNeed to Connect to DB2 database using C# Pin
Sankalp Verma11-Jun-08 5:21
Sankalp Verma11-Jun-08 5:21 
AnswerRe: Need to Connect to DB2 database using C# Pin
Christian Graus11-Jun-08 5:22
protectorChristian Graus11-Jun-08 5:22 
AnswerRe: Need to Connect to DB2 database using C# Pin
PIEBALDconsult11-Jun-08 15:43
mvePIEBALDconsult11-Jun-08 15:43 
QuestionProgramatically Modifying app.config file Pin
#realJSOP11-Jun-08 4:30
professional#realJSOP11-Jun-08 4:30 
AnswerRe: Programatically Modifying app.config file Pin
Judah Gabriel Himango11-Jun-08 4:55
sponsorJudah Gabriel Himango11-Jun-08 4:55 
GeneralRe: Programatically Modifying app.config file Pin
#realJSOP11-Jun-08 5:23
professional#realJSOP11-Jun-08 5:23 
GeneralRe: Programatically Modifying app.config file Pin
Judah Gabriel Himango11-Jun-08 5:30
sponsorJudah Gabriel Himango11-Jun-08 5:30 
AnswerRe: Programatically Modifying app.config file Pin
leppie11-Jun-08 6:02
leppie11-Jun-08 6:02 
GeneralRe: Programatically Modifying app.config file Pin
#realJSOP11-Jun-08 6:42
professional#realJSOP11-Jun-08 6:42 
QuestionReflection Pin
c242311-Jun-08 4:06
c242311-Jun-08 4:06 
AnswerRe: Reflection Pin
c242311-Jun-08 4:30
c242311-Jun-08 4:30 

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.