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

Windows installation package - unneeded dependencies #26

Closed
gvarisco opened this issue Sep 29, 2017 · 4 comments
Closed

Windows installation package - unneeded dependencies #26

gvarisco opened this issue Sep 29, 2017 · 4 comments

Comments

@gvarisco
Copy link
Contributor

gvarisco commented Sep 29, 2017

https://github.com/italia/cie-middleware/tree/master/Setup currently relies on Javascript and ActiveX objects for performing all the available installer options (install, uninstall).

We should be probably looking at removing those unneeded dependencies by evaluating/adopting different frameworks:

  • Best in my opinion would be to use Nullsoft Scriptable Install System (NSIS), a script-driven installer authoring tool for Microsoft Windows. Starting with v2.x, it supports LZMA compression, multiple languages, and an easy-to-use plugin system.
  • WIX
  • a combination of WIX and NSIS for wrapping MSI executables
  • InstallShield
@gvarisco
Copy link
Contributor Author

Additional projects mentioned on social networks:

@madduci
Copy link

madduci commented Sep 30, 2017

I would suggest WIX for building MSI installers which support upgrades based on a fixed GUID.
In addition, a whole project optimization based on CMake/Conan.io would improve the management of dependencies and the project build automatization including the above quoted installer generation (CMake can generate WIX installers). In addition, a signed installer would be also a good idea (same thing here: it can be automatized using CMake or conan)

Proposal: join the Hacktoberfest to add some tickets/issues related to the above things.

@fottavi
Copy link
Collaborator

fottavi commented Jan 18, 2018

In the last PR #49 NSIS was used as setup engine.
It's simple and powerful, so it seemed the best option to me.
The installer compiled with NSIS will be available shortly

@hackbunny
Copy link
Collaborator

MSI packages are pretty much a requirement for deployment in enterprise environments. If we don't want to depend on Visual Studio's installer project add-on, a free and open source alternative to build a MSI installer is WiX. WiX comes with its own Visual Studio add-on, and is now in fact recommended by Microsoft themselves to write Windows installers

Downside is that WiX isn't easy to use, and MSI itself has a pretty steep learning curve. But WiX is certainly the more "future-proof" choice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants