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
Improve NSIS installer script #174
Improve NSIS installer script #174
Conversation
bastimeyer
commented
Nov 17, 2016
- Remove unnecessary start menu shortcut creation
- Don't automatically close the copy/remove file section
- Add checkbox for opening the documentation in the web browser
- Add checkbox for editing the config file
- Remove unnecessary start menu shortcut creation - Don't automatically close the copy/remove file section - Add checkbox for opening the documentation in the web browser - Add checkbox for editing the config file
Publisher data for the uninstaller info in the Windows control center is still missing, as I mentioned here: #116 (comment) The installer file does have the default nsis icon right now. This should be changed once we have an icon for streamlink. |
This looks good to me! Any other input @sbstp, @beardypig? |
Looks good, but I haven't had chance to test it out yet. |
Current coverage is 33.88% (diff: 100%)@@ master #174 diff @@
==========================================
Files 42 42
Lines 5418 5418
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 1836 1836
Misses 3582 3582
Partials 0 0
|
I just tested it, works well (Windows 10). The copy/remove window automatically closing really bothered me, thanks for fixing this. Nothing blocking a merge from my side. |
I'm going to merge this in. I think with this and #178 we're ready for the 0.0.3 release. |
Yep I agree. We should setup a milestone for 0.0.4 |
@sbstp You mean for 0.0.3? Or you want to create a new milestone for 0.0.4? |
I also tested it out just now :) Worked fine for me too (Windows 10 VM). |
Yep, the |
I think removing the shortcut is suitable, I wonder if it could be removed at install time. |
Shortcuts are not being created anymore by the installer, so why do you want to remove shortcuts at install time? |
When upgrading, at least it should remove the shortcut from an old install. Otherwise you might have an orphan shortcut. |
Is it really the job of a newer installer to remove obsolete stuff from previous releases? I'd say that this is what the uninstaller of older releases is for. Removing stuff during the installation is a bit unexpected IMO. The startmenu shortcut could also be user-created and could have custom parameters, so that it is actually useful. Upgrading would then always delete it. |
@bastimeyer I think the issue is that many users won't remove the old version before installing the new version. What does it look like if I do an installation of 0.0.3, then simply install 0.0.4? Will the old release and the associated content be removed? After a bunch of releases it would be a bummer if old stuff wasn't removed (similar to the trash that Nvidia does with their installer). |