Skip to content

Commit

Permalink
Fix Ruby installation on Windows
Browse files Browse the repository at this point in the history
Version 3.3.5 of the installer now requires `/currentuser` or `/allusers` to avoid spawning an unclickable dialog.

Alluded to in oneclick/rubyinstaller2@595b888
  • Loading branch information
jefferbrecht authored Oct 7, 2024
1 parent cfa2cca commit 1c2708f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows-installer/generate_sdl_agent_exe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Set-PSDebug -Trace 1
##############################

# Install ruby to the main install location and wait for it to finish.
& $RUBY_INSTALLER /verysilent /tasks="assocfiles,modpath" /dir=$SD_LOGGING_AGENT_DIR | Out-Null
& $RUBY_INSTALLER /verysilent /tasks="assocfiles,modpath" /dir=$SD_LOGGING_AGENT_DIR /currentuser | Out-Null

# Remove the ruby uninstallers and the installer.
rm $SD_LOGGING_AGENT_DIR\unins*
Expand Down

0 comments on commit 1c2708f

Please sign in to comment.