Skip to content

Remove old .jars in lib folder when installing new version #137

@willfurnell

Description

@willfurnell

I'm submitting a…

  • bug report
  • feature request
  • other

Short description of the issue/suggestion:
This may be more of a Inno Setup rather than a JavaPackager question - so I apologise if this is the case.
However, I've now released a few versions of https://github.com/stfc/CertWizard. This uses a number of libraries, and when installing on Windows, these are put in C:\Program Files\CertWizard\libs\. Over time, this has built up a large number of no longer needed dependencies. Is it possible to remove these on installing a new version please?

Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
image

What is the motivation / use case for changing the behavior?
Old libs are no longer needed - and could have security flaws - so we should remove these from the users system as we are no longer using them.

Please tell us about your environment:

  • JavaPackager version: 1.6.2
  • OS version: Windows 10
  • JDK version: 11
  • Build tool:
    • Maven
    • Gradle

Other information (e.g. related issues, suggestions how to fix, links for us to have context)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions