forked from saltstack/salt-winrepo-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
npp_x64.sls
141 lines (140 loc) · 2.98 KB
/
npp_x64.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# just 64-bit installer. x64 was introduced at ver. 7.0. Most plugins are
# now also available for x64 but not all of them. Therefore there's now
# a seperate x64 sls for those who want to use the x64 version.
{% if grains['cpuarch'] == 'AMD64' %}
npp_x64:
{%
for version in [
'8.7.4',
'8.7.3',
'8.7.2',
'8.7.1',
'8.7',
'8.6.9',
'8.6.8',
'8.6.7',
'8.6.6',
'8.6.5',
'8.6.4',
'8.6.3',
'8.6.2',
'8.6.1',
'8.6',
'8.5.8',
'8.5.7',
'8.5.6',
'8.5.4',
'8.5.3',
'8.5.2',
'8.5.1',
'8.5',
'8.4.9',
'8.4.8',
'8.4.7',
'8.4.6',
'8.4.5',
'8.4.4',
'8.4.3',
'8.4.2',
'8.4.1',
'8.4',
'8.3.3',
'8.3.1',
'8.2.1',
'8.2',
'8.1.9.3',
'8.1.9.2',
'8.1.5',
'8.1.4',
'8.1.3',
'8.1.2',
'8.1.1',
'8.1',
'7.9.5',
'7.9.4',
'7.9.3',
'7.9.2',
'7.9.1',
'7.9',
'7.8.9',
'7.8.8',
'7.8.7',
'7.8.6',
'7.8.5',
'7.8.4',
'7.8.3',
'7.8.2',
'7.8.1',
'7.8',
'7.7.1',
'7.7',
]
%}
'{{ version }}':
full_name: 'Notepad++ (64-bit x64)'
installer: 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v{{ version }}/npp.{{ version }}.Installer.x64.exe'
install_flags: '/S'
uninstaller: '%ProgramFiles%\Notepad++\uninstall.exe'
uninstall_flags: '/S'
msiexec: False
locale: en_US
reboot: False
{% endfor %}
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Below are versions of Notepad Plus Plus that have had the installer assets
# removed from github. 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`
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{%
for version in [
'8.5.5',
'8.3.2',
'8.3',
'8.1.9.1',
'8.1.9',
'8.1.8',
'8.1.7',
'8.1.6',
'8.0',
'7.6.6',
'7.6.5',
'7.6.4',
'7.6.3',
'7.6.2',
'7.6.1',
'7.6',
'7.5.9',
'7.5.8',
'7.5.7',
'7.5.6',
'7.5.5',
'7.5.4',
'7.5.3',
'7.5.2',
'7.5.1',
'7.5',
'7.4.2',
'7.4.1',
'7.4',
'7.3.3',
'7.3.2',
'7.3.1',
'7.3',
'7.2.2',
'7.2.1',
'7.2',
'7.1',
'7',
]
%}
'{{ version }}':
skip_urltest: True
full_name: 'Notepad++ (64-bit x64)'
uninstaller: '%ProgramFiles%\Notepad++\uninstall.exe'
uninstall_flags: '/S'
msiexec: False
locale: en_US
reboot: False
{% endfor %}
{% endif %}