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

Store REINSTALL property value in MSI


3 replies to this topic

AntonS

AntonS
  • Full Members
  • 94 posts

Posted 02 November 2004 - 09:15

Hello!

How to store REINSTALL property inside MSI database, but without affecting to first time install?

I suppose to start Minor Upgrade always when it possible, or start first time install.

If I simply set in database

REINSTALL=Feature1,Feature2,Feature3

command-line parameter REINSTALL will be override?

Perhaps, command-line parameter value can override only inside special Custom Action?

Please, eliminate for me all disadvantages of both means.

Thank you.

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

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 02 November 2004 - 12:58

Did you read this:
http://www.installsi.../Upgrading.html

AntonS

AntonS
  • Full Members
  • 94 posts

Posted 02 November 2004 - 14:34

Thank you, Stefan.

It's good article.

Further I suppose, that only way is to set REINSTALL in Custom Action (described in article).

Am I right when suggest to add additional Custom Action type 51 with explicit value of REINSTALL and feature-list, insert it before CostFinalize and add Condition: Installed ?

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

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 02 November 2004 - 16:30

That could work. You may need to put it before CostInitialize, I'm not sure.