Skip to content
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

Merged

Conversation

bastimeyer
Copy link
Member

  • 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
@bastimeyer
Copy link
Member Author

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.

@gravyboat
Copy link
Member

This looks good to me! Any other input @sbstp, @beardypig?

@beardypig
Copy link
Member

Looks good, but I haven't had chance to test it out yet.

@codecov-io
Copy link

codecov-io commented Nov 17, 2016

Current coverage is 33.88% (diff: 100%)

Merging #174 into master will not change coverage

@@             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          

Powered by Codecov. Last update 1c85f0c...ceca3fd

@sbstp
Copy link
Contributor

sbstp commented Nov 19, 2016

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.

@gravyboat
Copy link
Member

I'm going to merge this in. I think with this and #178 we're ready for the 0.0.3 release.

@gravyboat gravyboat merged commit d0525ec into streamlink:master Nov 19, 2016
@sbstp
Copy link
Contributor

sbstp commented Nov 19, 2016

Yep I agree. We should setup a milestone for 0.0.4

@gravyboat
Copy link
Member

@sbstp You mean for 0.0.3? Or you want to create a new milestone for 0.0.4?

@beardypig
Copy link
Member

I also tested it out just now :) Worked fine for me too (Windows 10 VM).
Uninstalling also removed the shortcut that was created by the current installer :)

@bastimeyer
Copy link
Member Author

Uninstalling also removed the shortcut that was created by the current installer :)

Yep, the uninstall_shortcuts block also needs to be replaced with an empty one.
Is this negligible or do you want another PR?

@beardypig
Copy link
Member

I think removing the shortcut is suitable, I wonder if it could be removed at install time.

@bastimeyer
Copy link
Member Author

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?

@beardypig
Copy link
Member

When upgrading, at least it should remove the shortcut from an old install. Otherwise you might have an orphan shortcut.

@bastimeyer
Copy link
Member Author

bastimeyer commented Nov 19, 2016

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.

@gravyboat
Copy link
Member

@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).

@bastimeyer bastimeyer deleted the windows-installer-improvements branch January 19, 2021 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants