Add DSR installation
This commit is contained in:
parent
f74d72099f
commit
4065959032
1 changed files with 11 additions and 0 deletions
|
@ -151,6 +151,17 @@ PowerShell -Command "$archive = 'LosslessCut-win-x64.7z';" ^
|
||||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\LosslessCut" /f /v DisplayName /t REG_SZ /d "LosslessCut"
|
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\LosslessCut" /f /v DisplayName /t REG_SZ /d "LosslessCut"
|
||||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\LosslessCut" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\LosslessCut"
|
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\LosslessCut" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\LosslessCut"
|
||||||
|
|
||||||
|
:: Install DSR
|
||||||
|
PowerShell -Command "$archive = '%TEMP%\dsr.zip';" ^
|
||||||
|
"Invoke-WebRequest -Uri https://git.mylloon.fr/attachments/9cb11ead-bb2f-4b81-8caa-1a0f6160ab24 -OutFile $archive;" ^
|
||||||
|
"Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\DSR';" ^
|
||||||
|
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||||
|
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\DSR.lnk');" ^
|
||||||
|
"$Shortcut.TargetPath = '%ProgramFiles%\DSR\dsr.exe';" ^
|
||||||
|
"$Shortcut.Save()"
|
||||||
|
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\dsr" /f /v DisplayName /t REG_SZ /d "DSR"
|
||||||
|
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\dsr" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\DSR"
|
||||||
|
|
||||||
:: === Firefox configuration ==
|
:: === Firefox configuration ==
|
||||||
"%ProgramFiles%\Mozilla Firefox\firefox.exe"
|
"%ProgramFiles%\Mozilla Firefox\firefox.exe"
|
||||||
TIMEOUT 5
|
TIMEOUT 5
|
||||||
|
|
Loading…
Reference in a new issue