summaryrefslogtreecommitdiffstats
path: root/5-install.bat
diff options
context:
space:
mode:
authorPeter2019-07-17 11:39:32 +0100
committerPeter2019-07-17 11:39:32 +0100
commitd7c3d387b35c4f9adcf7f5c34e1fc23358f36a59 (patch)
tree1fe7e70409ca15bc0b8c21dea9bcc820432a3cda /5-install.bat
parent372a281595cc6d3acdd54fb893009968e62b8df8 (diff)
downloadwin10-prep-d7c3d387b35c4f9adcf7f5c34e1fc23358f36a59.tar.gz
win10-prep-d7c3d387b35c4f9adcf7f5c34e1fc23358f36a59.tar.bz2
win10-prep-d7c3d387b35c4f9adcf7f5c34e1fc23358f36a59.zip
Change to temp directory
Cleaner, not strictly necessary
Diffstat (limited to '5-install.bat')
-rw-r--r--5-install.bat1
1 files changed, 1 insertions, 0 deletions
diff --git a/5-install.bat b/5-install.bat
index fa6e721..442e285 100644
--- a/5-install.bat
+++ b/5-install.bat
@@ -71,6 +71,7 @@ reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Syncthing" /t R
rem add syncthing firewall rule
netsh advfirewall firewall add rule name="Syncthing" dir=in action=allow program="%programfiles%\Syncthing\syncthing.exe" enable=yes
rem install webp codec
+cd "%temp%"
@powershell Invoke-WebRequest https://storage.googleapis.com/downloads.webmproject.org/releases/webp/WebpCodecSetup.exe -OutFile WebpCodecSetup.exe
"%programfiles%\7-Zip\7z.exe" x %temp%\WebpCodecSetup.exe
ren %temp%\.rsrc\0\MSIFILE\1 1.msi && msiexec /i %temp%\.rsrc\0\MSIFILE\1.msi /quiet /qn /norestart