/** * Relaunches the installer with elevated rights. * * @return the status code returned by the launched process (by convention, 0 means a success). * @throws IOException if an I/O error occurs * @throws InterruptedException if the launch was interrupted */ public int relaunchWithElevatedRights() throws Exception { return relaunchWithElevatedRights(new String[0]); } public int relaunchWithElevatedRights(String ... args) throws Exception
if (runner.relaunchWithElevatedRights() == 0)