Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top