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

Sequence conditionally for maintainance


1 reply to this topic

AntonS

AntonS
  • Full Members
  • 94 posts

Posted 10 November 2004 - 11:02

Hello!

I have Custom Action named UnRegComPlus in InstallExecute sequence.
Condition for this CA: Installed

It works good if I first install or remove installation. But I don't want to call this UnRegComPlus if I perform maintainance install.

How to sequence this CA?

PS Sounds funny, but if my installation starts self-repair, all vital components become unregistered by this CA.

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

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 November 2004 - 09:28

Why does this sound funny? You told it to run UnRegComPlus every time except for first time install. (Installed is false if the software is not installed, i.e. first time install. It is true ever after, includeing uninstall, repair, modify, update)
You probably want:
REMOVE~="ALL"
instead, or even better: condition the custom action on install or removal of the component that includes the COM+ files.