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

Unregister dlls during Uninstall


1 reply to this topic

guy

guy
  • Members
  • 19 posts

Posted 25 February 2002 - 18:00

Hi all

During an uninstall, I need to execute a program that uses a dll that is
remove during the uninstall.
This program is executed in the <component>_UnInstalling() method so the dll
was not removed yet.
My question is: when does installshield unregister the registered dlls:
   1. Unregister all dlls Before the removing event (just after
OnMaintUIBefore)
or
   2. Unregister the dlls of a specific component before removing the
component.

And if the answer is that option 2 is done, does anyone know if the
<component>_UnInstalling() event is done before or after the unregister
process?

thanks

Guy


Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 25 February 2002 - 22:52

Unregistry works like registering.

By default, things are (un)registered as they are copied/removed, so one at a time.

Unless one makes the call ENABLE(SELFREGISTERBATCH) in which case all the copied/removed files are (un)registered at the same time, so at the end.

Hope it helps.