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

Unable to Unregister com objects on uninstall


1 reply to this topic

dfern

dfern
  • Members
  • 1 posts

Posted 08 December 2004 - 21:51

ph34r.gif
I have an install where Installshield registers com Objects.
I am on a new version that does not include all of the com objects as before so I am trying to uninstall them an unregister them on upgrade.
This looks Ok but when i try uninstall after an upgrade I get the error failed to register/unregister the files.
This is because they are not there or are not registered.
I think that this is because in the setup.ilg log all of the original files are listed as self registered.

How can I remove only these files or their component on upgrade so I do not have the uninstall issue?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 December 2004 - 17:36

The easiest solution might be to suppress the error message for these files. Using the combo boxes in the script file view, select Miscellaneous > OnSelfRegistrationError. This will add the default code for the error handler to your script. Modify it to ignore errors from the files in question.