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

Passing [ProductVersion] to Upgrade table


1 reply to this topic

tsweet

tsweet
  • Members
  • 15 posts

Posted 06 November 2001 - 19:24

Hello

I am using the major update procedure and would like to pass [ProductVersion] to the Upgrade table instead of 1.00.0005, 1.00.0006,  etc.   I want to do this to avoid forgetting to do add the latest release version to the app table.  I am using the major update procedure for all releases.  We have frequent releases.


Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 07 November 2001 - 09:59

Nice idea, but not easy to do.  You can not add the product version property to the Min and Max fields of the upgrade table directly.

There are two possible ways to procede.
1)  Author the upgrade table at run time (insert a temporary row into the upgrade table with a custom action).
2)  Use the automation facilities of your build tool to author the ProductVersion property and Upgrade programmatically.