{"id":25256899,"url":"https://github.com/rc-chuah/nsisdependencyinstaller","last_synced_at":"2025-04-06T00:40:18.224Z","repository":{"id":275467455,"uuid":"922949738","full_name":"rc-chuah/NSISDependencyInstaller","owner":"rc-chuah","description":"Nullsoft Scriptable Install System (NSIS) Dependency Installer Can Download And Install Any Dependency Such As .NET, Visual C++ Or SQL Server During Your Application's Installation.","archived":false,"fork":false,"pushed_at":"2025-02-26T13:54:02.000Z","size":254,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-02-26T14:41:34.187Z","etag":null,"topics":["3rd-party-installers","dependency","installer","installer-script","nsh","nsi","nsis","nsis-installer","nullsoft","nullsoft-install-system","nullsoft-installer","nullsoft-scriptable-install-system"],"latest_commit_sha":null,"homepage":"https://rc-chuah.github.io/NSISDependencyInstaller","language":"NSIS","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rc-chuah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-27T11:36:03.000Z","updated_at":"2025-02-26T13:54:06.000Z","dependencies_parsed_at":"2025-02-19T12:21:37.120Z","dependency_job_id":"f2baaa6e-ca2d-4bb6-abe6-92591cea3eef","html_url":"https://github.com/rc-chuah/NSISDependencyInstaller","commit_stats":null,"previous_names":["rc-chuah/nsisdependencyinstaller"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rc-chuah%2FNSISDependencyInstaller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rc-chuah%2FNSISDependencyInstaller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rc-chuah%2FNSISDependencyInstaller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rc-chuah%2FNSISDependencyInstaller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rc-chuah","download_url":"https://codeload.github.com/rc-chuah/NSISDependencyInstaller/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419811,"owners_count":20936012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3rd-party-installers","dependency","installer","installer-script","nsh","nsi","nsis","nsis-installer","nullsoft","nullsoft-install-system","nullsoft-installer","nullsoft-scriptable-install-system"],"created_at":"2025-02-12T06:30:40.282Z","updated_at":"2025-04-06T00:40:18.215Z","avatar_url":"https://github.com/rc-chuah.png","language":"NSIS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NSIS Dependency Installer\n\n**Nullsoft Scriptable Install System (NSIS) Dependency Installer** Can Download And Install Any Dependency Such As .NET, Visual C++ Or SQL Server During Your Application's Installation. In Addition, It Is Easy To Add Your Own Dependencies As Well.\n\n## Installation And Usage\n\n1. Download And Install [NSIS 3.11+](https://nsis.sourceforge.io/Main_Page).\n2. Download [This Repository](https://github.com/rc-chuah/NSISDependencyInstaller/archive/main.zip) Or Clone It `git clone https://github.com/rc-chuah/NSISDependencyInstaller`.\n3. Open The Extracted _ExampleSetup.nsi_ File.\n4. Comment Out Dependency Macro Calls Inside _.onInit_ Function To Disable Installing Them:\n    ```nsis\n    !insertmacro Dependency_AddVC2013 ; Installed In Example Setup\n    ;!insertmacro Dependency_AddVC2013 ; Commented Out And Not Installed In Example Setup\n    ```\n5. Modify Other Sections Like _[MainSection] [-AdditionalIcons] [-Post] [Uninstall]_ As Necessary.\n6. Build The Setup Using Nullsoft Scriptable Install System (NSIS) Compiler.\n\n## Integration\n\nYou Can Also Just Include _CodeDependencies.nsh_ File Into Your Setup And Call The Desired _Dependency_Add_ Macros (Some May Need Defining Their Exe File Path Before The Include):\n\n```nsis\n!include \"CodeDependencies.nsh\"\n\n; Define ...\n\nFunction .onInit\n  ; Add The Dependencies You Need\n  !insertmacro Dependency_AddDotNet90\n  ; ...\nFunctionEnd\n\n; Section ...\n```\n\n## Details\n\nYou Have Two Ways To Distribute The Dependency Installers. By Default, Most Dependencies Will Be Downloaded From The Official Website. Another Way Is To Pack The Dependency Into A Single Executable Setup Like So:\n\n* Include The Dependency Setup File By Defining The Source:\n\n    ```nsis\n    File \"dxwebsetup.exe\"\n    ```\n\n* Call _ExtractTemporaryFile_ Macro Before The Corresponding _Dependency_Add_ Macros\n\n    ```nsis\n    !insertmacro ExtractTemporaryFile \"dxwebsetup.exe\"\n    ```\n\nThe Dependencies Are Installed Based On The System Architecture. If You Want To Install 32-Bit Dependencies On A 64-Bit System You Can Force 32-Bit Mode Like So:\n\n```nsis\n!insertmacro Dependency_ForceX86 True ; Force 32-Bit Install Of Next Dependencies\n!insertmacro Dependency_AddVC2013\n!insertmacro Dependency_ForceX86 False ; Disable Forced 32-Bit Install Again\n```\n\nIf You Only Deploy 32-Bit Binaries And Dependencies You Can Also Instead Just Not Define [${If} ${IsNativeARM64} ${ElseIf} ${RunningX64} ${Else} ${EndIf}], [${If} ${IsNativeARM64} ${ElseIf} ${IsNativeAMD64} ${ElseIf} ${IsNativeIA32} ${Else} Abort \"Unsupported CPU Architecture!\" ${EndIf}], [${If} ${RunningX64} ${Else} ${EndIf}], [SetRegView 64], [SetRegView 32], [${DisableX64FSRedirection}], [${EnableX64FSRedirection}] And [${IsWow64}] In [MainSection], [-AdditionalIcons], [-Post] And [Uninstall] Sections.\n\n## Dependencies\n\n* .NET\n    * .NET Framework 3.5 Service Pack 1\n    * .NET Framework 4.0\n    * .NET Framework 4.5.2\n    * .NET Framework 4.6.2\n    * .NET Framework 4.7.2\n    * .NET Framework 4.8\n    * .NET Framework 4.8.1\n    * .NET Core 3.1 (Runtime, ASP.NET, Desktop)\n    * .NET 5.0 (Runtime, ASP.NET, Desktop)\n    * .NET 6.0 (Runtime, ASP.NET, Desktop)\n    * .NET 7.0 (Runtime, ASP.NET, Desktop)\n    * .NET 8.0 (Runtime, ASP.NET, Desktop)\n    * .NET 9.0 (Runtime, ASP.NET, Desktop)\n* C++\n    * Visual C++ 2005 Service Pack 1 Redistributable\n    * Visual C++ 2008 Service Pack 1 Redistributable\n    * Visual C++ 2010 Service Pack 1 Redistributable\n    * Visual C++ 2012 Update 4 Redistributable\n    * Visual C++ 2013 Update 5 Redistributable\n    * Visual C++ 2015-2022 Redistributable\n* SQL\n    * SQL Server 2008 R2 Service Pack 2 Express\n    * SQL Server 2012 Service Pack 4 Express\n    * SQL Server 2014 Service Pack 3 Express\n    * SQL Server 2016 Service Pack 3 Express\n    * SQL Server 2017 Express\n    * SQL Server 2019 Express\n    * SQL Server 2022 Express\n* Access\n    * Access Database Engine 2010\n    * Access Database Engine 2016\n* DirectX End-User Runtime\n* WebView2 Runtime\n\n## Credits\n\nThanks To The Community For Sharing Many Fixes And Improvements. To Contribute Please [Create A Pull Request](https://github.com/rc-chuah/NSISDependencyInstaller/pulls).\n\n## License\n\n[The Universal Permissive License (UPL) 1.0](https://github.com/rc-chuah/NSISDependencyInstaller/blob/main/LICENSE.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frc-chuah%2Fnsisdependencyinstaller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frc-chuah%2Fnsisdependencyinstaller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frc-chuah%2Fnsisdependencyinstaller/lists"}