문제

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