Inno Setup: Removing files installed by previous version
问题 I'm using Inno Setup to package a Java application for Windows; the application tree is like this: | MyApp.jar \---lib | dependency-A-1.2.3.jar | dependency-B-2.3.4.jar | dependency-Z-x.y.z.jar I use Ant to prepare the whole tree (all the files and folders) beforehand, including the lib directory (using *.jar wildcard to copy the dependencies), then I simply call ISCC with: [Files] Source: "PreparedFolder\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs Now, I need to cleanup the lib