├── 7Zip ├── 7za.dll ├── 7za.exe ├── 7zxa.dll ├── licence.md └── readme.md ├── BUILD.BAT ├── Downloads └── .gitkeep ├── Extracted ├── Config │ ├── DCP-Core.exe │ ├── DCPmadVR_HighSettings.reg │ ├── DCPmadVR_LowSettings.reg │ ├── DCPmadVR_MediumSettings.reg │ ├── DCPmadVR_UltraSettings.reg │ ├── eng │ │ ├── DCP-OneTime.exe │ │ ├── DCP-Settings.exe │ │ ├── install.bat │ │ └── mpc-be-settings.reg │ ├── fra │ │ ├── DCP-OneTime.exe │ │ ├── DCP-Settings.exe │ │ ├── install.bat │ │ └── mpc-be-settings.reg │ └── mod_alwaysLoadXySubFilter.reg ├── LAVFilters │ └── .gitkeep ├── Legal │ └── .gitkeep ├── MPC-BE │ ├── .gitkeep │ └── logo_white.png ├── Syncplay │ ├── .gitkeep │ └── syncplay.ini ├── XySubFilter │ └── .gitkeep ├── despair.ico ├── madVR │ └── .gitkeep └── version ├── Output └── .gitkeep ├── README.md ├── URLVars.ps1 ├── buildScript.ps1 ├── fciv.exe └── setup.iss /7Zip/7za.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/7Zip/7za.dll -------------------------------------------------------------------------------- /7Zip/7za.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/7Zip/7za.exe -------------------------------------------------------------------------------- /7Zip/7zxa.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/7Zip/7zxa.dll -------------------------------------------------------------------------------- /7Zip/licence.md: -------------------------------------------------------------------------------- 1 | 7-Zip Extra 2 | ~~~~~~~~~~~ 3 | License for use and distribution 4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Copyright (C) 1999-2018 Igor Pavlov. 7 | 8 | 7-Zip Extra files are under the GNU LGPL license. 9 | 10 | 11 | Notes: 12 | You can use 7-Zip Extra on any computer, including a computer in a commercial 13 | organization. You don't need to register or pay for 7-Zip. 14 | 15 | 16 | GNU LGPL information 17 | -------------------- 18 | 19 | This library is free software; you can redistribute it and/or 20 | modify it under the terms of the GNU Lesser General Public 21 | License as published by the Free Software Foundation; either 22 | version 2.1 of the License, or (at your option) any later version. 23 | 24 | This library is distributed in the hope that it will be useful, 25 | but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 27 | Lesser General Public License for more details. 28 | 29 | You can receive a copy of the GNU Lesser General Public License from 30 | http://www.gnu.org/ 31 | 32 | -------------------------------------------------------------------------------- /7Zip/readme.md: -------------------------------------------------------------------------------- 1 | ./x64/ from https://sourceforge.net/projects/sevenzip/files/7-Zip/18.05/7z1805-extra.7z/download 2 | 3 | ## Untouched. Feels free to compare MD5 -------------------------------------------------------------------------------- /BUILD.BAT: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM Print blank line 3 | echo. 4 | echo. 5 | echo. 6 | echo. 7 | echo. 8 | echo. 9 | echo. 10 | @Powershell.exe -executionpolicy remotesigned -File ./buildScript.ps1 -------------------------------------------------------------------------------- /Downloads/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Downloads/.gitkeep -------------------------------------------------------------------------------- /Extracted/Config/DCP-Core.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/DCP-Core.exe -------------------------------------------------------------------------------- /Extracted/Config/DCPmadVR_HighSettings.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/DCPmadVR_HighSettings.reg -------------------------------------------------------------------------------- /Extracted/Config/DCPmadVR_LowSettings.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/DCPmadVR_LowSettings.reg -------------------------------------------------------------------------------- /Extracted/Config/DCPmadVR_MediumSettings.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/DCPmadVR_MediumSettings.reg -------------------------------------------------------------------------------- /Extracted/Config/DCPmadVR_UltraSettings.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/DCPmadVR_UltraSettings.reg -------------------------------------------------------------------------------- /Extracted/Config/eng/DCP-OneTime.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/eng/DCP-OneTime.exe -------------------------------------------------------------------------------- /Extracted/Config/eng/DCP-Settings.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/eng/DCP-Settings.exe -------------------------------------------------------------------------------- /Extracted/Config/eng/install.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | @chcp 28591 > nul 3 | @echo Despair-Paradise Codec Pack 4 | @echo. 5 | @echo Version: 1.9.1-marika 6 | @echo Website: despair-paradise.com 7 | @echo Discord: discord.me/despair-paradise 8 | @echo. 9 | @echo ========================================== 10 | @echo. 11 | 12 | @cd /d "%~dp0" 13 | 14 | @echo Clearing Previous Registry Entries 15 | @start /min reg delete HKEY_CURRENT_USER\Software\madshi\madVR /f 16 | @start /min reg delete HKEY_CURRENT_USER\Software\MPC-BE /f 17 | 18 | @echo Registering MPC-BE 19 | @cd MPC-BE 20 | @regsvr32.exe /s MPCBEShellExt64.dll 21 | @cd .. 22 | 23 | @echo Registering LAVFilters 24 | @cd LAVFilters 25 | @regsvr32.exe /s LAVSplitter.ax 26 | @regsvr32.exe /s LAVVideo.ax 27 | @regsvr32.exe /s LAVAudio.ax 28 | @cd .. 29 | 30 | @echo Registering ASSFilterMod 31 | @cd ASSFilterMod 32 | @regsvr32.exe /s assfiltermod.dll 33 | @cd .. 34 | 35 | @echo Registering madVR 36 | @cd madVR 37 | @regsvr32.exe /s madVR.ax 38 | @regsvr32.exe /s madVR64.ax 39 | @cd .. 40 | 41 | @echo Installing Config 42 | @cd Config 43 | @regedit.exe /s mpc-be-settings.reg 44 | @DCP-OneTime.exe 45 | @cd .. 46 | 47 | @echo Associating Extensions 48 | @cd MPC-BE 49 | @mpc-be64.exe /regvid 50 | @cd .. 51 | 52 | 53 | 54 | @echo. 55 | @echo Setup completed ;) 56 | @echo This window will close automatically 57 | @echo Don't hesitate to take a walk on our Discord 58 | @echo. 59 | 60 | @ping localhost -n 10 >NUL 61 | -------------------------------------------------------------------------------- /Extracted/Config/eng/mpc-be-settings.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/eng/mpc-be-settings.reg -------------------------------------------------------------------------------- /Extracted/Config/fra/DCP-OneTime.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/fra/DCP-OneTime.exe -------------------------------------------------------------------------------- /Extracted/Config/fra/DCP-Settings.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/fra/DCP-Settings.exe -------------------------------------------------------------------------------- /Extracted/Config/fra/install.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/fra/install.bat -------------------------------------------------------------------------------- /Extracted/Config/fra/mpc-be-settings.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/fra/mpc-be-settings.reg -------------------------------------------------------------------------------- /Extracted/Config/mod_alwaysLoadXySubFilter.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Config/mod_alwaysLoadXySubFilter.reg -------------------------------------------------------------------------------- /Extracted/LAVFilters/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/LAVFilters/.gitkeep -------------------------------------------------------------------------------- /Extracted/Legal/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Legal/.gitkeep -------------------------------------------------------------------------------- /Extracted/MPC-BE/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/MPC-BE/.gitkeep -------------------------------------------------------------------------------- /Extracted/MPC-BE/logo_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/MPC-BE/logo_white.png -------------------------------------------------------------------------------- /Extracted/Syncplay/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Syncplay/.gitkeep -------------------------------------------------------------------------------- /Extracted/Syncplay/syncplay.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/Syncplay/syncplay.ini -------------------------------------------------------------------------------- /Extracted/XySubFilter/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/XySubFilter/.gitkeep -------------------------------------------------------------------------------- /Extracted/despair.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/despair.ico -------------------------------------------------------------------------------- /Extracted/madVR/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Extracted/madVR/.gitkeep -------------------------------------------------------------------------------- /Extracted/version: -------------------------------------------------------------------------------- 1 | Despair-Paradise Codec Pack 2.0.1-akane 2 | 3 | Install Script 1.9 4 | DCP OneTime 2.0 5 | DCP Presets 2.0 6 | DCP Settings 1.2.1 7 | 8 | LAV Filters 0.73.1 9 | MPC-BE 1.5.3-4322 10 | madVR 0.92.17 11 | Syncplay 1.6.2 12 | XySubFilter 3.1.0.752 13 | -------------------------------------------------------------------------------- /Output/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/Output/.gitkeep -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DCP-BuildScript 2 | #### Repo and Instruction to build Despair Codec Pack 3 | 4 | 5 | ## Building 6 | 7 | * Clone or Download ZIP 8 | * Launch `BUILD.BAT` 9 | * Wait and that's all 10 | 11 | 12 | ## I still doubt. Why there is some .exe/.dll ? 13 | 14 | * `DCP-Core.exe`, `DCP-OneTime.exe`, `DCP-Settings.exe`: 15 | * Those executables are already FOSS: https://github.com/DespairParadise 16 | * You can still decompile using [DotPeek](https://www.jetbrains.com/decompiler) and check. Always check. Trust no one. 17 | * `7zip\*` 18 | * Check [this](7zip/readme.md) 19 | * `fciv.exe` 20 | * From Microsoft: [File Checksum Integrity Verifier](https://www.microsoft.com/en-us/download/details.aspx?id=11533) 21 | * You can right-click on the .exe, check in Proprieties [the signature](https://i.imgur.com/W7EUNuB.png) 22 | 23 | ## I still have some questions... 24 | 25 | Just join our Discord and ask for Automne: https://discord.gg/TN8qrDG 26 | -------------------------------------------------------------------------------- /URLVars.ps1: -------------------------------------------------------------------------------- 1 | $Global:mpc = "https://liquidtelecom.dl.sourceforge.net/project/mpcbe/MPC-BE/Nightly%20Builds%20%28from%20svn%20trunk%29/1.5.5%20%28build%205274%29%20beta/MPC-BE.1.5.5.5274.x64.7z" 2 | $Global:mad = "http://madshi.net/madVR.zip" 3 | $Global:lav = "https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-x64.zip" 4 | $Global:xys = "https://github.com/Cyberbeing/xy-VSFilter/releases/download/3.1.0.752/XySubFilter_3.1.0.752_x64.zip" 5 | $Global:syn = "https://github.com/Syncplay/syncplay/releases/download/v1.6.4a/Syncplay_1.6.4a_Portable.zip" 6 | -------------------------------------------------------------------------------- /buildScript.ps1: -------------------------------------------------------------------------------- 1 | Write-Host 2 | Write-Host =================================================== 3 | Write-Host Despair Codec Pack 4 | Write-Host Powershell Automatic Build Script 5 | Write-Host Maintainer : Automne von Einzbern 6 | Write-Host Version : 0.2 7 | Write-Host =================================================== 8 | Write-Host 9 | 10 | # Enable TLS v1.2 to allow downloads from GitHub 11 | [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 12 | 13 | # Sourcing URLs 14 | . .\URLVars.ps1 15 | 16 | # Downloading Files 17 | Write-Host "[+] Downloading MPC-BE" 18 | Invoke-WebRequest -Uri $mpc -OutFile ".\Downloads\mpcbe.7z" 19 | Write-Host "[+] Downloading LAVFilters" 20 | Invoke-WebRequest -Uri $lav -OutFile ".\Downloads\lavfilters.zip" 21 | Write-Host "[+] Downloading madVR" 22 | Invoke-WebRequest -Uri $mad -OutFile ".\Downloads\madvr.zip" 23 | Write-Host "[+] Downloading XySubFilter" 24 | Invoke-WebRequest -Uri $xys -OutFile ".\Downloads\xysubfilter.zip" 25 | Write-Host "[+] Downloading SyncPlay" 26 | Invoke-WebRequest -Uri $syn -OutFile ".\Downloads\syncplay.zip" 27 | 28 | 29 | # Dezipping folder 30 | Write-Host "[+] Extracting packages" 31 | .\7Zip\7za.exe x .\Downloads\mpcbe.7z -bso0 -aoa -oExtracted\MPC-BE 32 | .\7Zip\7za.exe x .\Downloads\lavfilters.zip -bso0 -aoa -oExtracted\LAVFilters 33 | .\7Zip\7za.exe x .\Downloads\madvr.zip -bso0 -aoa -oExtracted\madVR 34 | .\7Zip\7za.exe x .\Downloads\xysubfilter.zip -bso0 -aoa -oExtracted\XySubFilter 35 | .\7Zip\7za.exe x .\Downloads\syncplay.zip -bso0 -aoa -oExtracted\Syncplay 36 | 37 | # Moving MPC-BE extracted folder to the correct directory 38 | Write-Host "[+] Fixing directories" 39 | $folderName = cmd /c dir Extracted\MPC-BE\MPC* /b 40 | $extractedFolder = "Extracted\MPC-BE\" + $folderName + "\*" 41 | Move-Item $extractedFolder Extracted\MPC-BE 42 | Remove-Item ("Extracted\MPC-BE\" + $folderName) 43 | 44 | # Downloading Inno Setup 45 | Write-Host "[?] Looking for Inno Setup" 46 | if (!(Test-Path "C:\Program Files (x86)\Inno Setup 6\ISCC.exe")) 47 | { 48 | Write-Host "[-] Inno Setup not found in Program Files (x86)" 49 | Write-Host "[+] Downloading Inno Setup" 50 | Invoke-WebRequest -Uri "http://www.jrsoftware.org/download.php/is.exe" -out ".\Downloads\is.exe" 51 | Write-Host "[+] Installing Inno Setup" 52 | .\Downloads\is.exe /VERYSILENT 53 | DO 54 | { 55 | Start-Sleep -s 2 56 | } While (!(Test-Path "C:\Program Files (x86)\Inno Setup 6\ISCC.exe")) 57 | 58 | } 59 | 60 | # Building DCP 61 | Write-Host "[+] Building Despair Codec Pack (can take a while)" 62 | Start-Sleep -s 2 63 | . "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" .\setup.iss > inno_build.log 64 | Write-Host "[*] Build log: inno_build.log" 65 | 66 | # Printing Checksums 67 | Write-Host -NoNewline "[*] MD5 : " 68 | .\fciv.exe -md5 $(Get-ChildItem .\Output\*exe) | findstr "exe" | %{$_.split(' ')[0]} 69 | Write-Host -NoNewline "[*] SHA-1 : " 70 | .\fciv.exe -sha1 $(Get-ChildItem .\Output\*exe) | findstr "exe" | %{$_.split(' ')[0]} 71 | 72 | Write-Host "[*] Done." 73 | pause 74 | -------------------------------------------------------------------------------- /fciv.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DespairParadise/DCP-BuildScript/749a3971581183273e0e5443f50ab0bce47258a0/fciv.exe -------------------------------------------------------------------------------- /setup.iss: -------------------------------------------------------------------------------- 1 | #define MyAppName "Despair Codec Pack" 2 | #define MyAppVersion "2.0.1-akane" 3 | #define MyAppPublisher "Despair-Paradise" 4 | #define MyAppURL "https://codec.despair-paradise.com/" 5 | #define MyAppExeName "MPC-BE\mpc-be64.exe" 6 | #define DespairPlayer "Despair Codec Player" 7 | #define DespairName "Despair Codec Pack - Settings" 8 | #define DespairNameExe "Config\DCP-Core.exe" 9 | #define DespairIcon "despair.ico" 10 | #define SyncplayName "Syncplay" 11 | #define SyncplayNameExe "Syncplay\syncplay.exe" 12 | 13 | [Setup] 14 | AppId={{C927D6E7-07CF-490E-9C7C-54ACC1772686} 15 | AppName={#MyAppName} 16 | AppVersion={#MyAppVersion} 17 | AppPublisher={#MyAppPublisher} 18 | AppPublisherURL={#MyAppURL} 19 | AppSupportURL={#MyAppURL} 20 | AppUpdatesURL={#MyAppURL} 21 | DefaultDirName={pf}\{#MyAppName} 22 | DisableProgramGroupPage=yes 23 | OutputDir=Output 24 | OutputBaseFilename=dcp_2.0.1_setup-fr 25 | Compression=lzma 26 | SolidCompression=yes 27 | ArchitecturesInstallIn64BitMode=x64 28 | PrivilegesRequired=admin 29 | 30 | [Languages] 31 | Name: "en"; MessagesFile: "compiler:Default.isl" 32 | Name: "fr"; MessagesFile: "compiler:Languages\French.isl" 33 | 34 | [Tasks] 35 | Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}" 36 | 37 | [Files] 38 | Source: "Extracted\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; AfterInstall: SetupReg 39 | Source: "Extracted\Config\eng\*"; DestDir: "{app}\Config"; Flags: ignoreversion recursesubdirs createallsubdirs; 40 | Source: "Extracted\Config\fra\*"; DestDir: "{app}\Config"; Flags: ignoreversion recursesubdirs createallsubdirs; Languages: fr 41 | Source: "Extracted\SyncPlay\syncplay.ini"; DestDir: "{app}\SyncPlay"; Flags: ignoreversion; Permissions: everyone-full 42 | 43 | [Icons] 44 | Name: "{commonprograms}\{#MyAppName}\{#DespairPlayer}"; Filename: "{app}\{#MyAppExeName}" 45 | Name: "{commonprograms}\{#MyAppName}\{#DespairName}"; Filename: "{app}\{#DespairNameExe}"; IconFilename: "{app}\{#DespairIcon}" 46 | Name: "{commonprograms}\{#MyAppName}\{#SyncplayName}"; Filename: "{app}\{#SyncplayNameExe}"; 47 | Name: "{commondesktop}\{#DespairPlayer}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon 48 | Name: "{commondesktop}\Syncplay"; Filename: "{app}\{#SyncplayNameExe}"; Tasks: desktopicon 49 | 50 | [Run] 51 | Filename: "reg"; Parameters: "delete HKEY_CURRENT_USER\Software\madshi\madVR /f"; Flags: runhidden; StatusMsg: "Removing old register entries..." 52 | Filename: "reg"; Parameters: "delete HKEY_CURRENT_USER\Software\MPC-BE /f"; Flags: runhidden; StatusMsg: "Removing old register entries..." 53 | Filename: "{sys}\regsvr32.exe"; Parameters: "/s LAVFilters\LAVSplitter.ax"; WorkingDir: "{app}"; Flags: runhidden; StatusMsg: "Installing LAV Filters..." 54 | Filename: "{sys}\regsvr32.exe"; Parameters: "/s LAVFilters\LAVVideo.ax"; WorkingDir: "{app}"; Flags: runhidden; StatusMsg: "Installing LAV Filters..." 55 | Filename: "{sys}\regsvr32.exe"; Parameters: "/s LAVFilters\LAVAudio.ax"; WorkingDir: "{app}"; Flags: runhidden; StatusMsg: "Installing LAV Filters..." 56 | Filename: "{sys}\regsvr32.exe"; Parameters: "/s XySubFilter\XySubFilter.dll"; WorkingDir: "{app}"; Flags: runhidden; StatusMsg: "Installing XySubFilter..." 57 | Filename: "{sys}\regsvr32.exe"; Parameters: "/s madVR\madVR.ax"; WorkingDir: "{app}"; Flags: runhidden; StatusMsg: "Installing madVR..." 58 | Filename: "{sys}\regsvr32.exe"; Parameters: "/s madVR\madVR64.ax"; WorkingDir: "{app}"; Flags: runhidden; StatusMsg: "Installing madVR..." 59 | Filename: "C:\Windows\regedit.exe"; Parameters: "/s Config\mpc-be-settings.reg"; WorkingDir: "{app}"; Flags: runhidden; StatusMsg: "Setting up MPC-BE..." 60 | Filename: "C:\Windows\regedit.exe"; Parameters: "/s Config\mod_alwaysLoadXySubFilter.reg"; WorkingDir: "{app}"; Flags: runhidden; StatusMsg: "Setting up XySubFilter..." 61 | Filename: "{sys}\icacls.exe"; Parameters: "SyncPlay\syncplay.ini /grant *S-1-5-32-545:(OI)(CI)F"; WorkingDir: "{app}"; Flags: runhidden; StatusMsg: "Setting up Syncplay..." 62 | Filename: "{app}\Config\DCP-OneTime.exe"; Flags: runascurrentuser; StatusMsg: "Hashire Sori yo..." 63 | Filename: "{app}\MPC-BE\mpc-be64.exe"; Parameters: "/adminoption 10027"; Flags: runascurrentuser; StatusMsg: "...PADORU PADORU" 64 | 65 | Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent 66 | 67 | [Code] 68 | procedure SetupReg(); 69 | begin 70 | RegWriteStringValue(HKEY_CURRENT_USER, 'Software\Despair Codec Pack', 71 | 'InstallPath', ExpandConstant('{app}')); 72 | RegWriteStringValue(HKEY_CURRENT_USER, 'Software\Despair Codec Pack', 73 | 'Version', ExpandConstant('{#MyAppVersion}')); 74 | end; 75 | --------------------------------------------------------------------------------