I have build Installshield Basic MSI project with some python files as components. On uninstallation it leaves byte compiled files behind.

I can see one of way of doing it is to write Installscript which will get called on uninstallation. Is there any elegent way of doing it?

有帮助吗?

解决方案

Windows Installer only removes files it installs, and other ones it's been explicitly told about. Thus adding records to the RemoveFile table is the canonical way to do this. InstallShield 2014 adds options for this in the Files and Folders view and in the component's view, and this is available in earlier versions via the Direct Editor.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top