How to Host ClickOnce Installer on GitHub

This is a guide on how to deploy a ClickOnce installer on GitHub Pages, it's an updated version based on the previous work done by RefactorsaurusRex.

Here are the steps needed
  1. Create a GitHub Pages
  2. In the GitHub Pages create an "Installer" folder.
  3. Create a .gitattributes file in the "Installer" folder. Add the following codes to the file
    • *.manifest binary
    • *.application binary
    • *.deploy binary
    • *  -text
  4. Get the URL of the "Installer" folder on your GitHub pages, it will be used later as the "Installation Folder URL". It should look something like{your-account-name}/{your-repo-name}/gh-pages/Installer/
  5. Switch to Visual Studio > Build. Follow this video guide to publish your ClickOnce application. Use the "Installation Folder URL" you get in step 3 as the Update Location & Installation Folder URL. Refer to the screenshots below.
  6. Copy and paste the published application to your GitHub Pages - "Installer" folder
  7. Commit and push the changes to GitHub.
  8. Done


Popular posts from this blog

Breakthrough. Dare to Try. Risk Assessment

Not The Type of Cousins I Admire