file marked as key file not getting unistalled while using installshield

£可爱£侵袭症+ 提交于 2019-12-06 06:35:32

问题


I am creating msie using installshield2012 professional.I am adding one of my project primary output to msie ,component of which is marked as key file.If i don't mark it as key file my custom installer file in project doesn't get called which is trouble for me but marking it as key file keeps the files uninstalled after uninstalling application. Is there any way to delete the key files??(permanent and shared properties are set to NO)


回答1:


InstallShield MSI packages work with Windows to determine which files should get removed and which should be left behind during an install. If the file is a shared DLL used by other applications, it will be left behind during install. If the file is still in use (perhaps a service or system tray app), it will be left installed only until the next reboot. You can always check the Windows Installer log files to determine why a file has been left behind, but here are a few easy things you can try:

First, determine which component the file is the key path of and then switch to the "Components" view in InstallShield 2012 and highlight the component. Review that component's attributes.

1) make sure that Permanant = No.
2) If you are confident this file is not shared with other applications, you can set Shared = No.
3) Reboot after your uninstall test to see if the file gets removed during a reboot.



来源:https://stackoverflow.com/questions/15171436/file-marked-as-key-file-not-getting-unistalled-while-using-installshield

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!