Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top