forked from saltstack/salt-winrepo-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvlc.sls
71 lines (68 loc) · 1.77 KB
/
vlc.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# both 32-bit (x86) AND a 64-bit (AMD64) installer available
{% set PROGRAM_FILES = "%ProgramFiles%" %}
{% set versions = [
'3.0.21',
'3.0.20',
'3.0.19',
'3.0.18',
'3.0.17.4',
'3.0.17.3',
'3.0.17',
'3.0.16',
'3.0.15',
'3.0.14',
'3.0.13',
'3.0.12',
'3.0.11',
'3.0.10',
'3.0.9.2',
'3.0.8',
'3.0.7.1',
'3.0.7',
'3.0.6',
'3.0.4',
] %}
vlc:
{% for version in versions %}
'{{ version }}':
full_name: 'VLC media player'
{% if grains['cpuarch'] == 'AMD64' %}
installer: 'https://get.videolan.org/vlc/{{ version }}/win64/vlc-{{ version }}-win64.exe'
{% else %}
installer: 'https://get.videolan.org/vlc/{{ version }}/win32/vlc-{{ version }}-win32.exe'
{% endif %}
install_flags: '/S'
uninstaller: '{{ PROGRAM_FILES }}\VideoLAN\VLC\uninstall.exe'
uninstall_flags: '/S'
msiexec: False
locale: en_US
reboot: False
{% endfor %}
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Below are versions of VLC media player that have had the installer assets removed from the videolan website.
# An uninstall only definition will remain here so the packages will show up
# correctly in `pkg.list_pkgs` and to allow for removal using `pkg.remove`
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{% set versions = [
'3.0.12.1',
'3.0.11.1',
'3.0.9.1',
'3.0.9',
'3.0.5',
'3.0.3',
'3.0.2',
'3.0.1',
'3.0.0',
'2.2.8',
'2.2.6',
] %}
{% for version in versions %}
'{{ version }}':
skip_urltest: True
full_name: 'VLC media player'
uninstaller: '{{ PROGRAM_FILES }}\VideoLAN\VLC\uninstall.exe'
uninstall_flags: '/S'
msiexec: False
locale: en_US
reboot: False
{% endfor %}