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

Uninstalling OCX Files


1 reply to this topic

marting

marting
  • Members
  • 3 posts

Posted 04 April 2003 - 09:41

Hi,

an OCX file is placed in the application folder by my install but on uninstall the OCX file is not removed. It is not marked as permanent.

I assume this is because Windows Installer does not remove any files that are on the Windows File Protected list. Is there any way to force the OCX file to be removed, or is it a case of installing the OCX file to a different folder, in which case, what would be the correct folder?

Thanks in advance,

Graham

mandy

mandy
  • Members
  • 121 posts

Posted 06 April 2003 - 23:50

Are you incrementing the Shared Dll Count? The file may already have had a "Shareddll" entry in the registry. Bear in mind that if you install the MSI even once when that particular file already exists, the count will increase from 0 to 2 (then uninstalling the MSI will only bring it down to 1).

Otherwise try the "RemoveFile" table.