1 Answers

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
}
Related