|
install4j API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.install4j.api.windows.Elevation
public class Elevation
Collection of methods regarding the UAC elevation state on Windows Vista or higher.
Method Summary | |
---|---|
static boolean |
executeElevated(java.io.File executable,
java.lang.String parameters,
java.io.File directory)
Runs an executable in elevated state. |
static ElevationState |
getElevationState()
Returns the elevation state of the current process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ElevationState getElevationState()
public static boolean executeElevated(java.io.File executable, java.lang.String parameters, java.io.File directory)
executable
- the executableparameters
- parameters passed to the executable. Can be null.directory
- The working directory for the process. If null the current working directory is used.
|
install4j API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |