-
Notifications
You must be signed in to change notification settings - Fork 9
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
Offer as chocolatey package #195
Comments
Hello @koppor, yeah we were looking into this a while ago. I'm not super involved in chocolatey yet. So it became silent around this. |
I could create the choco packages. However, for this to work I'd need to know the silent switch of the installer.
And neither of |
Oh. I don't think there is a silent switch yet 🤔 |
So for the installer I'm using a couple of things:
The current 7zip sfx shows a little extraction progressbar no matter if One probably needs silent UNINSTALL right away huh? |
The preferred method would be that it can be made totally silent, installing as well as uninstalling a2. But there are packages in the chocolatey public repo that show some progress window and are only unattended. It's just really annoying if you're in the middle of doing something else.
These packages will each provide 2 streams: stable and pre-release. |
My virus scanner (avast) straight up blocked the download of portable version (because of a2app.exe). :( |
Yeah for the progress bar to disappear we need to swap in another What about things like user data on uninstall. What do the usual choco packages do? When there cannot be popups? Always keep user data I suppose? |
Ah yeah shit. the antiviruses ... I checked our installer against virustotal a while ago. see #176 |
I guess the user data would need to be kept, since updating a choco package internally uninstalls the old version and installs the new one. You wouldn't want to lose all your data with each update.
You mean an extra installer for choco? Sure. I just can pick it out from the releases if it's consistently labeled, e.g. a2_silent_installer_0.0.10_alpha.exe. |
I did before with something else a long time ago. It took some weeks to hear back, if I remember correctly. I just reported the file as a false positive to avast and tried to make a case for it. |
Is there a default location for choco packages? I mean I was always using user space of course. Currently we have:
I hope we can keep it that way? |
Usually with installable software, chocolatey uses the default install location given by the installer. Some installers take arguments for changing the installation location and these can be piped through to the installer with the If the a2 installer takes such an argument, it'll be good to know. For the portable version, I believe it's put into a location given by the ChocolateyToolsLocation environment variable. I think its default is C:\tools. Or it extracts the archive to where the choco package was saved, not exactly sure. I'll just have to create the package and see what it does. |
What's the current status? I searched at chocolately first for installation, but can't find anything. Now I foound this issue. And it seems to me that there were a lot of work done. So it would be sad, if this work will be lost. |
To my knowledge work is currently being done to provide a silent installer of a2 for the choco package. Once this is settled, I'll build, test and push those packages to the chocolatey community repository. |
The installer building has been overhauled quite a lot.
I just didn't do a new release yet. Will do so at lunch :) |
I'm in the process of testing the choco packages for a2, but I'm running into a bit of trouble. Some of it may have to do with #176.
_ startup_error.log:
|
The zip should goto whereever you please. :) Of course it wound need to be able to write at its own place as well. The silent installer executable is the one I intended for choco installation! This is also a user-space area where things don't need Admin rights! |
Around the time I posted here last, I started to work on the a2 choco packages, but I lost track of it and I don't know if I will pick it up again any time soon. So I decided to push what I had so far to a branch in my choco packages repo. Don't remember the exact state of the packages. There's some design decision to be made for uninstallation. When upgrading through choco it basically uninstalls the software and re-installs the new version. But you don't want to lose your scripts in the appdata. But when someone really wants to uninstall, they shall be gone. The same goes for the portable version. Choco keeps track of files that were extracted during unpacking. So any scripts installed would be left there by the regular removal process. But I believe it's cleaner to give the user the option to completely remove the software. I hope someone will test it and continue to work on it. |
As user, I would like to run following command to have a2 installed
It would be nice if this was possible. Details on chocolatey packaging can be found at https://chocolatey.org/docs/create-packages. To ensure longer support of chocolatey package, I would suggest that someone closely related to a2 creates a package. Otherweise, it could become unmaintained.
The text was updated successfully, but these errors were encountered: