Disable Wireshark autoupdates

This commit is contained in:
Timotej Lazar 2022-09-20 13:19:49 +00:00
parent 28ff36513a
commit 2294a2c54b

View file

@ -3,7 +3,18 @@
win_package: win_package:
path: https://npcap.com/dist/npcap-0.96.exe path: https://npcap.com/dist/npcap-0.96.exe
arguments: /S arguments: /S
creates_path: "%ProgramFiles%\\Npcap\\npcap.cat"
- name: Install Wireshark - name: Install Wireshark
win_chocolatey: win_chocolatey:
name: wireshark name: wireshark
- name: Touch Wireshark preferences
win_file:
path: "%ProgramFiles%\\Wireshark\\preferences"
state: touch
- name: Disable Wireshark auto updates
win_lineinfile:
path: "%ProgramFiles%\\Wireshark\\preferences"
line: "gui.update.enabled: FALSE"