{"id":25831369,"url":"https://github.com/chobbycode/installerjazz","last_synced_at":"2025-07-03T18:08:56.812Z","repository":{"id":278592975,"uuid":"935531125","full_name":"ChobbyCode/InstallerJazz","owner":"ChobbyCode","description":"A Simple Installer","archived":false,"fork":false,"pushed_at":"2025-02-20T16:01:29.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T05:10:12.885Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","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/ChobbyCode.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":"2025-02-19T15:43:35.000Z","updated_at":"2025-02-20T16:01:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"63f14221-9876-48e1-935e-d8043f0d4a5f","html_url":"https://github.com/ChobbyCode/InstallerJazz","commit_stats":null,"previous_names":["chobbycode/installerjazz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChobbyCode/InstallerJazz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChobbyCode%2FInstallerJazz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChobbyCode%2FInstallerJazz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChobbyCode%2FInstallerJazz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChobbyCode%2FInstallerJazz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChobbyCode","download_url":"https://codeload.github.com/ChobbyCode/InstallerJazz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChobbyCode%2FInstallerJazz/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263375257,"owners_count":23457316,"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":[],"created_at":"2025-02-28T20:33:34.889Z","updated_at":"2025-07-03T18:08:56.783Z","avatar_url":"https://github.com/ChobbyCode.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cdiv align=\"center\"\u003eInstaller Jazz\u003c/div\u003e\n\u003cdiv align=\"center\"\u003eThe worst way to handle installing an application\u003c/div\u003e\n\n## How To Use This?\n\nThis is a combination of the installers that I have developed for [Micro Macro](https://github.com/ChobbyCode/MicroMacro), and [Terminal Chad](https://github.com/ChobbyCode/TerminalChad) which have been put into a collection of about 50 dlls to make it a bit easier to make an installer. If you are going to use this it would be easier to just use the windows installer thing. I only made this to be awkward.\n\n## Step 1: Clone this repository\n\n![image](https://github.com/user-attachments/assets/3f4284b7-fde7-44b5-a2b7-493add16db2a)\n\nYou can clone it this way, or through visual studio or vscode, or just use git. \n\n## Step 2: Make A Project \u0026 Add Project Reference \n\n![image](https://github.com/user-attachments/assets/c73aa001-3d72-4b06-ab2e-abec563c2092)\n\nMake a new console application call it DemoInstaller or something. \n\n![image](https://github.com/user-attachments/assets/26532cdf-24bd-454f-a283-ac3408a2dd8b)\n\nAdd a project reference to the dll called InstallerJazz because that is where all the jazz happens. \n\n## Step 3: Copy This Silly Code\n\n```\nusing InstallerJazz;\nusing InstallerJazz.Models;\n\nnamespace DemoInstaller;\n\npublic class Program {\n    public static void Main(string[] args) {\n        InstallArguments installArguments = new InstallArguments() {\n            WindowName = \"DemoInstaller\", // Console name\n            InstallerVersion = 0, // Doesn't actually do anything, may change\n            AppVersion = 0, // Quite Important To Set This To The Correct Value\n            RunInBackground = false, //Doesn't do anything for the moment\n\n            SourceURL = \"https://github.com/ChobbyCode/MicroMacro/zipball/InstallerFiles\", // The url where it will download the program from\n            VersionInfoURL = \"https://github.com/ChobbyCode/MicroMacro/zipball/VersionInformation\", // Information on the version of the application\n\n            InstallDotNet = true, // Will it also install dotnet with the app?\n            EnableInstallFeature = true, // Pretty Simple\n            EnableUninstallFeature = true,\n            EnableUpdateFeature = true,\n\n            TargetLocation = \"\\\\Program Files\\\\ChobbyCode\\\\\", // Relative Location Where The App Will Be Installed\n            AllowUsersToChooseInstallDrive = true, // If this is enabled it allows the users to choose full install drive. If not target location will have to be change to a full path so \"C:\\ProgramFiles...\"\n        };\n\n        AppPackager appPackager = new AppPackager(args, installArguments);\n    }\n}\n```\n\nHave a read through the code, it's mainly just settings that, but is pretty useful. \n\nWe are not done yet! Change the SourceURL to where your zipball of your app is going to be downloaded from, and VersionInforURL where a zipball of a json file will be downloaded from. we can do this on github for free.\n\n## Step 4: Git Branches Evil Trick\n\n![image](https://github.com/user-attachments/assets/2c2a84be-8c8d-4a37-9fa3-445fb32a9ebb)\n\nAs seen in the screenshot if we create a new branch on github (we can call it whatever we want), and just put the files that the installer will install from there. \nThe url we will put into SourceURL. It will be in the format: https://github.com/[USERNAME]/[REPO]/zipball/[BRANCH]/\n\nWe also want to do the same for version information. However, on this branch we will have the only file be called: version.json. Copy the following to put in that file.:\n\n```\n{\n    \"Version\": 1\n}\n```\n\nSo that AppVersion = 0 in the installArguments will be compared to this value. If this value is higher then it will install the app, but I don't think this actually works so don't use it. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchobbycode%2Finstallerjazz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchobbycode%2Finstallerjazz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchobbycode%2Finstallerjazz/lists"}