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

Never Overwrite


4 replies to this topic

danalifs

danalifs
  • Full Members
  • 30 posts

Posted 16 January 2008 - 15:10

Hi Again smile.gif

I have a file which is being installed as "never overwrite" so it will not be run over during upgrade.
the only problem is that this file is not being removed during uninstall as well.
how do i make sure it removes during uninstall?

thanks,
Dana


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 January 2008 - 20:16

Maybe it's also set to "permanent?

danalifs

danalifs
  • Full Members
  • 30 posts

Posted 20 January 2008 - 11:04

No it is not. as a matter of fact i even removed the "never overwrite" and still the file is not being removed during uninstall.
it's the only file that stays there - how do i force the uninstall to remove it?

Thanks,
Dana


Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 21 January 2008 - 10:12

Check for a ref count here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls. If one exists, remove it - that should do the trick. You can also use the RemoveFile table to force uninstall the file during uninstall. Check the MSI SDK.
Regards
-Stein Åsmul

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 January 2008 - 18:45

To diagnose the cuase of the problem, generate a verbose log. It should tell you why Windows Installer decides not to remove this file.