<msi> does not create the Upgrade table necessary for the upgradecode to have any affect. I got around this by manually creating the table with the following code:
<tables> <table name="Upgrade"> <columns> <column name="UpgradeCode" nullable="false" category="GUID" key="true" /> <column name="VersionMin" nullable="true" category="Text" key="true" /> <column name="VersionMax" nullable="true" category="Text" key="true" /> <column name="Language" nullable="true" category="Text" key="true" /> <column name="Attributes" nullable="false" category="Integer" key="true" /> <column name="Remove" nullable="true" category="Formatted" key="false" /> <column name="ActionProperty" nullable="false" category="Identifier" key="false" /> </columns> <rows> <row> <columns> <column name="UpgradeCode" value="${ucode}" /> <column name="VersionMin" value="" /> <column name="VersionMax" value="${proj.version}" /> <column name="Language" value="" /> <column name="Attributes" value="512" /> <column name="Remove" value="" /> <column name="ActionProperty" value="PREVIOUSVERSIONSINSTALLED" /> </columns> </row> <row> <columns> <column name="UpgradeCode" value="${ucode}" /> <column name="VersionMin" value="${proj.version}" /> <column name="VersionMax" value="" /> <column name="Language" value="" /> <column name="Attributes" value="256" /> <column name="Remove" value="" /> <column name="ActionProperty" value="NEWERPRODUCTFOUND" /> </columns> </row> </rows> </table> </tables> -- -a "condensing fact from the vapor of nuance" ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users