forked from saltstack/salt-winrepo-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7zip.sls
49 lines (48 loc) · 1.8 KB
/
7zip.sls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# both 32-bit (x86) AND a 64-bit (AMD64) installer available
{% set PROGRAM_FILES = "%ProgramFiles%" %}
7zip:
'16.02.00.0':
{% if grains['cpuarch'] == 'AMD64' %}
full_name: '7-Zip 16.02 (x64 edition)'
installer: 'http://d.7-zip.org/a/7z1602-x64.msi'
uninstaller: 'http://d.7-zip.org/a/7z1602-x64.msi'
{% elif grains['cpuarch'] == 'x86' %}
full_name: '7-Zip 16.02'
installer: 'http://d.7-zip.org/a/7z1602.msi'
uninstaller: 'http://d.7-zip.org/a/7z1602.msi'
{% endif %}
install_flags: '/qn /norestart'
uninstall_flags: '/qn /norestart'
msiexec: True
locale: en_US
reboot: False
'16.00.00.0':
{% if grains['cpuarch'] == 'AMD64' %}
full_name: '7-Zip 16.00 (x64 edition)'
installer: 'http://d.7-zip.org/a/7z1600-x64.msi'
uninstaller: 'http://d.7-zip.org/a/7z1600-x64.msi'
{% elif grains['cpuarch'] == 'x86' %}
full_name: '7-Zip 16.00'
installer: 'http://d.7-zip.org/a/7z1600.msi'
uninstaller: 'http://d.7-zip.org/a/7z1600.msi'
{% endif %}
install_flags: '/qn /norestart'
uninstall_flags: '/qn /norestart'
msiexec: True
locale: en_US
reboot: False
'9.20.00.0':
{% if grains['cpuarch'] == 'AMD64' %}
full_name: '7-Zip 9.20 (x64 edition)'
installer: 'http://heanet.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920-x64.msi'
uninstaller: 'http://heanet.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920-x64.msi'
{% elif grains['cpuarch'] == 'x86' %}
full_name: '7-Zip 9.20'
installer: 'http://heanet.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920.msi'
uninstaller: 'http://heanet.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920.msi'
{% endif %}
install_flags: '/qn /norestart'
uninstall_flags: '/qn /norestart'
msiexec: True
locale: en_US
reboot: False