gephi/gephi

"Install for me only" defaults fail on Windows

donpellegrino opened this issue · 1 comments

Expected Behavior

When performing an initial installation, selecting the "Install for me only" option, and keeping the remaining selections at their defaults, the program should install.

Current Behavior

When performing an initial installation, selecting the "Install for me only" option, and keeping the remaining selections at their defaults, the installer reports:

"Setup was unable to create the directory "C:\Program Files\Gephi-0.10.1". "Error 5: Access is denied."

Possible Solution

A user-level install will not have permission to write to the "C:\Program Files" directory on Microsoft Windows. The per-use installation context should be used instead. Relevant documentation may include https://learn.microsoft.com/en-us/windows/win32/msi/installation-context.

Steps to Reproduce

  1. Download "gephi-0.10.1-windows-x64.exe"
  2. Run "gephi-0.10.1-windows-x64.exe" as a user (non-Administrator)
  3. On the "Select Setup Install Mode" dialog, select "Install for me only."
  4. On the "Setup - Gephi 0.10.1" dialog, select "I accept the agreement" and then "Next."
  5. On the "Setup - Gephi 0.10.1" dialog, keep the default destination location of "C:\Program Files\Gephi-0.10.1" and then "Next."
  6. On the "Setup - Gephi 0.10.1" dialog, keep the default Start Menu Folder of "Gephi" and then "Next."
  7. On the "Setup - Gephi 0.10.1" dialog, keep the default Additional Tasks and then "Next."
  8. On the "Setup - Gephi 0.10.1" dialog, select "Install."
  9. Observe the "Setup" dialog, reporting, "Setup was unable to create the directory "C:\Program Files\Gephi-0.10.1". "Error 5: Access is denied." Select "OK."

Context

This issue makes the initial installation less smooth.

Your Environment

  • Version used: Gephi 0.10.1
  • Operating System: Microsoft Windows 11 Pro 22H2