You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2011/08/06 02:35:27 UTC

[jira] [Updated] (FLUME-372) Flume windows uninstaller should use install log to only delete necessary files.

     [ https://issues.apache.org/jira/browse/FLUME-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hsieh updated FLUME-372:
---------------------------------

    Priority: Major  (was: Critical)

> Flume windows uninstaller should use install log to only delete necessary files.
> --------------------------------------------------------------------------------
>
>                 Key: FLUME-372
>                 URL: https://issues.apache.org/jira/browse/FLUME-372
>             Project: Flume
>          Issue Type: Improvement
>          Components: Build, Technical Debt, Windows
>            Reporter: Jonathan Hsieh
>             Fix For: v0.9.5
>
>
> Comments from Carl Steinbach.
> """"
> "RMDir $INSTDIR" will fail if the directory isn't empty, which is a possibility if the user placed any additional files in $INSTDIR after running the installer. Calling "RMDIR /r $INSTDIR" isn't safe since it's possible that the user selected a non-standard installation location like C:\WINDOWS
> It looks like the best practice for avoiding this problem is to use the the uninstall macro located here: http://nsis.sourceforge.net/Uninstall_only_installed_files
> """"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira