When running the uninstall silently you can specify an options file. The
options file allows you to:
- Set the uninstall to silent
- Select which features to uninstall
The following example options file sets the uninstall to run silently,
and chooses to uninstall all the features except the Documentation feature.
#specify silent uninstall
-silent
#set features to active
-P Java.active=true
-P Documentation.active=false-P CBindings.active=true
-P Native.active=true
Note: - Include the -is:silent flag in the options file if running
the uninstall from a launcher.
- Do not leave any blank lines in the options.txt file.
- Start all lines with #..., or a valid command.
- You can have multiple commands on a single line.
The following examples show how to run the uninstaller with an options
file:
- From the jar file
-
java -cp uninstall.jar run -options C:\options.txt
- From a launcher
-
uninstall.exe -options C:\options.txt