Skip to content

Commit

Permalink
Fix installation bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Sep 10, 2023
1 parent 492d8a8 commit 17c57fd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
win_stat:
path: 'C:\Program Files\Microsoft Visual Studio\2022\Community'
register: vs2022_installed
when: windows_version.stdout_lines[0] | regex_search('^(10\.|11\.|2016|2019|2022)')
tags: adoptopenjdk

- name: Transfer VS2022 Layout File
win_copy:
Expand Down Expand Up @@ -94,11 +94,10 @@
when: (not vs2022_installed.stat.exists) and (windows_version.stdout_lines[0] | regex_search('^(10\.|11\.|2016|2019|2022)'))
tags: adoptopenjdk

- name: Test if VS 2022 is installed
- name: Test if VS 2022 is installed(non adopt)
win_stat:
path: 'C:\Program Files\Microsoft Visual Studio\2022\Community'
register: vs2022_installed
when: windows_version.stdout_lines[0] | regex_search('^(10\.|11\.|2016|2019|2022)')

# Download & Install VS2022 When No Layout & Not AdoptOpenJDK
# This is the target that you're redirected to when you go to https://aka.ms/vs/17/release/vs_community.exe
Expand Down

0 comments on commit 17c57fd

Please sign in to comment.