Hacker News new | ask | show | jobs
by akotti 20 days ago
Writing a script has always been simpler than making a proper installer, because you need to adhere to various transactional rules, implement a proper rollback mechanism, worry about making your components have correct keys that still work after an upgrade. And e.g. if you need to install a Windows service, most of the standard options (even those provided by Wix) don't cover all cases out of the box. So to some extent using a script means replacing a more complex, but complete solution with an ad-hoc thing that may work in general, but fails a lot of corner cases.
2 comments

Also it takes quite a lot of effort to understand how windows installers work because it’s far from intuitive and you get to learn all those tools that make no sense. This is not something that a person working on project like docker itself for example would want to spend their time on. They’d rather make a script than an MSI.
One quite convenient thing is that Windows Installer packages can be installed via Group Policy, making deployment for new nodes work like a charm. How is a sysadmin supposed do this with scripts?