{"id":15597475,"url":"https://github.com/flagbug/clickoncetosquirrelmigrator","last_synced_at":"2025-03-19T09:31:27.528Z","repository":{"id":143173544,"uuid":"27776889","full_name":"flagbug/ClickOnceToSquirrelMigrator","owner":"flagbug","description":"A helper library for the migration from ClickOnce to Squirrel.Windows","archived":false,"fork":false,"pushed_at":"2015-06-17T16:20:50.000Z","size":2260,"stargazers_count":30,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-28T19:05:58.526Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flagbug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-09T16:56:39.000Z","updated_at":"2024-01-01T16:05:09.000Z","dependencies_parsed_at":"2023-06-03T03:30:19.658Z","dependency_job_id":null,"html_url":"https://github.com/flagbug/ClickOnceToSquirrelMigrator","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flagbug%2FClickOnceToSquirrelMigrator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flagbug%2FClickOnceToSquirrelMigrator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flagbug%2FClickOnceToSquirrelMigrator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flagbug%2FClickOnceToSquirrelMigrator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flagbug","download_url":"https://codeload.github.com/flagbug/ClickOnceToSquirrelMigrator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243996738,"owners_count":20380978,"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":"2024-10-03T01:21:59.951Z","updated_at":"2025-03-19T09:31:26.838Z","avatar_url":"https://github.com/flagbug.png","language":"C#","readme":"# Overview\n\nThis library is a helper for the migration from ClickOnce to [Squirrel.Windows](https://github.com/Squirrel/Squirrel.Windows)\n\nThe ClickOnce uninstall code is taken from [Wunder.ClickOnceUninstaller](https://github.com/6wunderkinder/Wunder.ClickOnceUninstaller)\n\n# How to\n\nThe migration is super-simple, requiring only one method call in the ClickOnce version of the application and one method call in the Squirrel version of the application.\n\nCreate a new ClickOnce version of your application that you ship with the following code:\n\n```cs\nusing (var updateManager = new UpdateManager(\"http://update.myapp.com\"))\n{\n    var migrator = new InClickOnceAppMigrator(updateManager, \"ClickOnceAppName\");\n    await migrator.Execute();\n}\n```\n\nThis installs the Squirrel version of your application and removes the ClickOnce shortcuts.\n\n**Important note:** Make sure you include a copy of Squirrel.exe in your .nupkg file. If you don't do this, you won't have an Update.exe in you app folder, and you're gonna have a bad time.\n\nIn the new Squirrel version of your application, call the following code:\n\n```cs\nvar migrator = new InSquirrelAppMigrator(\"ClickOnceAppName\");\nawait migrator.Execute();\n```\n\nThis uninstalls the rest of the ClickOnce application and leaves only the Squirrel version. Done!","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflagbug%2Fclickoncetosquirrelmigrator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflagbug%2Fclickoncetosquirrelmigrator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflagbug%2Fclickoncetosquirrelmigrator/lists"}