Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Product Code


3 replies to this topic

thompsonson

thompsonson
  • Full Members
  • 12 posts

Posted 24 June 2004 - 10:21

I'm automating the build of our installations and i have been thinking about generating a new product code every time it is built for test.
Each time it is built it will contain (slightly) different binaries and be a new version if only in build.
Want i'm concerned about it that by changing the product code I will cause a problem for later upgrades\patchs. From what I have read it is the upgrade code property that is key for continuity.
(The confusing bit for me is if the product code can change why have a package code... )
Anyway, thanks for reading,
matt

KathyMorey

KathyMorey
  • Full Members
  • 111 posts

Posted 24 June 2004 - 14:04

As I understand it, the Package Code is intended to differentiate between builds of the same product. The Product Code is intended to differentiate between different products, or between major versions of the same product.

The upgrade code allows you to relate products for removal during a major upgrade.

I don't think you need to go so far as to change your Product Code for every test build, unless you are counting on automatic removal of the old version by the new one when it is installed.

We usually change only the Package Code for test builds; we reserve changing the Product Code for when we prepare a major upgrade of a previous version.

HTH

Kathy Morey
Installation Developer
SER Solutions, Inc.
kathy.morey@ser.com
Kathy Morey
Synergy Software Engineer
ProfitStars, a Jack Henry Company
kmorey@profitstars.com

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 25 June 2004 - 00:19

Yes, this is the concept:

Upgrade Code: Identify a family of related products
Product Code: Identify a specific product
Package Code: Identify a specific setup file. This property should always change for all builds. Two setups with the same package code is treated as the same setup regardless of content.

Pushing up the product version and changing the package code should be sufficient. However, I always use major upgrades during testing since I want to uninstall the existing installation before installing the new one. I find this more robust, but this is just a personal preference.
Regards
-Stein Åsmul

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 25 June 2004 - 01:20

I also agree with Glytzhkof, I would use a major upgrade smile.gif