the help text for --install-dir:
--install-dir <file path>
Installation directory of the application. Ignored on Windows, use
--win-dir-chooser to provide an ability to choose an installation directory.
there is no real reason not to support --install-dir on all platforms.
if --win-dir-chooser is also specified the --install-dir value should become the default. If not, the specified value should be used instead of the default "C:\Program Files\<app name>"
--install-dir <file path>
Installation directory of the application. Ignored on Windows, use
--win-dir-chooser to provide an ability to choose an installation directory.
there is no real reason not to support --install-dir on all platforms.
if --win-dir-chooser is also specified the --install-dir value should become the default. If not, the specified value should be used instead of the default "C:\Program Files\<app name>"
- relates to
-
JDK-8219679 Help text changes in jpackage
- Resolved
-
JDK-8214566 --win-dir-chooser does not prompt if destination folder is not empty
- Resolved
-
JDK-8220264 msi installer does not remove some files if app installed into non-default location
- Resolved