Software ohne Repository installieren
Direkte Downloads aus dem Internet
/srv/salt/windows/tools.sls
#
# Create a folder to collect some useful tools
#
tools-dir:
file.directory:
- name: 'C:\tools'
#
# Add the tools folder to the path
#
tools-path:
win_path.exists:
- name: 'C:\tools'
#
# Install the swiss file knife
# http://stahlworks.com/dev/swiss-file-knife.html
#
'C:\tools\sfk.exe':
file.managed:
- source: http://stahlworks.com/dev/sfk/sfk.exe
- source_hash: md5=e3e67508a0cd1ba3098089691c774a0f
#
# Install curl for windows
#
curl-install:
archive.extracted:
- name: 'C:\Program Files\'
- source: https://curl.haxx.se/windows/dl-7.64.1_1/curl-7.64.1_1-win64-mingw.zip
- source_hash: sha256=c729be88bf139f43fe56aa196058f72ed344dc000877afae33b95cf51c2fb8f8
- if_missing: 'C:\Program Files\curl-7.64.1_1-win64-mingw'
curl-path:
win_path.exists:
- name: 'C:\Program Files\curl-7.64.1_1-win64-mingw\bin'
#
# Install 7zip
#
install-7zip:
cmd.run:
- names:
- curl -OsS https://7-zip.org/a/7z1900-x64.msi
- msiexec /i 7z1900-x64.msi /qn ALLUSERS=1 /norestart
- del 7z1900-x64.msi
- cwd: 'C:\Windows\temp'
- creates: 'C:\Program Files\7-zip\7z.exe'
#
# Install Notepad++
#
install-notepad:
cmd.run:
- names:
- curl -OsS https://notepad-plus-plus.org/repository/7.x/7.6.6/npp.7.6.6.Installer.x64.exe
- npp.7.6.6.Installer.x64.exe /S
- del npp.7.6.6.Installer.x64.exe
- cwd: 'C:\Windows\temp'
- creates: 'C:\Program Files\Notepad++\notepad++.exe'
Last updated