Reputation: 5808
Similar question to how to get the Version.
Upvotes: 2
Views: 61
Reputation: 48070
You can query the sys.timestamp
compiler variable:
import com.install4j.api.launcher.Variables.Variables;
try {
String version = Variables.getCompilerVariable("sys.timestamp");
} catch (IOException e) {
// TODO not running in installation
}
Upvotes: 1