hdfview icon indicating copy to clipboard operation
hdfview copied to clipboard

Change the HDFView default installation directory for Windows with the command prompt

Open Colbix opened this issue 1 year ago • 3 comments
trafficstars

Would it be possible to add an option to change the default installation path using a command switch or configuration file?

From reading the forum at HDFGroup ^1 it looks like the intention is to install the HDFView program into the AppData folder on Windows to avoid the administrative aspect of installation. If there is an option to change the default already please let me know how it can be used for installation. Thank you.

Example: HDFView-3.1.2.exe -filepath "C:\Program Files\HDFView" or HDFView-3.1.2.exe -config options.ini

Colbix avatar Sep 14 '24 20:09 Colbix

Have you tried the 3.3.2 release?

byrnHDF avatar Sep 16 '24 14:09 byrnHDF

Have you tried the 3.3.2 release?

I have not but will certainly try it out if it allows a different install path from the command line.

Colbix avatar Sep 24 '24 22:09 Colbix

Have you tried the 3.3.2 release?

I have not but will certainly try it out if it allows a different install path from the command line.

In my attempt with version 3.3.2, I couldn't find any command-line or configuration file alternative to modify the default directory setting. The only method I found was through the GUI.

Colbix avatar Oct 01 '24 20:10 Colbix

According to Oracle help for jpackage (which is what creates the installer for Windows); --win-dir-chooser Adds a dialog to enable the user to choose a directory in which the product is installed.

we do set that jpackage option in the build.xml.

byrnHDF avatar Jun 10 '25 20:06 byrnHDF