[Libreoffice-bugs] [Bug 48914] New: uninstall process should remove .pyc files from install directory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 19 11:08:59 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48914

             Bug #: 48914
           Summary: uninstall process should remove .pyc files from
                    install directory
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Installation
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: timar74 at gmail.com


When the LibreOffice program directory is writable by the user - typical on
Windows XP - Python creates .pyc files in LibreOffice install directory. These
.pyc files are not removed by uninstall process, because it removes only those
files, which were installed, or if there is a custom action to remove them.

Write a custom action, which runs during uninstall, finds all .pyc files in the
install directory, and deletes them. 

Custom actions live here:
http://opengrok.libreoffice.org/xref/core/setup_native/source/win32/customactions/

I can help with integraton into the installer, the goal of this easy hack is to
develop a function (C++, Win32 API) that finds and deletes all .pyc files under
a given directory.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list