Uninstall doesn't delete files within INSTALLDIR - Basic Msi - Installshield 2012

纵然是瞬间 提交于 2020-01-02 04:08:05

问题


I am creating a Basic Msi Installer using Installshield 2012 spring professional .

Here i create a folder structure in Application Files as C:\Program files\Test Setup\Productname , Test Setup is the INSTALLDIR , and within this i have sub directories one of which [launch] contains the exe files .

I have added these files and the directory sturcture using the Add Files and folders option in Application files menu of Project Assistant.

After installing the product , when i uninstall it i find that while some exe files are deleted . few of the exe files in the launch subdirectory are not deleted . None of the exe s are started.

Installshield is supposed to delete all the files and folders it created unless they have been modified or being used , but i am not running the files during uninstall nor have i changed any file .. Where am i going wrong any ideas ??


回答1:


I found the answer ..!! The files were not being removed due to some registry entries that were left undeleted , i cleared those entries and then tried installing and uninstalling and it worked fine all the files and folders were deleted.

This link was very useful:

https://community.flexerasoftware.com/showthread.php?125069-Uninstall-does-not-remove-any-files&s=2784104c5543240f8375e4599766dd36




回答2:


The only way I found to do this is to replace the setup.gif file with my file in the theme directory I use.. I just replace the setup.gif under: C:\Program Files (x86)\InstallShield\2014\Support\Themes\InstallShield Blue Theme



来源:https://stackoverflow.com/questions/12838882/uninstall-doesnt-delete-files-within-installdir-basic-msi-installshield-201

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