We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4e6d331 + 78ec1c8 commit 4d75d81Copy full SHA for 4d75d81
recipes/windows.rb
@@ -53,8 +53,9 @@
53
if node['java'].attribute?("java_home")
54
java_home_win = win_friendly_path(node['java']['java_home'])
55
# The EXE installer expects escaped quotes, so we need to double escape
56
- # them here.
57
- additional_options = "INSTALLDIR=\\\"#{java_home_win}\\\""
+ # them here. The final string looks like :
+ # /v"/qn INSTALLDIR=\"C:\Program Files\Java\""
58
+ additional_options = "/v\"/qn INSTALLDIR=\\\"#{java_home_win}\\\"\""
59
60
env "JAVA_HOME" do
61
value java_home_win
0 commit comments