File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
ansible/playbooks/AdoptOpenJDK_Windows_Playbook/roles Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 4
4
# ##############
5
5
- name : Set Wix version variable
6
6
set_fact :
7
- wix_version : 5 .0.2
7
+ wix_version : 6 .0.0
8
8
tags : Wix
9
9
10
10
- name : Test if WiX is already installed
46
46
when : wix_installed.stat.exists
47
47
tags : Wix
48
48
49
- - name : Install Wix Toolset when not installed or version is not correct
50
- win_shell : dotnet tool install wix --version {{ wix_version }} --tool-path 'C:\\Program Files\\dotnet'
49
+ - name : Install Wix Toolset when not installed or update when version is not correct
50
+ win_shell : |
51
+ if (dotnet tool list --tool-path 'C:\\Program Files\\dotnet' | Select-String wix) {
52
+ dotnet tool update wix --version {{ wix_version }} --tool-path 'C:\\Program Files\\dotnet'
53
+ } else {
54
+ dotnet tool install wix --version {{ wix_version }} --tool-path 'C:\\Program Files\\dotnet'
55
+ }
51
56
when : (not wix_installed.stat.exists) or (installed_wix_version.stdout.find(wix_version) == -1)
52
57
tags : Wix
53
58
Original file line number Diff line number Diff line change 13
13
url : https://cygwin.com/setup-x86_64.exe
14
14
dest : C:\temp\cygwin.exe
15
15
force : no
16
- checksum : 2e2e322b138f6337d1a9be71cc0d3b9bb05991c5ac72bd68cf3c1c5f309ecf30
16
+ checksum : 46993d76d756bde18564f72a4ee07384cd82b447527ca406c8bfc034cb05c664
17
17
checksum_algorithm : sha256
18
18
when : not cygwin_installed.stat.exists
19
19
register : cygwin_download
You can’t perform that action at this time.
0 commit comments