-
Notifications
You must be signed in to change notification settings - Fork 491
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
Install: Add OLW package to Chocolatey #57
Comments
I've spent days reading the Chocolatey documentation to try and figure out how to create a package for another project, but unfortunately I STILL haven't figured it out. So I won't be able to resolve this one myself sorry. |
@DavidBurela I was actually just looking at what would be required here. I am part of the Chocolatey Development Team, and I would love to see this package added to Chocolatey 👍 What sort of things are you running into? Feel free to ask any questions that you might have, happy to help out. I have just ran the Setup.exe that is generated as part of the build, and I noticed that there are a number of user interaction screens that you have to go through. Can all of those screens been made silent, by passing in the parameters to the setup.exe? That would be the ideal situation, as we prefer Chocolatey Packages to install silently, but also to be configurable? I haven't dug into the code yet, but I simply ran the |
BuildNuget.cmd is for the SDK nuget package. |
The Open Live Writer install uses the excellent Squirell to create our evergreen installer. Try the following in the Chocolatey script to silently install and show the initial setup dialogs on first run:
|
@martinwoodward said... @martinwoodward that sounds perfect! I can give that a try, thanks! |
Make sure you follow along with #27 in case the name of Setup.exe changes... |
@martinwoodward Yip, I was thinking the same thing. Was going to add a note to this issue, once I create the PR for creating the Choco Package. |
It should simply be a change to the new nuspec file if the name of the exe changes. |
@martinwoodward actually, I lied, it will be two places 😄 |
- At the minute, this only takes care of the installation, need to consider what is required for uninstallation.
- At the minute, this only takes care of the installation, need to consider what is required for uninstallation.
Thanks to @gep13 the package is now up on chocolatey https://chocolatey.org/packages/openlivewriter As it isn't approved yet, I was able to install it manually by specifying the version I think we should leave the issue open until the package has been approved by moderation and is able to be installed. |
@DavidBurela the thanks actually needs to go to @DarwinJS, as it was him that really did the hard work :-) I would suggest that this issue should remain open until the associated PR is merged in. That way, we know that going forward, the application will make it into Chocolatey.org with each release. |
Hmm, do we WANT a new chocolatey release each time there is a new version? |
@DavidBurela I would suggest that the most up to date version of the application should be available on Chocolatey. Agreed, not expecting people to use |
It's probably not so important with an end user application like this - but Again - probably not a concern here. It would be nice if chocolatey had specific instrumentation for indicating This is a place where Chocolatey could add value to Nuget - since the D. On Tue, Dec 15, 2015 at 3:05 AM, Gary Ewan Park notifications@github.com
|
The Chocolately package includes the setup exe which just contains the evergreen installer logic. Setup.exe goes to the CDN and downloads a file called RELEASE which indicates the location of the actual binary bits which get installed on your machine. Therefore the Chocolatey package will always install the latest version of the application. That said - even it if installed an old version then when you opened Open Live Writer it checks for updates on start-up and downloads the latest version and silently upgrades on first start up. So, probably doesn't make much sense to have a version in the Chocolately package as it's whatever is the stable version at the time of install. |
Yep - I think what you're saying makes sense! On Tue, Dec 15, 2015 at 3:02 PM, Martin Woodward notifications@github.com
|
Ah, that is interesting. That must be a side effect of the Squirrel installer, which I wasn't aware of. Is there any way to bundle the RELEASE file into the Chocolatey package as well, rather than have it hit the CDN? Does this even make sense? Ideally, the Chocolatey Package version, which is immutable, will actually install the listed version number of the application. This is not a requirement. For example, the Atom Chocolatey Package always installs the latest version of Atom, regardless of the listed version number on Chocolatey.org. This is just a little jarring for users when it happens. |
Closing now that PR #75 is merged. We can raise new issues on the merged in package now. Thanks all! |
Great to see this move through the process! Could someone please remove me as maintainer as I won't want to be Thanks! On Thu, Dec 17, 2015 at 4:35 PM, Martin Woodward notifications@github.com
|
@DarwinJS I have removed you as a maintainer of the package 👍 |
- At the minute, this only takes care of the installation, need to consider what is required for uninstallation.
Adding Open Live Writer to Chocolatey opens up installation scenarios https://Chocolatey.org/
My assumption is that we would just initially install via the Setup.exe. And from there the Squirrel auto updater keeps the version up to date. There shouldn't be any reason to increase the chocolatey package version to manually upgrade.
The text was updated successfully, but these errors were encountered: