-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an installer #6
Comments
It raises several questions :
I've just discovered this extension and will take a look on it : https://marketplace.visualstudio.com/items?itemName=caphyon.AdvancedInstallerforVisualStudio2019 |
Advanced Installer is definitively not an option: it is a commercial product, the free version is too limited for my needs. For instance the free version do not permit to automatically launch the application after installation. |
In order to store binaries or setup, Github recommand using Releases : https://help.github.com/en/github/managing-large-files/distributing-large-binaries There also are several other solutions: |
I will stick using ClickOnce because it is the most convenient way to create a setup and easily allow auto-update of the application. I'll have to buy an Authenticode digital certificate one day in order to get rid of the UAC message. I just published a v1.0.0 release with setup files attached in a zip. I also created a GitHub page to hold the update location used by ClickOnce. It should allow auto-update. I encountered an interesting problem while testing : the setup once uploaded to git did not work anymore. It was because the ClickOnce manifest is hashed with CRLF line endings and git replace CRLF with LF during commit. The hash did not match the file anymore and the setup was considered corrupted. I have solved the problem with this command :
It disables the automatic CRLF correction for the project. The error in the installation logs was
|
I put the GitHub page holding setup files in the gh-pages branch. This issue can be considered closed now. |
Create an installer in order to permit end-user to easily install and update the application.
The text was updated successfully, but these errors were encountered: