{"id":16567039,"url":"https://github.com/sangafabrice/silent-install-kb","last_synced_at":"2026-01-22T07:04:04.860Z","repository":{"id":103652571,"uuid":"403683895","full_name":"sangafabrice/silent-install-kb","owner":"sangafabrice","description":"Central repo for some windows application updaters.","archived":false,"fork":false,"pushed_at":"2022-06-07T10:48:20.000Z","size":83,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T04:29:02.453Z","etag":null,"topics":["7zip","curl","jq","pup","vbscript","windows-shell","xmlstarlet"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","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/sangafabrice.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-09-06T16:05:19.000Z","updated_at":"2024-10-01T16:31:42.000Z","dependencies_parsed_at":"2023-04-27T17:31:12.191Z","dependency_job_id":null,"html_url":"https://github.com/sangafabrice/silent-install-kb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sangafabrice/silent-install-kb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangafabrice%2Fsilent-install-kb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangafabrice%2Fsilent-install-kb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangafabrice%2Fsilent-install-kb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangafabrice%2Fsilent-install-kb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sangafabrice","download_url":"https://codeload.github.com/sangafabrice/silent-install-kb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangafabrice%2Fsilent-install-kb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28657566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["7zip","curl","jq","pup","vbscript","windows-shell","xmlstarlet"],"created_at":"2024-10-11T21:05:25.566Z","updated_at":"2026-01-22T07:04:04.846Z","avatar_url":"https://github.com/sangafabrice.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## **Use cURL, Jq, Pup, XmlStarlet and 7zip**\n### **To update Windows 10 applications from the command line**\n---\n##### Author: Fabrice Sanga\n\u003cbr/\u003e\n\n## **`cURL`**\n\n`cURL` is used to:\n- Get update information (latest version, setup location, checksum) in the form of an HTTP response header or body. \n- To download the requested resource, provided that the setup location is retrieved from the HTTP request.\n\u003cbr/\u003e\n\n## **`Jq`, `Pup`, `XMLStarlet`**\nThe response body is in either JSON, HTML, or XML formats. Then `Jq`, `Pup` and `XMLStarlet` are used to parse the body in the previous data formats taken respectively and retrieve the requested update information as tokens.\n\u003cbr/\u003e\n\n## **`Find` and `FindStr` batch commands**\nThey are equivalent to `grep` in Linux and help parse HTTP response headers that are not in the previously listed formats.\n\u003cbr/\u003e\n\n## **`7zip`**\nIt is used to unzip compressed setups in zip archives files and self-extracting files like chromium setups.\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n## **Usage**\nThe `profile.init.bat` file contains the installation folders of the apps to update and the path to the batchfile autorun script that is run at `cmd` startup. If the app id is not this script, then it is installed in the default folder or the autorun folder in case it is a console app.\n```batfile\n@Echo OFF\nIf %~1==autorun_parent Echo Path\\To\\Autorun\\Profile\\Folder\nIf %~1==app_id Set program_data=Path\\To\\Installation\\Folder\n```\n\u003cbr/\u003e\n\nThe usage :\n```batfile\nUpdate-App [CopyToDirectory]\nCopyToDirectory     The directory where to backup the installer\nApp                 GoogleChrome, AvastSecure, Chocolatey, 7zip, Hugo, GitHubCLI,\n                    Jq, Yq, Pup, XML, WmiExplorer, Rufus, Rainmeter, FirefoxDev, \n                    MJML, VLC, YoutubeDL, etc.\n```\n\u003cbr/\u003e\n\n### **Examples**\nUpdate curl and save the setup to C:\\Backup\\Curl.\n```batchfile\n\u003e Update-Curl.bat C:\\Backup\\Curl\n\u003e curl --version\n  7.83.1_3\n```\n\u003cbr/\u003e\n\nUpdate chrome and save the setup to C:\\Backup\\Chrome.\n\n```batchfile\n\u003e Type assets\\profile.init.bat\n  If %~1==autorun_parent Echo %ProgramData%\\Autorun\n  If %~1==app_id Set program_data=%ProgramData%\\Chrome\n\n\u003e Update-GoogleChrome.bat C:\\Backup\\Chrome\n\n\u003e chrome --version\n  102.0.5005.63\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsangafabrice%2Fsilent-install-kb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsangafabrice%2Fsilent-install-kb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsangafabrice%2Fsilent-install-kb/lists"}