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

How to get previous installation features


1 reply to this topic

Mr.G

Mr.G
  • Members
  • 7 posts

Posted 12 November 2004 - 12:08

Hi,

I have two questions.

1. How to determinate if a previous version of my program is already installed

2. How to findout what features was selected to be installed in the previous version.

Because if a previous version of the program is already installed I need to use registry settings set by that installation. Now when I upgrade, msi resets the registry entries, not good.

I use VBScript in my custom actions.


Regards

Simon G


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 12 November 2004 - 14:55

You can add an entry to the Upgarde table to detect the previous version. Set the Migrate feature States bit to keep feature selection.