[GH-ISSUE #137] Installer #118

Closed
opened 2026-02-26 08:45:24 +03:00 by kerem · 27 comments
Owner

Originally created by @felixfbecker on GitHub (May 15, 2017).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/137

Would be great to have an MSI for a proper link in start menu and uninstaller. Or put it in the Windows store with Project Centennial?

Originally created by @felixfbecker on GitHub (May 15, 2017). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/137 Would be great to have an MSI for a proper link in start menu and uninstaller. Or put it in the Windows store with Project Centennial?
kerem closed this issue 2026-02-26 08:45:24 +03:00
Author
Owner

@NickeManarin commented on GitHub (May 15, 2017):

I'm currently starting to work with Project Centennial. :)

<!-- gh-comment-id:301602482 --> @NickeManarin commented on GitHub (May 15, 2017): I'm currently starting to work with Project Centennial. :)
Author
Owner

@NickeManarin commented on GitHub (May 18, 2017):

Looks like I'll not be able to use Centennial, I would need to buy a $ 300/year digital certificate. That's a big 'no' unfortunately. :(

<!-- gh-comment-id:302265409 --> @NickeManarin commented on GitHub (May 18, 2017): Looks like I'll not be able to use Centennial, I would need to buy a $ 300/year digital certificate. That's a big 'no' unfortunately. :(
Author
Owner

@SuperDOS commented on GitHub (May 21, 2017):

Since it's so few files you can pretty easy build an installer with insted.

<!-- gh-comment-id:302967995 --> @SuperDOS commented on GitHub (May 21, 2017): Since it's so few files you can pretty easy build an installer with insted.
Author
Owner

@taspeotis commented on GitHub (May 27, 2017):

I would like an installer too, ideally with some facility to automatically update ScreenToGif. Your application is very useful to me, but I use it infrequently, so my workflow is something like:

  • Download ScreenToGif.zip
  • Run it out of the zip
  • (Weeks pass)
  • (Purge Downloads folder)
  • Where did I download ScreenToGif to?
  • Download it again

Some thoughts on installer toolkits, for your consideration:

I do not think these make automatic updates very easy, you could do it with Squirrel after-the-fact (i.e. use MSI to get the files on a user's computer, then Squirrel to keep it up-to-date). Squirrel can be used to do it all, however, installation plus updates.

ClickOnce is a bit old but it also works pretty well for simple apps. It will work with applications that aren't digitally signed (with the security consequences of unsigned applications.)

As much as I'd like to see this installer + updater, I know it's also a bit of a time commitment. I had my own application that was kept automatically up-to-date on macOS with Sparkle.framework, and the rigmarole of building/signing*/deploying was a time drain.

*Signing is free: you self-generated public/private keys, the public key is pinned in the app bundle. Squirrel is similar, I think.

<!-- gh-comment-id:304447233 --> @taspeotis commented on GitHub (May 27, 2017): I would like an installer too, ideally with some facility to automatically update ScreenToGif. Your application is very useful to me, but I use it infrequently, so my workflow is something like: * Download ScreenToGif.zip * Run it out of the zip * (Weeks pass) * (Purge Downloads folder) * Where did I download ScreenToGif to? * Download it again Some thoughts on installer toolkits, for your consideration: * [Wix](https://marketplace.visualstudio.com/items?itemName=RobMensching.WiXToolset) * [Visual Studio Installer Projects](https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2017InstallerProjects) I do not think these make automatic updates very easy, you could do it with [Squirrel](https://github.com/Squirrel/Squirrel.Windows) after-the-fact (i.e. use MSI to get the files on a user's computer, then Squirrel to keep it up-to-date). Squirrel can be used to do it all, however, installation plus updates. ClickOnce is a bit old but it also works pretty well for simple apps. It will work with applications that aren't digitally signed (with the security consequences of unsigned applications.) As much as I'd like to see this installer + updater, I know it's also a bit of a time commitment. I had my own application that was kept automatically up-to-date on macOS with Sparkle.framework, and the rigmarole of building/signing*/deploying was a time drain. *Signing is free: you self-generated public/private keys, the public key is pinned in the app bundle. Squirrel is similar, I think.
Author
Owner

@felixfbecker commented on GitHub (May 28, 2017):

Don't like that Squirrel forces you to install to %LOCALAPPDATA% with no way to customize that (at least that was my experience with Squirrel-based apps like Atom). Visual Studio Code used Squirrel in the past but switched to something else (all I know is it's an MSI) because the experience for Windows users is just not the best (and this project is Windows-only...).

<!-- gh-comment-id:304528122 --> @felixfbecker commented on GitHub (May 28, 2017): Don't like that Squirrel forces you to install to `%LOCALAPPDATA%` with no way to customize that (at least that was my experience with Squirrel-based apps like Atom). Visual Studio Code used Squirrel in the past but switched to something else (all I know is it's an MSI) because the experience for Windows users is just not the best (and this project is Windows-only...).
Author
Owner

@SuperDOS commented on GitHub (May 29, 2017):

NSIS could be an alternative as well https://sourceforge.net/projects/nsis/

<!-- gh-comment-id:304713897 --> @SuperDOS commented on GitHub (May 29, 2017): NSIS could be an alternative as well https://sourceforge.net/projects/nsis/
Author
Owner

@felixfbecker commented on GitHub (May 29, 2017):

I think NSIS doesn't produce MSIs. I would always prefer MSIs because the declarative approach (in opposite to a script-based imperative approach) ensures an installation and uninstallation can be cancelled and rolled back at any stage of the (un)installation.

<!-- gh-comment-id:304714253 --> @felixfbecker commented on GitHub (May 29, 2017): I think NSIS doesn't produce MSIs. I would always prefer MSIs because the declarative approach (in opposite to a script-based imperative approach) ensures an installation and uninstallation can be cancelled and rolled back at any stage of the (un)installation.
Author
Owner

@SuperDOS commented on GitHub (May 29, 2017):

Correct and I'm with you on using MSI. have you looked at WIX? http://wixtoolset.org/

<!-- gh-comment-id:304723804 --> @SuperDOS commented on GitHub (May 29, 2017): Correct and I'm with you on using MSI. have you looked at WIX? http://wixtoolset.org/
Author
Owner

@NickeManarin commented on GitHub (May 30, 2017):

I'm familiar with InnoSetup, Wix (via WixSharp) and the Visual Studio Installer Projects.
It looks like the later is the easiest.

<!-- gh-comment-id:304929893 --> @NickeManarin commented on GitHub (May 30, 2017): I'm familiar with InnoSetup, Wix (via WixSharp) and the Visual Studio Installer Projects. It looks like the later is the easiest.
Author
Owner

@NickeManarin commented on GitHub (Jul 1, 2017):

@SuperDOS So, I'm currently creating the installer with Wix#. It will produce a MSI file as requested.

<!-- gh-comment-id:312439282 --> @NickeManarin commented on GitHub (Jul 1, 2017): @SuperDOS So, I'm currently creating the installer with Wix#. It will produce a MSI file as requested.
Author
Owner

@NickeManarin commented on GitHub (Jul 1, 2017):

Here's what I got, not the final version: ScreenToGif 2.8.1 Setup.zip

<!-- gh-comment-id:312439570 --> @NickeManarin commented on GitHub (Jul 1, 2017): Here's what I got, not the final version: [ScreenToGif 2.8.1 Setup.zip](https://github.com/NickeManarin/ScreenToGif/files/1117217/ScreenToGif.2.8.1.Setup.zip)
Author
Owner

@felixfbecker commented on GitHub (Jul 1, 2017):

Tried it, works great (besides a a security warning)!

<!-- gh-comment-id:312452409 --> @felixfbecker commented on GitHub (Jul 1, 2017): Tried it, works great (besides a a security warning)!
Author
Owner

@NickeManarin commented on GitHub (Jul 1, 2017):

@felixfbecker Nice, but what kind of security warning? Maybe because it's not signed?

<!-- gh-comment-id:312453782 --> @NickeManarin commented on GitHub (Jul 1, 2017): @felixfbecker Nice, but what kind of security warning? Maybe because it's not signed?
Author
Owner

@felixfbecker commented on GitHub (Jul 1, 2017):

image

<!-- gh-comment-id:312454240 --> @felixfbecker commented on GitHub (Jul 1, 2017): ![image](https://user-images.githubusercontent.com/10532611/27765270-740abf18-5ead-11e7-83df-f5fe6858afe8.png)
Author
Owner

@NickeManarin commented on GitHub (Jul 1, 2017):

Oh, this dialog appears because it's a file that Windows does not trust yet. The only way to make it disappear is to have a certificate.

<!-- gh-comment-id:312454301 --> @NickeManarin commented on GitHub (Jul 1, 2017): Oh, this dialog appears because it's a file that Windows does not trust yet. The only way to make it disappear is to have a certificate.
Author
Owner

@SuperDOS commented on GitHub (Jul 1, 2017):

You need to right click and choose properties and then unblock it.

<!-- gh-comment-id:312458149 --> @SuperDOS commented on GitHub (Jul 1, 2017): You need to right click and choose properties and then unblock it.
Author
Owner

@bramborman commented on GitHub (Jul 23, 2017):

@NickeManarin Where did you read about the $300/year certificate? Here they say that Centennial could generate the certificate for you. And above it, there's an paragraph about packaging apps without an installer. But no words about $300/year certificate.

<!-- gh-comment-id:317279793 --> @bramborman commented on GitHub (Jul 23, 2017): @NickeManarin Where did you read about the $300/year certificate? [Here][docs] they say that Centennial could generate the certificate for you. And above it, there's an paragraph about packaging apps without an installer. But no words about $300/year certificate. [docs]: https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter#package-an-app-sign-the-app-and-run-validation-checks-on-the-package
Author
Owner

@NickeManarin commented on GitHub (Jul 23, 2017):

@bramborman
From https://www.thawte.com/code-signing/

But I managed to buy one from KSoftware for way less money. I just pass the validation process to get the certificate.

<!-- gh-comment-id:317279976 --> @NickeManarin commented on GitHub (Jul 23, 2017): @bramborman From https://www.thawte.com/code-signing/ But I managed to buy one from KSoftware for way less money. I just pass the validation process to get the certificate.
Author
Owner

@NickeManarin commented on GitHub (Jul 23, 2017):

@bramborman
About the generated certificate, it only works if you install, it's not a valid global certificate. Only works if the CA is installed on the machine. It's a fake certificate.

<!-- gh-comment-id:317280096 --> @NickeManarin commented on GitHub (Jul 23, 2017): @bramborman About the generated certificate, it only works if you install, it's not a valid global certificate. Only works if the CA is installed on the machine. It's a fake certificate.
Author
Owner

@bramborman commented on GitHub (Jul 23, 2017):

@NickeManarin Windows Store doesn't create one for you? For UWP apps it's all done automatically and for free.

<!-- gh-comment-id:317280165 --> @bramborman commented on GitHub (Jul 23, 2017): @NickeManarin Windows Store doesn't create one for you? For UWP apps it's all done automatically and for free.
Author
Owner

@NickeManarin commented on GitHub (Aug 8, 2017):

@bramborman Apparently not with Project Centennial.

<!-- gh-comment-id:321110711 --> @NickeManarin commented on GitHub (Aug 8, 2017): @bramborman Apparently not with Project Centennial.
Author
Owner

@bramborman commented on GitHub (Oct 10, 2017):

@NickeManarin just downloaded Visual Studio 15.4 that adds a new project type - Windows Application Packaging Project - which simplifies creating Centennial apps. Just tested it and it generated a temporary certificate and I was also able to get the Store certificate that's generated by Microsoft and is used to publish the app to Windows Store.

Could you please look at it? I think I'm not the only one who'd prefer downloading ScreenToGif from the Windows Store.

<!-- gh-comment-id:335476870 --> @bramborman commented on GitHub (Oct 10, 2017): @NickeManarin just downloaded Visual Studio 15.4 that adds a new project type - [Windows Application Packaging Project][1] - which simplifies creating Centennial apps. Just tested it and it generated a temporary certificate and I was also able to get the Store certificate that's generated by Microsoft and is used to publish the app to Windows Store. Could you please look at it? I think I'm not the only one who'd prefer downloading ScreenToGif from the Windows Store. [1]: https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes#WAPPtemplate
Author
Owner

@NickeManarin commented on GitHub (Oct 11, 2017):

@bramborman I'm downloading... :)
Btw, I got a code signing certificate.

<!-- gh-comment-id:335644422 --> @NickeManarin commented on GitHub (Oct 11, 2017): @bramborman I'm downloading... :) Btw, I got a code signing certificate.
Author
Owner

@vatterspun commented on GitHub (Oct 11, 2017):

I think I'm not the only one who'd prefer downloading ScreenToGif from the Windows Store.

I definitely don't prefer Windows Store and can name various problems with the App Store model in general, but I acknowledge some devices are locked down to only allow Apps from the Windows Store.

Thanks for looking into that.

<!-- gh-comment-id:335672994 --> @vatterspun commented on GitHub (Oct 11, 2017): > I think I'm not the only one who'd prefer downloading ScreenToGif from the Windows Store. I definitely don't prefer Windows Store and can name various problems with the App Store model in general, but I acknowledge some devices are locked down to only allow Apps from the Windows Store. Thanks for looking into that.
Author
Owner

@NickeManarin commented on GitHub (Oct 11, 2017):

@vatterspun I'm still going to distribute the app via the current available options (no install, installer, Chocolatey).
;)

<!-- gh-comment-id:335977813 --> @NickeManarin commented on GitHub (Oct 11, 2017): @vatterspun I'm still going to distribute the app via the current available options (no install, installer, Chocolatey). ;)
Author
Owner

@bramborman commented on GitHub (Oct 12, 2017):

@NickeManarin I know you have the certificate, but the app still isn't on Windows Store, so not sure if you're planning to add it later or what :)

<!-- gh-comment-id:336165256 --> @bramborman commented on GitHub (Oct 12, 2017): @NickeManarin I know you have the certificate, but the app still isn't on Windows Store, so not sure if you're planning to add it later or what :)
Author
Owner

@vatterspun commented on GitHub (Oct 12, 2017):

I'm still going to distribute the app via the current available options (no install, installer, Chocolatey).

Thanks for that.

<!-- gh-comment-id:336266320 --> @vatterspun commented on GitHub (Oct 12, 2017): > I'm still going to distribute the app via the current available options (no install, installer, Chocolatey). Thanks for that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#118
No description provided.