![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
|
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | MSI Installer VS 2005 Setup Project I was told (I suspect incorrectly) to increment the Version of my setup project every time I build a new MSI or the MSI won't install. When I do that it tells me to change the ProductCode property of the project which I suspect is a bad thing but I don't know any better so I do it anyway. I guess the question is: when should I increment the version of my setup project? And when I do should I change the ProductCode? |
My System Specs![]() |
| | #2 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: MSI Installer VS 2005 Setup Project "LostCub" <LostCub@xxxxxx> wrote in message news:3193CE6F-322F-4D0C-A0C7-67B0B0A4108A@xxxxxx
your previous MSIs already installed on the system - something along the lines of "This package is already installed on the system". In general, if you are building an installer with some changed files, you _should_ increase the version number. It is, after all, a different version of your application!
UpgradeCode. ProductCode is specific to a specific _version_ of your product. If ProductCode for two packages matches, then, as far as Windows Installer is concerned, it's the same package (and then you get the same "already installed" error). So, if you change the version number, you should indeed change the ProductCode. UpgradeCode is more generic, and refers to all versions of your product that can be upgraded from one to another (and typically cannot be installed side by side). When run, if your installer will detect any packages on the system with the same UpgradeCode but smaller version number, it will uninstall them as part of the installation progress - to the user, it will look as an upgrade. And if it detects the same UpgradeCode and higher version number, it will abort installation with a message that a later version is already installed.
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||
|
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Advertised Shortcuts in a setup and deployment project | Pat | .NET General | 3 | 03-27-2008 02:37 PM |
| VS2005 Setup Project File with Property 'Permanent' is uninstalled | flutophilus | .NET General | 6 | 03-09-2008 05:08 AM |
| VS2005 Setup Project - How to prevent overwrite of file? | flutophilus | .NET General | 1 | 03-03-2008 09:38 PM |
| Shared Add-in project type template in VB 2005 Express Ed | Tom | .NET General | 0 | 02-27-2008 08:15 AM |
| IIS 7 & Sql Server 2005 Setup problem | Mr. Murad Jamal | Vista installation & setup | 2 | 11-21-2006 09:41 AM |