Puneet
Puneet

Reputation: 194

Install4j update main program jar silently

I am trying to create an updater which updates main java program jar silently. When I am trying to delete or replace jar after downloading it says "unable to delete file", looks its locked by executable.

My Launcher configurations are shown here. Please confirm if its feasible to achieve the same using install4j?

Upvotes: 2

Views: 109

Answers (1)

Ingo Kegel
Ingo Kegel

Reputation: 47995

This means that an executable that uses this JAR file is still running. There should be a "Shut down calling launcher" action in the updater that is invoked before an update is applied.

Upvotes: 1

Related Questions