├── .github └── workflows │ └── ci.yaml ├── Extravi's ReShade-Preset └── license.txt ├── LICENSE ├── README.md ├── extravi-reshade.bmp ├── extravi-reshade.ico └── installer.nsi /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- 1 | name: ci 2 | 3 | on: 4 | push: 5 | branches: [ main ] 6 | pull_request: 7 | branches: [ main ] 8 | 9 | jobs: 10 | build: 11 | runs-on: windows-latest 12 | 13 | steps: 14 | - uses: actions/checkout@v2 15 | 16 | - name: Download TaskbarProgress 17 | uses: carlosperate/download-file-action@v1.0.3 18 | with: 19 | file-url: https://nsis.sourceforge.io/mediawiki/images/6/6f/Win7TaskbarProgress_20091109.zip 20 | - name: Extract TaskbarProgress 21 | run: 7z x -o"${{ github.workspace }}/NSIS_Plugins/Plugins/x86-unicode" "${{ github.workspace }}/Win7TaskbarProgress_20091109.zip" 22 | 23 | - name: Download NSCurl 24 | uses: carlosperate/download-file-action@v1.0.3 25 | with: 26 | file-url: https://github.com/negrutiu/nsis-nscurl/releases/download/v1.2021.6.12/NScurl-1.2021.6.12.7z 27 | - name: Extract NSCurl 28 | run: | 29 | 7z x -o"${{ github.workspace }}/NSIS_Plugins/Plugins" "${{ github.workspace }}/NScurl-1.2021.6.12.7z" 30 | 31 | - name: Download nsisunz 32 | uses: carlosperate/download-file-action@v1.0.3 33 | with: 34 | file-url: https://github.com/past-due/nsisunz/files/6176644/nsisunz.zip 35 | - name: Extract nsisunz 36 | run: 7z x -o"${{ github.workspace }}/NSIS_Plugins/Plugins" "${{ github.workspace }}/nsisunz.zip" 37 | 38 | - name: Download MoveFileFolder.nsh 39 | uses: carlosperate/download-file-action@v1.0.3 40 | with: 41 | file-url: https://gist.githubusercontent.com/Extravi/61fd1e0c745bbcc11784bec5157c3084/raw/6b740585806347b05531287b0e59c4d6d3fc9eb0/MoveFileFolder.nsh 42 | 43 | - name: Build installer 44 | uses: joncloud/makensis-action@v3.4 45 | with: 46 | script-file: installer.nsi 47 | arguments: "/V3" 48 | additional-plugin-paths: ${{ github.workspace }}/NSIS_Plugins/Plugins 49 | 50 | - name: Upload artifact 51 | uses: actions/upload-artifact@v2 52 | with: 53 | name: "Setup" 54 | path: "Setup - Extravi's ReShade-Preset.exe" 55 | -------------------------------------------------------------------------------- /Extravi's ReShade-Preset/license.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Extravi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Extravi, sitiom 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Installer [![ci](https://github.com/Extravi/Installer/actions/workflows/ci.yaml/badge.svg)](https://github.com/Extravi/Installer/actions/workflows/ci.yaml) 2 | 3 | The installer for Extravi ReShade Presets. 4 | 5 | Made by [sitiom](https://github.com/sitiom) and Extravi. 6 | 7 | ## Build from Source 8 | Get [NSIS](https://nsis.sourceforge.io/Download) first, then install these libraries: 9 | 10 | - [TaskbarProgress](http://nsis.sourceforge.net/TaskbarProgress_plug-in) 11 | - [NSCurl](https://github.com/negrutiu/nsis-nscurl) 12 | - [nsisunz](https://github.com/past-due/nsisunz) 13 | - [MoveFileFolder](https://nsis.sourceforge.io/MoveFileFolder) 14 | 15 | Build using `makensis` or through the MakeNSIS Windows Wrapper (`Compile NSI Scripts > File > Load Script`). 16 | -------------------------------------------------------------------------------- /extravi-reshade.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Extravi/Installer/ae937e2128f2c9588c35b0e7248037fb6194eb2e/extravi-reshade.bmp -------------------------------------------------------------------------------- /extravi-reshade.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Extravi/Installer/ae937e2128f2c9588c35b0e7248037fb6194eb2e/extravi-reshade.ico -------------------------------------------------------------------------------- /installer.nsi: -------------------------------------------------------------------------------- 1 | Unicode true 2 | 3 | #################################################################### 4 | # Includes 5 | 6 | !include MUI2.nsh 7 | !include FileFunc.nsh 8 | !include LogicLib.nsh 9 | 10 | !insertmacro Locate 11 | Var /GLOBAL switch_overwrite 12 | !include MoveFileFolder.nsh 13 | 14 | #################################################################### 15 | # File Info 16 | 17 | !define PRODUCT_NAME "Extravi's ReShade-Preset" 18 | !define PRODUCT_DESCRIPTION "ReShade presets made by Extravi." 19 | !define COPYRIGHT "Copyright © 2023 sitiom, Extravi" 20 | !define VERSION "7.0.0" 21 | 22 | VIProductVersion "${VERSION}.0" 23 | VIAddVersionKey "ProductName" "${PRODUCT_NAME}" 24 | VIAddVersionKey "ProductVersion" "${VERSION}" 25 | VIAddVersionKey "FileDescription" "${PRODUCT_DESCRIPTION}" 26 | VIAddVersionKey "LegalCopyright" "${COPYRIGHT}" 27 | VIAddVersionKey "FileVersion" "${VERSION}.0" 28 | 29 | #################################################################### 30 | # Installer Attributes 31 | 32 | ManifestDPIAware true 33 | 34 | Name "${PRODUCT_NAME}" 35 | Outfile "Setup - ${PRODUCT_NAME}.exe" 36 | Caption "Setup - ${PRODUCT_NAME}" 37 | BrandingText "${PRODUCT_NAME}" 38 | 39 | RequestExecutionLevel user 40 | 41 | InstallDir "$LOCALAPPDATA\${PRODUCT_NAME}" 42 | 43 | #################################################################### 44 | # Interface Settings 45 | 46 | InstType "Full";1 47 | 48 | #################################################################### 49 | # Pages 50 | 51 | !define MUI_ICON "extravi-reshade.ico" 52 | !define MUI_UNICON "extravi-reshade.ico" 53 | !define MUI_ABORTWARNING 54 | !define MUI_WELCOMEFINISHPAGE_BITMAP "extravi-reshade.bmp" 55 | !define MUI_WELCOMEPAGE_TEXT "This will install ${PRODUCT_NAME} on your computer.$\r$\n\ 56 | $\r$\n\ 57 | Before continuing, ensure that Roblox is closed. If Roblox is open, the installer will terminate the process before it begins.$\r$\n\ 58 | $\r$\n\ 59 | There may be issues with the setup. If that's the case, it's recommended that you ask your questions in Extravi's Discord server.$\r$\n\ 60 | $\r$\n\ 61 | Click Next to continue." 62 | !define MUI_LICENSEPAGE_RADIOBUTTONS 63 | !define MUI_COMPONENTSPAGE_NODESC 64 | !define MUI_FINISHPAGE_TEXT_LARGE 65 | !define MUI_FINISHPAGE_TEXT "Setup has finished installing ${PRODUCT_NAME} on your computer. The effects will be applied the next time you launch Roblox.$\r$\n\ 66 | $\r$\n\ 67 | Click Finish to exit Setup." 68 | !define MUI_FINISHPAGE_SHOWREADME "https://reshade.me/" 69 | !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED 70 | !define MUI_FINISHPAGE_SHOWREADME_TEXT "Visit reshade.me" 71 | !define MUI_FINISHPAGE_RUN 72 | !define MUI_FINISHPAGE_RUN_TEXT "Subscribe to Extravi on Youtube" 73 | !define MUI_FINISHPAGE_RUN_CHECKED 74 | !define MUI_FINISHPAGE_RUN_FUNCTION "OpenLink" 75 | 76 | !insertmacro MUI_PAGE_WELCOME 77 | !insertmacro MUI_PAGE_LICENSE "Extravi's ReShade-Preset\license.txt" 78 | !insertmacro MUI_PAGE_COMPONENTS 79 | !define MUI_PAGE_CUSTOMFUNCTION_SHOW "StartTaskbarProgress" 80 | !insertmacro MUI_PAGE_INSTFILES 81 | !insertmacro MUI_PAGE_FINISH 82 | !insertmacro MUI_UNPAGE_CONFIRM 83 | !insertmacro MUI_UNPAGE_INSTFILES 84 | 85 | #################################################################### 86 | # Language 87 | 88 | !insertmacro MUI_LANGUAGE "English" 89 | 90 | #################################################################### 91 | # Sections 92 | 93 | Var robloxPath 94 | 95 | SpaceTexts none 96 | 97 | Section "ReShade (required)" 98 | SectionIn 1 RO 99 | 100 | ExecWait "TaskKill /IM RobloxPlayerBeta.exe /F" 101 | 102 | SetOutPath $INSTDIR 103 | 104 | WriteUninstaller "$INSTDIR\uninstall.exe" 105 | 106 | ; Uninstall Regkeys 107 | WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\extravi-reshade-presets" "DisplayIcon" "$INSTDIR\uninstall.exe" 108 | WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\extravi-reshade-presets" "DisplayName" "${PRODUCT_NAME}" 109 | WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\extravi-reshade-presets" "DisplayVersion" "${VERSION}" 110 | WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\extravi-reshade-presets" "QuietUninstallString" "$INSTDIR\uninstall.exe /S" 111 | WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\extravi-reshade-presets" "UninstallString" "$INSTDIR\uninstall.exe" 112 | WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\extravi-reshade-presets" "InstallLocation" "$INSTDIR" 113 | WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\extravi-reshade-presets" "Publisher" "Extravi" 114 | 115 | NSCurl::http GET "https://github.com/BlueSkyDefender/AstrayFX/archive/refs/heads/master.zip" "AstrayFX-master.zip" /END 116 | nsisunz::Unzip "AstrayFX-master.zip" "$INSTDIR" 117 | Delete "AstrayFX-master.zip" 118 | 119 | NSCurl::http GET "https://github.com/BlueSkyDefender/Depth3D/archive/refs/heads/master.zip" "Depth3D-master.zip" /END 120 | nsisunz::Unzip "Depth3D-master.zip" "$INSTDIR" 121 | Delete "Depth3D-master.zip" 122 | 123 | NSCurl::http GET "https://github.com/crosire/reshade-shaders/archive/refs/heads/legacy.zip" "reshade-shaders-legacy.zip" /END 124 | nsisunz::Unzip "reshade-shaders-legacy.zip" "$INSTDIR" 125 | Delete "reshade-shaders-legacy.zip" 126 | 127 | NSCurl::http GET "https://github.com/crosire/reshade-shaders/archive/refs/heads/master.zip" "reshade-shaders-master.zip" /END 128 | nsisunz::Unzip "reshade-shaders-master.zip" "$INSTDIR" 129 | Delete "reshade-shaders-master.zip" 130 | 131 | NSCurl::http GET "https://github.com/prod80/prod80-ReShade-Repository/archive/refs/heads/master.zip" "prod80-ReShade-Repository-master.zip" /END 132 | nsisunz::Unzip "prod80-ReShade-Repository-master.zip" "$INSTDIR" 133 | Delete "prod80-ReShade-Repository-master.zip" 134 | 135 | NSCurl::http GET "https://github.com/martymcmodding/qUINT/archive/refs/heads/master.zip" "qUINT-master.zip" /END 136 | nsisunz::Unzip "qUINT-master.zip" "$INSTDIR" 137 | Delete "qUINT-master.zip" 138 | 139 | NSCurl::http GET "https://github.com/AlucardDH/dh-reshade-shaders/archive/refs/heads/master.zip" "dh-reshade-shaders-master.zip" /END 140 | nsisunz::Unzip "dh-reshade-shaders-master.zip" "$INSTDIR" 141 | Delete "dh-reshade-shaders-master.zip" 142 | 143 | NSCurl::http GET "https://github.com/rj200/Glamarye_Fast_Effects_for_ReShade/archive/refs/heads/main.zip" "Glamarye_Fast_Effects_for_ReShade-main.zip" /END 144 | nsisunz::Unzip "Glamarye_Fast_Effects_for_ReShade-main.zip" "$INSTDIR" 145 | Delete "Glamarye_Fast_Effects_for_ReShade-main.zip" 146 | 147 | NSCurl::http GET "https://github.com/mj-ehsan/NiceGuy-Shaders/archive/refs/heads/main.zip" "NiceGuy-Shaders-main.zip" /END 148 | nsisunz::Unzip "NiceGuy-Shaders-main.zip" "$INSTDIR" 149 | Delete "NiceGuy-Shaders-main.zip" 150 | 151 | NSCurl::http GET "https://github.com/CeeJayDK/SweetFX/archive/refs/heads/master.zip" "SweetFX-master.zip" /END 152 | nsisunz::Unzip "SweetFX-master.zip" "$INSTDIR" 153 | Delete "SweetFX-master.zip" 154 | 155 | NSCurl::http GET "https://github.com/brussell1/Shaders/archive/refs/heads/master.zip" "Shaders-master.zip" /END 156 | nsisunz::Unzip "Shaders-master.zip" "$INSTDIR" 157 | Delete "Shaders-master.zip" 158 | 159 | StrCpy $switch_overwrite 1 $INSTDIR 160 | 161 | RMDir /r "$robloxPath\reshade-presets" 162 | RMDir /r "$robloxPath\reshade-shaders" 163 | RMDir /r "$robloxPath\ClientSettings" 164 | Delete "$robloxPath\Reshade.ini" 165 | Delete "$robloxPath\dxgi.dll" 166 | Delete "$robloxPath\reshade.dll" 167 | 168 | !insertmacro MoveFolder "$INSTDIR\AstrayFX-master\Shaders" "$robloxPath\reshade-shaders\Shaders\AstrayFX" "*" 169 | !insertmacro MoveFolder "$INSTDIR\AstrayFX-master\Textures" "$robloxPath\reshade-shaders\Textures" "*" 170 | RMDir /r "$INSTDIR\AstrayFX-master" 171 | 172 | !insertmacro MoveFolder "$INSTDIR\Depth3D-master\Shaders" "$robloxPath\reshade-shaders\Shaders\Depth3D" "*" 173 | !insertmacro MoveFolder "$INSTDIR\Depth3D-master\Textures" "$robloxPath\reshade-shaders\Textures" "*" 174 | RMDir /r "$INSTDIR\Depth3D-master" 175 | 176 | !insertmacro MoveFolder "$INSTDIR\reshade-shaders-legacy\Shaders" "$robloxPath\reshade-shaders\Shaders" "*" 177 | !insertmacro MoveFolder "$INSTDIR\reshade-shaders-legacy\Textures" "$robloxPath\reshade-shaders\Textures" "*" 178 | RMDir /r "$INSTDIR\reshade-shaders-legacy" 179 | 180 | !insertmacro MoveFolder "$INSTDIR\prod80-ReShade-Repository-master\Shaders" "$robloxPath\reshade-shaders\Shaders" "*" 181 | !insertmacro MoveFolder "$INSTDIR\prod80-ReShade-Repository-master\Textures" "$robloxPath\reshade-shaders\Textures" "*" 182 | RMDir /r "$INSTDIR\prod80-ReShade-Repository-master" 183 | 184 | !insertmacro MoveFolder "$INSTDIR\qUINT-master\Shaders" "$robloxPath\reshade-shaders\Shaders" "*" 185 | RMDir /r "$INSTDIR\qUINT-master" 186 | 187 | !insertmacro MoveFolder "$INSTDIR\dh-reshade-shaders-master\Shaders" "$robloxPath\reshade-shaders\Shaders" "*" 188 | !insertmacro MoveFolder "$INSTDIR\dh-reshade-shaders-master\Textures" "$robloxPath\reshade-shaders\Textures" "*" 189 | RMDir /r "$INSTDIR\dh-reshade-shaders-master" 190 | Delete "$robloxPath\reshade-shaders\Shaders\dh_Lain.fx" 191 | Delete "$robloxPath\reshade-shaders\Shaders\dh_rtgi.fx" 192 | 193 | !insertmacro MoveFolder "$INSTDIR\Glamarye_Fast_Effects_for_ReShade-main\Shaders" "$robloxPath\reshade-shaders\Shaders" "*" 194 | RMDir /r "$INSTDIR\Glamarye_Fast_Effects_for_ReShade-main" 195 | 196 | !insertmacro MoveFolder "$INSTDIR\NiceGuy-Shaders-main" "$robloxPath\reshade-shaders" "*" 197 | RMDir /r "$INSTDIR\NiceGuy-Shaders-main" 198 | 199 | !insertmacro MoveFolder "$INSTDIR\SweetFX-master" "$robloxPath\reshade-shaders" "*" 200 | RMDir /r "$INSTDIR\SweetFX-master" 201 | 202 | !insertmacro MoveFolder "$INSTDIR\Shaders-master" "$robloxPath\reshade-shaders" "*" 203 | RMDir /r "$INSTDIR\Shaders-master" 204 | 205 | NSCurl::http GET "https://github.com/Extravi/extravi.github.io/raw/main/update/dxgi.zip" "dxgi.zip" /END 206 | nsisunz::Unzip "dxgi.zip" "$robloxPath" 207 | Delete "dxgi.zip" 208 | 209 | NSCurl::http GET "https://github.com/Extravi/extravi.github.io/raw/main/update/config.zip" "config.zip" /END 210 | nsisunz::Unzip "config.zip" "$robloxPath" 211 | Delete "config.zip" 212 | 213 | NSCurl::http GET "https://github.com/Extravi/extravi.github.io/raw/main/update/dependencies.zip" "dependencies.zip" /END 214 | nsisunz::Unzip "dependencies.zip" "$robloxPath\reshade-shaders\Shaders" 215 | Delete "dependencies.zip" 216 | 217 | NSCurl::http GET "https://raw.githubusercontent.com/cyrie/Stormshade/master/reshade-shaders/Shaders/MXAO.fx" "$robloxPath\reshade-shaders\Shaders\MXAO.fx" /END 218 | 219 | SetOutPath $robloxPath 220 | SectionEnd 221 | 222 | SectionGroup /e "Presets" 223 | Section "Extravi's ReShade-Presets" 224 | SectionIn 1 225 | NSCurl::http GET "https://github.com/Extravi/extravi.github.io/raw/main/update/reshade-presets.zip" "reshade-presets.zip" /END 226 | nsisunz::Unzip "reshade-presets.zip" "$robloxPath" 227 | Delete "reshade-presets.zip" 228 | SectionEnd 229 | SectionGroupEnd 230 | 231 | SectionGroup /e "rbxfpsunlocker" 232 | Section "rbxfpsunlocker" 233 | SectionIn 1 234 | ExecWait "TaskKill /IM rbxfpsunlocker.exe /F" 235 | NSCurl::http GET "https://github.com/axstin/rbxfpsunlocker/releases/latest/download/rbxfpsunlocker-x64.zip" "rbxfpsunlocker-x64.zip" /END 236 | nsisunz::Unzip "rbxfpsunlocker-x64.zip" "$INSTDIR" 237 | Delete "rbxfpsunlocker-x64.zip" 238 | CreateShortCut "$DESKTOP\Roblox FPS Unlocker.lnk" "$INSTDIR\rbxfpsunlocker.exe" 239 | CreateShortCut "$SMPROGRAMS\Roblox FPS Unlocker.lnk" "$INSTDIR\rbxfpsunlocker.exe" 240 | RMDir /r "$robloxPath\r" 241 | Exec "$INSTDIR\rbxfpsunlocker.exe" 242 | SectionEnd 243 | SectionGroupEnd 244 | 245 | Section "uninstall" 246 | ${Locate} "$LOCALAPPDATA\Roblox\Versions" "/L=F /M=RobloxPlayerBeta.exe" "un.SetRobloxPath" 247 | 248 | ExecWait "TaskKill /IM RobloxPlayerBeta.exe /F" 249 | ExecWait "TaskKill /IM rbxfpsunlocker.exe /F" 250 | Delete "$INSTDIR\rbxfpsunlocker.exe" 251 | Delete "$INSTDIR\settings" 252 | Delete "$robloxPath\settings" 253 | Delete "$INSTDIR\uninstall.exe" 254 | RMDir /r $INSTDIR 255 | 256 | DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\extravi-reshade-presets" 257 | 258 | Delete "$robloxPath\ReShade.ini" 259 | RMDir /r "$robloxPath\reshade-presets" 260 | RMDir /r "$robloxPath\reshade-shaders" 261 | RMDir /r "$robloxPath\ClientSettings" 262 | Delete "$robloxPath\dxgi.dll" 263 | Delete "$robloxPath\ReShade.log" 264 | Delete "$robloxPath\NunitoSans-Regular.ttf" 265 | Delete "$robloxPath\Hack-Regular.ttf" 266 | Delete "$DESKTOP\Roblox FPS Unlocker.lnk" 267 | Delete "$SMPROGRAMS\Roblox FPS Unlocker.lnk" 268 | Delete "$robloxPath\license.txt" 269 | SectionEnd 270 | 271 | #################################################################### 272 | # Functions 273 | 274 | Function .onInit 275 | ${Locate} "$PROGRAMFILES\Roblox\Versions" "/L=F /M=RobloxPlayerBeta.exe" "Troubleshoot" 276 | 277 | StrCpy $robloxPath "" 278 | ${Locate} "$LOCALAPPDATA\Roblox\Versions" "/L=F /M=RobloxPlayerBeta.exe" "SetRobloxPath" 279 | 280 | ${If} $robloxPath == "" 281 | MessageBox MB_YESNO|MB_ICONEXCLAMATION "Roblox installation not found. Would you like to reinstall Roblox and try again?" IDYES yes 282 | Abort 283 | yes: 284 | NScurl::http GET "https://www.roblox.com/download/client" "$INSTDIR\RobloxPlayerLauncher.exe" /POPUP /END 285 | ExecWait "$INSTDIR\RobloxPlayerLauncher.exe" 286 | MessageBox MB_ICONQUESTION "Roblox has been reinstalled, if that does not seem to be the case, please check your User Account Control settings." 287 | RMDir /r $INSTDIR 288 | Abort 289 | ${EndIf} 290 | FunctionEnd 291 | 292 | Function "Troubleshoot" 293 | MessageBox MB_YESNO|MB_ICONEXCLAMATION "It seems like Roblox is installed system-wide in the Program Files directory. Would you like to attempt to install again under your own user? Make sure you follow all on-screen instructions, and ensure that Roblox is closed before proceeding." IDYES yes 294 | Abort 295 | yes: 296 | ExecWait "TaskKill /IM RobloxPlayerBeta.exe /F" 297 | MessageBox MB_ICONQUESTION `A User Account Control pop-up will appear, make sure to click "YES".` 298 | ${Locate} "$PROGRAMFILES\Roblox\Versions" "/L=F /M=RobloxPlayerBeta.exe" "SetRobloxPath" 299 | ExecWait '"$robloxPath\RobloxPlayerLauncher.exe"" -uninstall' 300 | MessageBox MB_ICONQUESTION "Roblox was removed from C:\Program Files (x86). Now will, attempt to reinstall Roblox." 301 | NScurl::http GET "https://www.roblox.com/download/client" "$INSTDIR\RobloxPlayerLauncher.exe" /POPUP /END 302 | ExecWait "$INSTDIR\RobloxPlayerLauncher.exe" 303 | MessageBox MB_ICONQUESTION "Roblox has been reinstalled, if that does not seem to be the case, please check your User Account Control settings." 304 | RMDir /r $INSTDIR 305 | Abort 306 | FunctionEnd 307 | 308 | Function "SetRobloxPath" 309 | SetOutPath $R8 310 | StrCpy $robloxPath $R8 311 | StrCpy $0 StopLocate 312 | Push $0 313 | FunctionEnd 314 | Function "un.SetRobloxPath" 315 | SetOutPath $R8 316 | StrCpy $robloxPath $R8 317 | StrCpy $0 StopLocate 318 | Push $0 319 | FunctionEnd 320 | 321 | Function "StartTaskbarProgress" 322 | w7tbp::Start 323 | FunctionEnd 324 | 325 | Function "OpenLink" 326 | ExecShell "open" "https://www.youtube.com/channel/UCOZnRzWstxDLyW30TjWEevQ?sub_confirmation=1" 327 | FunctionEnd 328 | --------------------------------------------------------------------------------