Hi Again
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
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.
Never Overwrite
Started by
danalifs
, Jan 16 2008 15:10
4 replies to this topic
Posted 17 January 2008 - 20:16
Maybe it's also set to "permanent?
Stefan Krüger
InstallSite.org twitter facebook
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
it's the only file that stays there - how do i force the uninstall to remove it?
Thanks,
Dana
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
-Stein Åsmul
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.
Stefan Krüger
InstallSite.org twitter facebook