{"id":17788854,"url":"https://github.com/moebiussurfing/of_windows_installer","last_synced_at":"2025-04-02T00:44:18.328Z","repository":{"id":109378884,"uuid":"353561426","full_name":"moebiussurfing/OF_Windows_Installer","owner":"moebiussurfing","description":"Make a custom Windows  installer for your own openFrameworks / OF_App's","archived":false,"fork":false,"pushed_at":"2021-04-13T04:38:48.000Z","size":26259,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T16:19:48.454Z","etag":null,"topics":["openframeworks","openframeworks-addon","openframeworks-application"],"latest_commit_sha":null,"homepage":"","language":"NSIS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moebiussurfing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-04-01T03:28:21.000Z","updated_at":"2024-07-04T13:07:34.000Z","dependencies_parsed_at":"2023-03-08T14:00:14.449Z","dependency_job_id":null,"html_url":"https://github.com/moebiussurfing/OF_Windows_Installer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moebiussurfing%2FOF_Windows_Installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moebiussurfing%2FOF_Windows_Installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moebiussurfing%2FOF_Windows_Installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moebiussurfing%2FOF_Windows_Installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moebiussurfing","download_url":"https://codeload.github.com/moebiussurfing/OF_Windows_Installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246735350,"owners_count":20825223,"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":["openframeworks","openframeworks-addon","openframeworks-application"],"created_at":"2024-10-27T10:24:23.663Z","updated_at":"2025-04-02T00:44:18.305Z","avatar_url":"https://github.com/moebiussurfing.png","language":"NSIS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\nTemplate to make a custom _MS Windows_ installer with uninstaller and start menu shortcuts for your own **OF_App**'s using **NSIS** from **Nullsoft**.\n\n## Screenshots\n* Installation Process:  \n\n![image](/docs/readme_images/Capture1.JPG?raw=true \"image\")\n![image](/docs/readme_images/Capture2.JPG?raw=true \"image\")\n![image](/docs/readme_images/Capture3.JPG?raw=true \"image\")\n![image](/docs/readme_images/Capture4.JPG?raw=true \"image\")\n\n## Usage\n1. Download and install [**NSIS**](https://nsis.sourceforge.io/Main_Page) .\n2. Clone this repo somewhere and copy the folder into your **OF_APP/bin/** project(s). \n3. Check that this folder contains:  \n    * The (copied / renamed) **OF_App.exe**.\n    * All the required OF **.dll**'s.\n    * Your **/data/** folder.\n5. Look into **OF_Windows_Installer/resources/** folders to replace your images, start and finish banners, and icon as desired.\n\n7. Customize the **SCRIPT_OF_APP.nsi** script:  \n   * Set your .exe app name, app title, and developer name. \n   * Enable or disable pages.\n   * Slideshow intro with faded BMP images. Start / Finish image splashes.\n   * Sound playing during splash intro.\n   * Your license file.\n   * Set data files to copy.\n   * Finish page links.\n\n7. Double click *SCRIPT_DEPLOY.bat*. This script has two steps:  \n    * Set the icon to your **.exe** file. (Using **rcedit-x64.exe**)  \n    * Run the **SCRIPT_OF_APP.nsi** script with **NSIS**.\n\n8. Your installer **OF_App_Setup.exe** will be created there, next to the **.bat** / **.nsi** scripts.\n\n## Example\n   * (Optional) Run the pre-made installer **\\OF_Windows_Installer\\example\\bin\\SCRIPT\\guiExample_Setup.exe**.\n   * Delete **guiExample_Setup.exe** to deploy the installer by your self:\n   * Double click **SCRIPT_DEPLOY.bat** using *Windows Explorer*:  \n     **\\OF_Windows_Installer\\example\\bin\\SCRIPT\\SCRIPT_DEPLOY.bat**\n   * Run the generated **\\OF_Windows_Installer\\example\\bin\\SCRIPT\\guiExample_Setup.exe** and install the app into your system.  \n   * That's it!\n\n## Dependencies\n* Required to run the script: [NSIS](https://nsis.sourceforge.io/Main_Page)  \n* Required to run an **OF_App** in other machines:  \n[Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019](https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0)  \n( Usually [x64: vc_redist.x64.exe](https://aka.ms/vs/16/release/vc_redist.x64.exe) )\n \n## Tested systems\n- **Windows10** / **VS2017** / **OF ~0.11**\n\n## Thanks\n[OF-Forum topic from @stubbulon5](https://forum.openframeworks.cc/t/deploying-and-creating-installers-for-windows-and-macos/36887/4)  \n[NSIS Modern UI Scripts](https://github.com/AnonymerNiklasistanonym/NsiWindowsInstallerExamples)  \n\n## Useful Links\n[Modern UI README](https://nsis.sourceforge.io/Docs/Modern%20UI%202/Readme.html)  \n[NSIS Wiki](https://en.wikipedia.org/wiki/Nullsoft_Scriptable_Install_System)  \n[NSIS GitHub](https://github.com/kichik/nsis)  \n[PNG to ICO Converter](https://icoconvert.com/)  \n[Environtment constants](https://stackoverflow.com/questions/9087538/is-programfiles-a-constant-declared-in-nsis-or-is-it-the-environment-variable-r/44380394#44380394)  \n\n## NOTE\n* To hide the black console window of your **OF_App**, you can add this line to the file **main.cpp**, before and out of **main(){ }** function:  \n```#pragma comment(linker, \"/SUBSYSTEM:windows /ENTRY:mainCRTStartup\")``` \n\n## Author\nTemplate by **@moebiusSurfing**  \n*(ManuMolina). 2021.*\n\n## License\n*MIT License.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoebiussurfing%2Fof_windows_installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoebiussurfing%2Fof_windows_installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoebiussurfing%2Fof_windows_installer/lists"}