forked from saltstack/salt-winrepo-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
irfanview.sls
39 lines (39 loc) · 2.05 KB
/
irfanview.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
# both 32-bit (x86) AND a 64-bit (AMD64) installer available
{% set PROGRAM_FILES = "%ProgramFiles(x86)%" %}
irfanview:
'4.40':
{% if grains['cpuarch'] == 'AMD64' %}
full_name: 'IrfanView 64 (remove only)'
installer: 'salt://win/repo-ng/irfanview/iview440_x64_setup.exe'
# download manually from: http://www.irfanview.info/files/iview440_x64_setup.exe and place on master
{% elif grains['cpuarch'] == 'x86' %}
full_name: 'IrfanView (remove only)'
installer: 'salt://win/repo-ng/irfanview/iview440_setup.exe'
# download manually from: http://www.irfanview.info/files/iview440_setup.exe and place on master
{% endif %}
install_flags: '/silent /desktop=0 /thumbs=0 /group=1 /allusers=0 /assoc=0'
uninstaller: '{{ PROGRAM_FILES }}\irfanview\iv_uninstall.exe'
uninstall_flags: '/silent'
msiexec: False
locale: en_US
reboot: False
'4.38':
full_name: 'IrfanView (remove only)'
installer: 'salt://win/repo-ng/irfanview/iview438_setup.exe'
# download manually from: http://www.irfanview.info/files/iview438_setup.exe and place on master
install_flags: '/silent /desktop=0 /thumbs=0 /group=1 /allusers=1 /assoc=0'
uninstaller: '{{ PROGRAM_FILES }}\irfanview\iv_uninstall.exe'
uninstall_flags: '/silent'
msiexec: False
locale: en_US
reboot: False
# install_flags
# folder: destination folder; if not indicated: old IrfanView folder is used, if not found, the "Program Files" folder is used
# silent: silent install - no prompts
# desktop: create desktop shortcut; 0 = no, 1 = yes (default: 0)
# thumbs: create desktop shortcut for thumbnails; 0 = no, 1 = yes (default: 0)
# group: create group in Start Menu; 0 = no, 1 = yes (default: 0)
# allusers: desktop/group links are for all users; 0 = current user, 1 = all users
# assoc: if used, set file associations; 0 = none, 1 = images only, 2 = select all (default: 0)
# assocallusers: if used, set associations for all users (Windows XP only)
# ini: if used, set custom INI file folder (system environment variables are allowed)