Click here to Skip to main content
15,908,111 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Saving Settings Pin
Sebastien Lachance7-Sep-06 4:42
Sebastien Lachance7-Sep-06 4:42 
QuestionHow to integrate msxml 6 with my installer? Pin
code4jigar4-Sep-06 19:41
code4jigar4-Sep-06 19:41 
Questionrelation beetwen database classes in .net Pin
hamidreza esmaeily4-Sep-06 18:59
hamidreza esmaeily4-Sep-06 18:59 
QuestionUnexpected two step installation from msi Pin
Gutec4-Sep-06 12:35
Gutec4-Sep-06 12:35 
QuestionTransfer data form webpage to other application Pin
indiakahero4-Sep-06 2:11
indiakahero4-Sep-06 2:11 
QuestionTransfer data form webpage to other application Pin
indiakahero4-Sep-06 2:11
indiakahero4-Sep-06 2:11 
QuestionSetup and Deployment project Pin
Tal S.2-Sep-06 22:29
Tal S.2-Sep-06 22:29 
AnswerRe: Setup and Deployment project Pin
Mike Dimmick3-Sep-06 11:36
Mike Dimmick3-Sep-06 11:36 
Upgrade and repair are different things. Repair is intended to restore files and settings that have been modified or deleted since the program was installed. It's a fundamental capability of Windows Installer. Shortcuts created by Windows Installer will invoke a repair automatically by default, if the need for a repair is detected.

There are really three sorts of upgrades for a Windows Installer package: major upgrades, minor upgrades, and patches. Visual Studio doesn't really make it easy to do either minor upgrades or patches. It's simplest to just do a major upgrade, which is effectively installing a new version, but including logic that will remove the old version first. To do this, set the RemovePreviousVersions property to True. Every time you change the package, change the Version property. Windows Installer will then automatically remove any version that has a version number lower than the package being installed. If you leave the DetectNewerInstalledVersion property set to True (the default), Windows Installer will produce an error message if you try to install an older version on a system with a newer version.

If you want old and new versions to co-exist side-by-side and be installed in any order, change the UpgradeCode when creating a new version that will sit side-by-side.

For more information get the book "The Definitive Guide to Windows Installer" by Phil Wilson (Apress, 2004). This has helped me a lot in understanding what the package is really doing.

Stability. What an interesting concept. -- Chris Maunder

QuestionRe: Setup and Deployment project Pin
Tal S.4-Sep-06 21:32
Tal S.4-Sep-06 21:32 
QuestionHow to hook file handling routines. Pin
sundar1561-Sep-06 7:02
sundar1561-Sep-06 7:02 
AnswerRe: How to hook file handling routines. Pin
Dave Kreskowiak1-Sep-06 7:58
mveDave Kreskowiak1-Sep-06 7:58 
GeneralRe: How to hook file handling routines. Pin
sundar1561-Sep-06 8:20
sundar1561-Sep-06 8:20 
AnswerRe: How to hook file handling routines. Pin
Mike Dimmick2-Sep-06 9:28
Mike Dimmick2-Sep-06 9:28 
QuestionDLL config file not working in a web service Pin
cholo101-Sep-06 6:22
cholo101-Sep-06 6:22 
AnswerRe: DLL config file not working in a web service Pin
Dave Kreskowiak1-Sep-06 6:43
mveDave Kreskowiak1-Sep-06 6:43 
GeneralRe: DLL config file not working in a web service Pin
cholo101-Sep-06 6:59
cholo101-Sep-06 6:59 
GeneralRe: DLL config file not working in a web service Pin
Dave Kreskowiak1-Sep-06 8:00
mveDave Kreskowiak1-Sep-06 8:00 
AnswerRe: DLL config file not working in a web service Pin
Rob Graham10-Sep-06 6:08
Rob Graham10-Sep-06 6:08 
QuestionDetect Hung/Dead process Pin
Vidhya Narasimhan1-Sep-06 5:48
Vidhya Narasimhan1-Sep-06 5:48 
AnswerRe: Detect Hung/Dead process Pin
Jun Du1-Sep-06 8:24
Jun Du1-Sep-06 8:24 
GeneralRe: Detect Hung/Dead process Pin
Vidhya Narasimhan4-Sep-06 12:06
Vidhya Narasimhan4-Sep-06 12:06 
QuestionGenerating a Generic Culture Independant Date String Pin
Tristan Rhodes1-Sep-06 5:23
Tristan Rhodes1-Sep-06 5:23 
AnswerRe: Generating a Generic Culture Independant Date String Pin
Scott Dorman1-Sep-06 15:25
professionalScott Dorman1-Sep-06 15:25 
QuestionTreeView Pin
MatthysDT1-Sep-06 1:01
MatthysDT1-Sep-06 1:01 
AnswerRe: TreeView Pin
Not Active1-Sep-06 2:37
mentorNot Active1-Sep-06 2:37 

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.