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

Major Upgrade


3 replies to this topic

AntonS

AntonS
  • Full Members
  • 94 posts

Posted 23 August 2004 - 12:51

Hi,

I work with Basic MSI project.

I add an Upgrade Item from Upgrade View in IDE and leave all fields not filled.

I find a new record in Upgrade table with filled fields:

UpgradeCode {MyProductUpgradeCode}
Attributes 257
ActionProperty ISACTIONPROP1

I find a new property in Property table:

SecureCustomProperties ISACTIONPROP1

Sound odd, but actually there is no property ISACTIONPROP1 in Property table.

I find no standard actions RemoveExistingProducts or FindRelatedProducts in InstallExecute sequence.

In attachment verbose log for Upgrade installation.

After Upgrade installation in target system can be find two separate products installed.

I suppose, same effect I get if try with Automation Interface ISWIUpgradeTableEntry, am I right in my conclusion?

I need to ensure that a product is upgraded properly and all components (old and new) after uninstallation upgraded removed.

Sincerely your,
Anton Spitsyn
http://www.installsite.ru

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 August 2004 - 13:21

Log is not attached (maybe it's too big - please ZIP it)

You don't need to define ISACTIONPROP1 in property table.

If FindRelatedProducts and RemoveExistingProducts are missing from your InstallExecute sequence this is the reason why your upgrade doesn't work. I wonder why they are missing. Which InstallShield version are you using? Did you create the project in this version, or migrate from an older version or other product?

I'd recommend you create a new (empty) project, which should include these actions by default. In the sequences view look up the position of these actions, then add them to your other project.

AntonS

AntonS
  • Full Members
  • 94 posts

Posted 23 August 2004 - 15:48

Indeed!
I migrate from legacy MSI database by MSI import wizard in InstallShield X.
If I substitute my InstallExecuteSequence from with table new Basic MSI Project, is it proper way?

Attached Files


Sincerely your,
Anton Spitsyn
http://www.installsite.ru

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 August 2004 - 19:24

I wouldn't replace the whole sequence, just add the missing actions.