forked from saltstack/salt-winrepo-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
classicshell.sls
45 lines (44 loc) · 1.96 KB
/
classicshell.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
classicshell:
{% for (version, hash, guid_64, guid_32) in [
('4.3.1', 'd5llbbm8wu92jg8', '{CABCE573-0A86-42FA-A52A-C7EA61D5BE08}', '{8A99142D-5D6E-40B6-AF88-8BD46F0C5CB4}')
] %}
'{{ version }}':
full_name: 'Classic Shell'
#installer: 'https://www.fosshub.com/Classic-Shell.html?dwl=ClassicShellSetup_{{ version | replace(".", "_") }}.exe'
install_flags: '/passive'
uninstaller: 'msiexec.exe'
{% if grains['cpuarch'] == 'AMD64' %}
uninstall_flags: '/qn /x {{ guid_64 }} /norestart'
{% else %}
uninstall_flags: '/qn /x {{ guid_32 }} /norestart'
{% endif %}
msiexec: False
locale: en_US
reboot: False
{% endfor %}
#
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Below are versions of Classic Shell that have had the installer assets removed from easy automatic download.
# 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, hash, guid_64, guid_32) in [ ('4.2.4', 'wl5nbjaki7zbssn', '{E289B7DD-6732-4333-A47A-75A145D23EE3}', '{B9EFC38D-E52A-4BBE-8421-58FCFFDE19E2}') ] %}
'{{ version }}':
skip_urltest: True
full_name: 'Classic Shell'
# official page has counter measures for automatic downloads - no alternative like fossies archive found as yet
#installer: 'https://www.fosshub.com/Classic-Shell.html?dwl=ClassicShellSetup_{{ version | replace(".", "_") }}.exe'
installer: "https://fossies.org/windows/misc/ClassicShellSetup_{{ version | replace(".", "_") }}.exe"
install_flags: '/passive'
uninstaller: 'msiexec.exe'
{% if grains['cpuarch'] == 'AMD64' %}
uninstall_flags: '/qn /x {{ guid_64 }} /norestart'
{% else %}
uninstall_flags: '/qn /x {{ guid_32 }} /norestart'
{% endif %}
msiexec: False
locale: en_US
reboot: False
{% endfor %}
#